mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
ref: Ammo HUD, more modularisation (#21406)
* ref: welding tool ammo hud * ref: guns ammo_hud * update readme * fix: set welding ammo update
This commit is contained in:
@@ -223,7 +223,6 @@
|
||||
|
||||
if(get_fuel() >= used)
|
||||
reagents.remove_reagent(/datum/reagent/fuel, used)
|
||||
SEND_SIGNAL(src, COMSIG_UPDATE_AMMO_HUD) //SKYRAT EDIT ADDITION
|
||||
check_fuel()
|
||||
return TRUE
|
||||
else
|
||||
@@ -237,7 +236,6 @@
|
||||
. = welding
|
||||
welding = new_value
|
||||
set_light_on(welding)
|
||||
SEND_SIGNAL(src, COMSIG_UPDATE_AMMO_HUD) //SKYRAT EDIT ADDITION
|
||||
|
||||
|
||||
/// Turns off the welder if there is no more fuel (does this really need to be its own proc?)
|
||||
@@ -396,7 +394,6 @@
|
||||
/obj/item/weldingtool/abductor/process()
|
||||
if(get_fuel() <= max_fuel)
|
||||
reagents.add_reagent(/datum/reagent/fuel, 1)
|
||||
SEND_SIGNAL(src, COMSIG_UPDATE_AMMO_HUD) //SKYRAT EDIT ADDITION
|
||||
..()
|
||||
|
||||
/obj/item/weldingtool/hugetank
|
||||
@@ -427,7 +424,6 @@
|
||||
if(get_fuel() < max_fuel && nextrefueltick < world.time)
|
||||
nextrefueltick = world.time + 10
|
||||
reagents.add_reagent(/datum/reagent/fuel, 1)
|
||||
SEND_SIGNAL(src, COMSIG_UPDATE_AMMO_HUD) //SKYRAT EDIT ADDITION
|
||||
|
||||
|
||||
#undef WELDER_FUEL_BURN_INTERVAL
|
||||
|
||||
Reference in New Issue
Block a user