Skip to content

Commit

Permalink
Adds rebreathers to marine vendors. (ColonialMarines-Mirror#680)
Browse files Browse the repository at this point in the history
* Update code/game/machinery/vending/new_marine_vendors.dm

* Update code/game/machinery/vending/marine_vending.dm
  • Loading branch information
NonQueueingMatt authored and Rohesie committed Nov 17, 2018
1 parent 84a14db commit 17a73d1
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
1 change: 1 addition & 0 deletions code/game/gamemodes/cm_initialize.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ datum/game_mode/proc/initialize_post_queen_list()
if(map_tag == MAP_ICE_COLONY)
products2 = list(
/obj/item/clothing/mask/rebreather/scarf = round(scale * 30),
/obj/item/clothing/mask/rebreather = round(scale * 30),
)
M.build_inventory(products2)

Expand Down
2 changes: 2 additions & 0 deletions code/game/machinery/vending/marine_vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
if(MAP_ICE_COLONY)
products2 = list(
/obj/item/clothing/mask/rebreather/scarf = 10,
/obj/item/clothing/mask/rebreather = 10
)
build_inventory(products2)

Expand Down Expand Up @@ -599,6 +600,7 @@
/obj/item/clothing/suit/storage/marine = 20,
/obj/item/clothing/head/helmet/marine = 20,
/obj/item/clothing/mask/rebreather/scarf = 10,
/obj/item/clothing/mask/rebreather = 10
)

prices = list()
Expand Down
19 changes: 14 additions & 5 deletions code/game/machinery/vending/new_marine_vendors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
//if(istype(ticker.mode, /datum/game_mode/ice_colony))//drop a coif with the uniform on ice colony
if(map_tag == MAP_ICE_COLONY)
new /obj/item/clothing/mask/rebreather/scarf(loc)


if(bitf == MARINE_CAN_BUY_ESSENTIALS)
if(vendor_role == "Squad Specialist" && H.mind && H.mind.assigned_role == "Squad Specialist")
Expand Down Expand Up @@ -316,7 +316,8 @@
list("Pistol pouch", 0, /obj/item/storage/pouch/pistol, (MARINE_CAN_BUY_R_POUCH|MARINE_CAN_BUY_L_POUCH), "black"),
list("MASKS", 0, null, null, null),
list("Gas mask", 0, /obj/item/clothing/mask/gas, MARINE_CAN_BUY_MASK, "black"),

list("Heat absorbent coif", 0, /obj/item/clothing/mask/rebreather/scarf, MARINE_CAN_BUY_MASK, "black"),
list("Rebreather", 0, /obj/item/clothing/mask/rebreather, MARINE_CAN_BUY_MASK, "black"),
list("GUN ATTACHMENTS (Choose 2)", 0, null, null, null),
list("MUZZLE ATTACHMENTS", 0, null, null, null),
list("Suppressor", 0, /obj/item/attachable/suppressor, (MARINE_CAN_BUY_ATTACHMENT|MARINE_CAN_BUY_ATTACHMENT2), "black"),
Expand Down Expand Up @@ -406,7 +407,9 @@
list("Large pistol magazine pouch", 0, /obj/item/storage/pouch/magazine/pistol/large, (MARINE_CAN_BUY_R_POUCH|MARINE_CAN_BUY_L_POUCH), "black"),
list("Pistol pouch", 0, /obj/item/storage/pouch/pistol, (MARINE_CAN_BUY_R_POUCH|MARINE_CAN_BUY_L_POUCH), "black"),
list("MASKS", 0, null, null, null),
list("Gas mask", 0, /obj/item/clothing/mask/gas, MARINE_CAN_BUY_MASK, "black")
list("Gas mask", 0, /obj/item/clothing/mask/gas, MARINE_CAN_BUY_MASK, "black"),
list("Heat absorbent coif", 0, /obj/item/clothing/mask/rebreather/scarf, MARINE_CAN_BUY_MASK, "black"),
list("Rebreather", 0, /obj/item/clothing/mask/rebreather, MARINE_CAN_BUY_MASK, "black"),
)

/obj/machinery/marine_selector/clothes/engi/alpha
Expand Down Expand Up @@ -471,7 +474,8 @@
list("Pistol pouch", 0, /obj/item/storage/pouch/pistol, (MARINE_CAN_BUY_R_POUCH|MARINE_CAN_BUY_L_POUCH), "black"),
list("MASKS", 0, null, null, null),
list("Gas mask", 0, /obj/item/clothing/mask/gas, MARINE_CAN_BUY_MASK, "black"),

list("Heat absorbent coif", 0, /obj/item/clothing/mask/rebreather/scarf, MARINE_CAN_BUY_MASK, "black"),
list("Rebreather", 0, /obj/item/clothing/mask/rebreather, MARINE_CAN_BUY_MASK, "black"),
)


Expand Down Expand Up @@ -538,7 +542,8 @@
list("Pistol pouch", 0, /obj/item/storage/pouch/pistol, (MARINE_CAN_BUY_R_POUCH|MARINE_CAN_BUY_L_POUCH), "black"),
list("MASKS", 0, null, null, null),
list("Gas mask", 0, /obj/item/clothing/mask/gas, MARINE_CAN_BUY_MASK, "black"),

list("Heat absorbent coif", 0, /obj/item/clothing/mask/rebreather/scarf, MARINE_CAN_BUY_MASK, "black"),
list("Rebreather", 0, /obj/item/clothing/mask/rebreather, MARINE_CAN_BUY_MASK, "black"),
)


Expand Down Expand Up @@ -604,6 +609,8 @@
list("Pistol pouch", 0, /obj/item/storage/pouch/pistol, (MARINE_CAN_BUY_R_POUCH|MARINE_CAN_BUY_L_POUCH), "black"),
list("MASKS", 0, null, null, null),
list("Gas mask", 0, /obj/item/clothing/mask/gas, MARINE_CAN_BUY_MASK, "black"),
list("Heat absorbent coif", 0, /obj/item/clothing/mask/rebreather/scarf, MARINE_CAN_BUY_MASK, "black"),
list("Rebreather", 0, /obj/item/clothing/mask/rebreather, MARINE_CAN_BUY_MASK, "black"),
)


Expand Down Expand Up @@ -675,6 +682,8 @@
list("Pistol pouch", 0, /obj/item/storage/pouch/pistol, (MARINE_CAN_BUY_R_POUCH|MARINE_CAN_BUY_L_POUCH), "black"),
list("MASKS", 0, null, null, null),
list("Gas mask", 0, /obj/item/clothing/mask/gas, MARINE_CAN_BUY_MASK, "black"),
list("Heat absorbent coif", 0, /obj/item/clothing/mask/rebreather/scarf, MARINE_CAN_BUY_MASK, "black"),
list("Rebreather", 0, /obj/item/clothing/mask/rebreather, MARINE_CAN_BUY_MASK, "black"),
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
if(MAP_ICE_COLONY)
new /obj/item/clothing/suit/storage/snow_suit(src)
new /obj/item/clothing/mask/rebreather/scarf(src)
new /obj/item/clothing/mask/rebreather(src)

/obj/structure/closet/secure_closet/atmos_personal
name = "technician's locker"
Expand Down
1 change: 1 addition & 0 deletions config/admins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ krusvik - Admin
laharlmontgommery - Admin
lazengann - Admin
lmwevil - Admin
mattatlas - Admin
mralphonzo - Admin
mrstonedone - Admin
nabski - Admin
Expand Down

0 comments on commit 17a73d1

Please sign in to comment.