mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Adds Inflation (#19447)
* it's yours my friend as long as you have enough * Sellable AND bombcode is fixed * this * Craftable * Update code/controllers/subsystems/supply.dm * Update code/modules/economy/cargo_point_scanner.dm * Apply suggestion from @Cameron-The-Raven
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
var/valve_open = 0
|
||||
var/toggle = 1
|
||||
|
||||
/obj/item/transfer_valve/Initialize(mapload)
|
||||
. = ..()
|
||||
AddElement(/datum/element/sellable/transfer_valve)
|
||||
|
||||
/obj/item/transfer_valve/attackby(obj/item/item, mob/user)
|
||||
var/turf/location = get_turf(src) // For admin logs
|
||||
if(istype(item, /obj/item/tank))
|
||||
|
||||
@@ -510,9 +510,10 @@ GLOBAL_LIST_EMPTY(tank_gauge_cache)
|
||||
log_world(span_warning("[x],[y] tank is leaking: [pressure] kPa, integrity [integrity]"))
|
||||
#endif
|
||||
|
||||
|
||||
/* //This resulted in tanks going into negative values of integrity forever. Integrity should only be lost if the tank is moving towards exploding.
|
||||
else
|
||||
integrity-= 1
|
||||
*/
|
||||
|
||||
|
||||
else
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
/obj/item/radio/headset/earbud/cargo,
|
||||
/obj/item/clothing/gloves/black,
|
||||
/obj/item/clothing/gloves/fingerless,
|
||||
/obj/item/clothing/head/soft)
|
||||
/obj/item/clothing/head/soft,
|
||||
/obj/item/cargo_scanner)
|
||||
|
||||
/obj/structure/closet/secure_closet/cargotech/Initialize(mapload)
|
||||
if(prob(75))
|
||||
@@ -58,7 +59,8 @@
|
||||
/obj/item/clothing/suit/storage/hooded/wintercoat/cargo,
|
||||
/obj/item/clothing/suit/storage/hooded/wintercoat/cargo/qm,
|
||||
/obj/item/clothing/head/beret/qm,
|
||||
/obj/item/clothing/shoes/boots/winter/supply)
|
||||
/obj/item/clothing/shoes/boots/winter/supply,
|
||||
/obj/item/cargo_scanner)
|
||||
|
||||
/obj/structure/closet/secure_closet/quartermaster/Initialize(mapload)
|
||||
if(prob(75))
|
||||
|
||||
Reference in New Issue
Block a user