mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
some moire
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
var/datum/reagents/R = new/datum/reagents(max_fuel)
|
||||
reagents = R
|
||||
R.my_atom = src
|
||||
R.add_reagent("fuel", max_fuel)
|
||||
R.add_reagent(REAGENT_ID_FUEL, max_fuel)
|
||||
update_icon()
|
||||
if(always_process)
|
||||
START_PROCESSING(SSobj, src)
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
//Returns the amount of fuel in the welder
|
||||
/obj/item/weldingtool/proc/get_fuel()
|
||||
return reagents.get_reagent_amount("fuel")
|
||||
return reagents.get_reagent_amount(REAGENT_ID_FUEL)
|
||||
|
||||
/obj/item/weldingtool/proc/get_max_fuel()
|
||||
return max_fuel
|
||||
@@ -197,7 +197,7 @@
|
||||
if(amount)
|
||||
burned_fuel_for = 0 // Reset the counter since we're removing fuel.
|
||||
if(get_fuel() >= amount)
|
||||
reagents.remove_reagent("fuel", amount)
|
||||
reagents.remove_reagent(REAGENT_ID_FUEL, amount)
|
||||
if(M)
|
||||
eyecheck(M)
|
||||
update_icon()
|
||||
@@ -440,7 +440,7 @@
|
||||
|
||||
/obj/item/weldingtool/alien/process()
|
||||
if(get_fuel() <= get_max_fuel())
|
||||
reagents.add_reagent("fuel", 1)
|
||||
reagents.add_reagent(REAGENT_ID_FUEL, 1)
|
||||
..()
|
||||
|
||||
/obj/item/weldingtool/experimental
|
||||
@@ -461,7 +461,7 @@
|
||||
..()
|
||||
if(get_fuel() < get_max_fuel() && nextrefueltick < world.time)
|
||||
nextrefueltick = world.time + 10
|
||||
reagents.add_reagent("fuel", 1)
|
||||
reagents.add_reagent(REAGENT_ID_FUEL, 1)
|
||||
|
||||
/obj/item/weldingtool/experimental/hybrid
|
||||
name = "strange welding tool"
|
||||
|
||||
Reference in New Issue
Block a user