mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
[MIRROR] Adds Inflation (#12771)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
20544c74f7
commit
2aa49e224a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user