[READY]pathfinding circuitry upgrade (#36398)
* all in one * fixfixfix * uhhhh * demuxdemuxdemuxdemux * wire eriw * icon noci * tihsxifixshit * rewopower * fixif * screeneercs * returnruter
This commit is contained in:
committed by
CitadelStationBot
parent
c579d81f4c
commit
303272319a
@@ -94,7 +94,7 @@
|
||||
complexity = 4
|
||||
inputs = list()
|
||||
outputs = list("volume used" = IC_PINTYPE_NUMBER, "self reference" = IC_PINTYPE_REF)
|
||||
activators = list()
|
||||
activators = list("push ref" = IC_PINTYPE_PULSE_IN)
|
||||
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
|
||||
var/volume = 60
|
||||
var/list/fuel = list("plasma" = 50000, "welding_fuel" = 15000, "carbon" = 10000, "ethanol" = 10000, "nutriment" = 8000)
|
||||
@@ -125,7 +125,7 @@
|
||||
if(lfwb)
|
||||
if(B && B.data["cloneable"])
|
||||
var/mob/M = B.data["donor"]
|
||||
if(M && M.stat != DEAD && M.client)
|
||||
if(M && (M.stat != DEAD) && (M.client))
|
||||
bp = 500000
|
||||
if((assembly.battery.maxcharge-assembly.battery.charge) / GLOB.CELLRATE > bp)
|
||||
if(reagents.remove_reagent("blood", 1))
|
||||
@@ -134,3 +134,7 @@
|
||||
if((assembly.battery.maxcharge-assembly.battery.charge) / GLOB.CELLRATE > fuel[I])
|
||||
if(reagents.remove_reagent(I, 1))
|
||||
assembly.give_power(fuel[I]*multi)
|
||||
|
||||
/obj/item/integrated_circuit/passive/power/chemical_cell/do_work()
|
||||
set_pin_data(IC_OUTPUT, 2, WEAKREF(src))
|
||||
push_data()
|
||||
Reference in New Issue
Block a user