Skip to content

Commit

Permalink
lotsa stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Waseemq1235 committed Mar 14, 2024
1 parent a0cf184 commit c5085c8
Show file tree
Hide file tree
Showing 29 changed files with 186 additions and 64 deletions.
3 changes: 3 additions & 0 deletions code/datums/ammo/bullet/special_ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@
/datum/ammo/bullet/machinegun/auto/set_bullet_traits()
return

/datum/ammo/bullet/machinegun/auto/medium // for T37, UPP MMG
name = "medium machinegun bullet"

/datum/ammo/bullet/minigun
name = "minigun bullet"
headshot_state = HEADSHOT_OVERLAY_MEDIUM
Expand Down
4 changes: 0 additions & 4 deletions code/datums/factions/upp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,9 @@
list("Type 71 Magazine (5.45x39mm)", 5, /obj/item/ammo_magazine/rifle/type71, null, VENDOR_ITEM_REGULAR),

list("SIDEARMS", 0, null, null, null),
list("Type 73 Pistol", 25, /obj/item/weapon/gun/pistol/t73, null, VENDOR_ITEM_REGULAR),
list("NP92 Pistol", 15, /obj/item/weapon/gun/pistol/np92, null, VENDOR_ITEM_REGULAR),
list("ZHNK-72 Revolver", 15, /obj/item/weapon/gun/revolver/upp, null, VENDOR_ITEM_REGULAR),

list("SIDEARM AMMUNITION", 0, null, null, null),
list("Type 73 Magazine (7.62x25mm Tokarev)", 5, /obj/item/ammo_magazine/pistol/t73, null, VENDOR_ITEM_REGULAR),
list("ZHNK-72 Speed Loader (7.62x38mmR)", 5, /obj/item/ammo_magazine/revolver/upp, null, VENDOR_ITEM_REGULAR),
list("NP92 Magazine (9x18mm Makarov)", 40, /obj/item/ammo_magazine/pistol/np92, null, VENDOR_ITEM_REGULAR),

list("ATTACHMENTS", 0, null, null, null),
Expand Down
5 changes: 3 additions & 2 deletions code/game/machinery/vending/cm_vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,9 @@ GLOBAL_LIST_EMPTY(vending_products)
var/specialist_assignment
switch(p_name)
if("Scout Set")
user.skills.set_skill(SKILL_SPEC_WEAPONS, SKILL_SPEC_SCOUT)
specialist_assignment = "Scout"
to_chat(user, SPAN_WARNING("Nuh uh. No scout on HvH."))
vend_fail()
return FALSE
if("Sniper Set")
user.skills.set_skill(SKILL_SPEC_WEAPONS, SKILL_SPEC_SNIPER)
specialist_assignment = "Sniper"
Expand Down
1 change: 1 addition & 0 deletions code/game/machinery/vending/vendor_types/requisitions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
list("M15 Fragmentation Grenade", round(scale * 2), /obj/item/explosive/grenade/high_explosive/m15, VENDOR_ITEM_REGULAR),
list("M20 Claymore Anti-Personnel Mine", round(scale * 4), /obj/item/explosive/mine, VENDOR_ITEM_REGULAR),
list("M40 HEDP Grenade", round(scale * 25), /obj/item/explosive/grenade/high_explosive, VENDOR_ITEM_REGULAR),
list("M40 HEFA Grenade", round(scale * 10), /obj/item/explosive/grenade/high_explosive/frag, VENDOR_ITEM_REGULAR),
list("M40 HIDP Incendiary Grenade", round(scale * 4), /obj/item/explosive/grenade/incendiary, VENDOR_ITEM_REGULAR),
list("M40 HPDP White Phosphorus Smoke Grenade", round(scale * 4), /obj/item/explosive/grenade/phosphorus, VENDOR_ITEM_REGULAR),
list("M40 HSDP Smoke Grenade", round(scale * 5), /obj/item/explosive/grenade/smokebomb, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ GLOBAL_LIST_INIT(cm_vending_gear_engi, list(

list("EXPLOSIVES", 0, null, null, null),
list("M40 HEDP High Explosive Packet (x3 grenades)", 18, /obj/item/storage/box/packet/high_explosive, null, VENDOR_ITEM_REGULAR),
list("M40 HEFA Frag Packet (x3 grenades)", 18, /obj/item/storage/box/packet/hefa, null, VENDOR_ITEM_REGULAR),
list("M40 HIDP Incendiary Packet (x3 grenades)", 18, /obj/item/storage/box/packet/incendiary, null, VENDOR_ITEM_REGULAR),
list("M40 HPDP White Phosphorus Packet (x3 grenades)", 18, /obj/item/storage/box/packet/phosphorus, null, VENDOR_ITEM_REGULAR),
list("M40 HSDP Smoke Packet (x3 grenades)", 9, /obj/item/storage/box/packet/smoke, null, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ GLOBAL_LIST_INIT(cm_vending_gear_leader, list(

list("EXPLOSIVES", 0, null, null, null),
list("M40 HEDP High Explosive Packet (x3 grenades)", 18, /obj/item/storage/box/packet/high_explosive, null, VENDOR_ITEM_REGULAR),
list("M40 HEFA Frag Packet (x3 grenades)", 18, /obj/item/storage/box/packet/hefa, null, VENDOR_ITEM_REGULAR),
list("M40 HIDP Incendiary Packet (x3 grenades)", 18, /obj/item/storage/box/packet/incendiary, null, VENDOR_ITEM_REGULAR),
list("M40 HPDP White Phosphorus Packet (x3 grenades)", 18, /obj/item/storage/box/packet/phosphorus, null, VENDOR_ITEM_REGULAR),
list("M40 HSDP Smoke Packet (x3 grenades)", 9, /obj/item/storage/box/packet/smoke, null, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ GLOBAL_LIST_INIT(cm_vending_gear_medic, list(

list("EXPLOSIVES", 0, null, null, null),
list("M40 HEDP High Explosive Packet (x3 grenades)", 18, /obj/item/storage/box/packet/high_explosive, null, VENDOR_ITEM_REGULAR),
list("M40 HEFA Frag Packet (x3 grenades)", 18, /obj/item/storage/box/packet/hefa, null, VENDOR_ITEM_REGULAR),
list("M40 HIDP Incendiary Packet (x3 grenades)", 18, /obj/item/storage/box/packet/incendiary, null, VENDOR_ITEM_REGULAR),
list("M40 HPDP White Phosphorus Packet (x3 grenades)", 18, /obj/item/storage/box/packet/phosphorus, null, VENDOR_ITEM_REGULAR),
list("M40 HSDP Smoke Packet (x3 grenades)", 9, /obj/item/storage/box/packet/smoke, null, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ GLOBAL_LIST_INIT(cm_vending_clothing_marine, list(

list("EXPLOSIVES", 0, null, null, null),
list("M40 HEDP High Explosive Packet (x3 grenades)", 20, /obj/item/storage/box/packet/high_explosive, null, VENDOR_ITEM_REGULAR),
list("M40 HEFA Frag Packet (x3 grenades)", 20, /obj/item/storage/box/packet/hefa, null, VENDOR_ITEM_REGULAR),
list("M40 HIDP Incendiary Packet (x3 grenades)", 20, /obj/item/storage/box/packet/incendiary, null, VENDOR_ITEM_REGULAR),
list("M40 HPDP White Phosphorus Packet (x3 grenades)", 20, /obj/item/storage/box/packet/phosphorus, null, VENDOR_ITEM_REGULAR),
list("M40 HSDP Smoke Packet (x3 grenades)", 10, /obj/item/storage/box/packet/smoke, null, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GLOBAL_LIST_INIT(cm_vending_gear_smartgun, list(

list("EXPLOSIVES", 0, null, null, null),
list("M40 HEDP High Explosive Packet (x3 grenades)", 30, /obj/item/storage/box/packet/high_explosive, null, VENDOR_ITEM_REGULAR),
list("M40 HEFA Frag Packet (x3 grenades)", 30, /obj/item/storage/box/packet/frag, null, VENDOR_ITEM_REGULAR),
list("M40 HIDP Incendiary Packet (x3 grenades)", 30, /obj/item/storage/box/packet/incendiary, null, VENDOR_ITEM_REGULAR),
list("M40 HPDP White Phosphorus Packet (x3 grenades)", 30, /obj/item/storage/box/packet/phosphorus, null, VENDOR_ITEM_REGULAR),
list("M40 HSDP Smoke Packet (x3 grenades)", 15, /obj/item/storage/box/packet/smoke, null, VENDOR_ITEM_REGULAR),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
GLOBAL_LIST_INIT(cm_vending_gear_tl, list(
list("EXPLOSIVES", 0, null, null, null),
list("M40 HEDP High Explosive Packet (x3 grenades)", 18, /obj/item/storage/box/packet/high_explosive, null, VENDOR_ITEM_REGULAR),
list("M40 HEFA Frag Packet (x3 grenades)", 18, /obj/item/storage/box/packet/hefa, null, VENDOR_ITEM_REGULAR),
list("M40 HIDP Incendiary Packet (x3 grenades)", 18, /obj/item/storage/box/packet/incendiary, null, VENDOR_ITEM_REGULAR),
list("M40 HPDP White Phosphorus Packet (x3 grenades)", 18, /obj/item/storage/box/packet/phosphorus, null, VENDOR_ITEM_REGULAR),
list("M40 HSDP Smoke Packet (x3 grenades)", 9, /obj/item/storage/box/packet/smoke, null, VENDOR_ITEM_REGULAR),
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/explosives/grenades/marines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@

/obj/item/explosive/grenade/smokebomb/prime()
playsound(src.loc, 'sound/effects/smoke.ogg', 25, 1, 4)
smoke.set_up(smoke_radius, 0, get_turf(src), null, 6)
smoke.set_up(smoke_radius, 0, get_turf(src), null, 30)
smoke.start()
qdel(src)

Expand Down Expand Up @@ -449,7 +449,7 @@

/obj/item/explosive/grenade/phosphorus/prime()
playsound(src.loc, 'sound/effects/smoke.ogg', 25, 1, 4)
smoke.set_up(smoke_radius, 0, get_turf(src))
smoke.set_up(smoke_radius, 0, get_turf(src), null, 18)
smoke.start()
qdel(src)

Expand Down
5 changes: 5 additions & 0 deletions code/game/objects/structures/desertdam.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@
name = "road"
icon_state = "stop_decal1"
layer = TURF_LAYER

/obj/structure/desertdam/decals/road_stop_ru
name = "road"
icon_state = "stop_decal1_ru"
layer = TURF_LAYER
5 changes: 5 additions & 0 deletions code/game/objects/structures/landing_signs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@
name = "Chigusa Shipyard Sign"
desc = "A large sign that reads 'Chigusa Shipyard - Subsidary of Weyland-Yutani Corporation'. Acid burns checker the sign like buckshot."
icon_state = "laz_sign" //TODO make unique icon.

/obj/structure/lz_sign/rodansk_sign
name = "Rosansk Sign"
desc = "A large sign that reads 'Rosansk'. It's crumbling."
icon_state = "rosansk_sign"
15 changes: 15 additions & 0 deletions code/game/objects/structures/props.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@
desc = "An old cargo truck, seems to be broken down."
icon_state = "truck_cargo"

/obj/structure/prop/dam/truck/upp
name = "UPP truck"
desc = "An old truck used by the UPP. You don't have the keys for it."
icon_state = "truck_upp"

/obj/structure/prop/dam/truck/upp/mining
name = "UPP mining truck"
desc = "AN old truck used by the UPP. This one is carrying various mining equipment for fluid extraction. You don't have the keys for it."
icon_state = "truck_upp_mining"

/obj/structure/prop/dam/van
name = "van"
desc = "An old van, seems to be broken down."
Expand All @@ -80,6 +90,11 @@
/obj/structure/prop/dam/van/damaged
icon_state = "van_damaged"

/obj/structure/prop/dam/van/ambulance
name = "Ambulance truck"
desc = "An ambulance, probably used by some hospital nearby. You don't have the keys for it."
icon_state = "van_ambulance"

/obj/structure/prop/dam/crane
name = "cargo crane"
icon = 'icons/obj/structures/props/vehicles.dmi'
Expand Down
12 changes: 12 additions & 0 deletions code/game/objects/structures/signs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@
desc = "This banner depicts Delta Squad's motto. The Marines of Delta Squad adopted it after picking an old bomber movie for movie night a while back."
icon_state = "maximumeffort"

//============//
// Flags //
//==========//

/obj/structure/sign/flag
icon = 'icons/obj/structures/props/flags.dmi'

/obj/structure/sign/flag/upp
name = "\improper Union of Progressive Peoples Flag"
desc = "Unity through Strength, Freedom through Unity"
icon_state = "upp_flag"

//=====================//
// SEMIOTIC STANDARD //
//===================//
Expand Down
18 changes: 9 additions & 9 deletions code/modules/clothing/suits/marine_armor/_marine_armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
max_heat_protection_temperature = HELMET_MAX_HEAT_PROT
blood_overlay_type = "armor"
armor_melee = CLOTHING_ARMOR_MEDIUM
armor_bullet = CLOTHING_ARMOR_MEDIUM
armor_bullet = CLOTHING_ARMOR_MEDIUMHIGH
armor_laser = CLOTHING_ARMOR_MEDIUMLOW
armor_energy = CLOTHING_ARMOR_NONE
armor_bomb = CLOTHING_ARMOR_MEDIUMLOW
armor_bomb = CLOTHING_ARMOR_MEDIUM
armor_bio = CLOTHING_ARMOR_MEDIUM
armor_rad = CLOTHING_ARMOR_MEDIUMLOW
armor_internaldamage = CLOTHING_ARMOR_MEDIUM
armor_internaldamage = CLOTHING_ARMOR_MEDIUMHIGH
movement_compensation = SLOWDOWN_ARMOR_LIGHT
storage_slots = 3
siemens_coefficient = 0.7
Expand Down Expand Up @@ -425,11 +425,11 @@
armor_variation = 6
slowdown = SLOWDOWN_ARMOR_LIGHT
armor_melee = CLOTHING_ARMOR_MEDIUMLOW
armor_bullet = CLOTHING_ARMOR_MEDIUMLOW
armor_bomb = CLOTHING_ARMOR_MEDIUM
armor_bullet = CLOTHING_ARMOR_MEDIUM
armor_bomb = CLOTHING_ARMOR_MEDIUMLOW
armor_bio = CLOTHING_ARMOR_MEDIUMLOW
armor_rad = CLOTHING_ARMOR_MEDIUMHIGH
armor_internaldamage = CLOTHING_ARMOR_LOW
armor_internaldamage = CLOTHING_ARMOR_MEDIUM
storage_slots = 2

/obj/item/clothing/suit/storage/marine/light/padded
Expand Down Expand Up @@ -530,11 +530,11 @@
icon_state = "H1"
armor_variation = 6
armor_melee = CLOTHING_ARMOR_MEDIUMHIGH
armor_bullet = CLOTHING_ARMOR_HIGHPLUS
armor_bomb = CLOTHING_ARMOR_HIGHPLUS
armor_bullet = CLOTHING_ARMOR_HIGH
armor_bomb = CLOTHING_ARMOR_HIGH
armor_bio = CLOTHING_ARMOR_MEDIUMHIGH
armor_rad = CLOTHING_ARMOR_MEDIUM
armor_internaldamage = CLOTHING_ARMOR_MEDIUMHIGH
armor_internaldamage = CLOTHING_ARMOR_HIGH
storage_slots = 2
slowdown = SLOWDOWN_ARMOR_LOWHEAVY
movement_compensation = SLOWDOWN_ARMOR_MEDIUM
Expand Down
9 changes: 5 additions & 4 deletions code/modules/clothing/suits/marine_armor/ert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@
name = "\improper UM5 personal armor"
desc = "Standard body armor of the UPP military, the UM5 (Union Medium MK5) is a medium body armor, roughly on par with the M3 pattern body armor in service with the USCM, specialized towards ballistics protection. Unlike the M3, however, the plate has a heavier neckplate. This has earned many UA members to refer to UPP soldiers as 'tin men'."
icon_state = "upp_armor"
armor_bullet = CLOTHING_ARMOR_HIGH
armor_bullet = CLOTHING_ARMOR_MEDIUMHIGH
armor_energy = CLOTHING_ARMOR_MEDIUM
armor_bio = CLOTHING_ARMOR_MEDIUMLOW
armor_rad = CLOTHING_ARMOR_MEDIUMLOW
armor_internaldamage = CLOTHING_ARMOR_HIGH
armor_internaldamage = CLOTHING_ARMOR_MEDIUMHIGH
storage_slots = 1
uniform_restricted = list(/obj/item/clothing/under/marine/veteran/UPP, /obj/item/clothing/under/marine/veteran/UPP/medic, /obj/item/clothing/under/marine/veteran/UPP/engi)

Expand All @@ -284,9 +284,10 @@
slowdown = SLOWDOWN_ARMOR_LIGHT
armor_melee = CLOTHING_ARMOR_HIGH
armor_energy = CLOTHING_ARMOR_MEDIUM
armor_bomb = CLOTHING_ARMOR_MEDIUMLOW
armor_bio = CLOTHING_ARMOR_MEDIUMLOW
armor_rad = CLOTHING_ARMOR_MEDIUMLOW
armor_internaldamage = CLOTHING_ARMOR_HIGH
armor_internaldamage = CLOTHING_ARMOR_MEDIUMHIGH

/obj/item/clothing/suit/storage/marine/faction/UPP/commando
name = "\improper UM5CU personal armor"
Expand All @@ -310,7 +311,7 @@
armor_bomb = CLOTHING_ARMOR_HIGH
armor_bio = CLOTHING_ARMOR_MEDIUM
armor_rad = CLOTHING_ARMOR_MEDIUMLOW
armor_internaldamage = CLOTHING_ARMOR_HIGHPLUS
armor_internaldamage = CLOTHING_ARMOR_HIGH

/obj/item/clothing/suit/storage/marine/faction/UPP/heavy/Initialize()
. = ..()
Expand Down
8 changes: 2 additions & 6 deletions code/modules/cm_marines/equipment/kit_boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,8 @@
specialist_assignment = "Sniper"
user.skills.set_skill(SKILL_SPEC_WEAPONS, SKILL_SPEC_SNIPER)
if("Scout")
spec_box = new /obj/item/storage/box/spec/scout(T)
specialist_assignment = "Scout"
user.skills.set_skill(SKILL_SPEC_WEAPONS, SKILL_SPEC_SCOUT)
//this is to be able to use C4s that are coming with the kit
if(!skillcheck(user, SKILL_ENGINEER, SKILL_ENGINEER_TRAINED))
user.skills.set_skill(SKILL_ENGINEER, SKILL_ENGINEER_TRAINED)
to_chat(user, SPAN_WARNING("Nuh uh. No scout on HvH."))
return
if("Demo")
spec_box = new /obj/item/storage/box/spec/demolitionist(T)
specialist_assignment = "Demo"
Expand Down
Loading

0 comments on commit c5085c8

Please sign in to comment.