[MIRROR] Balloonify welders and extinguishers (and more later) [MDB IGNORE] (#14395)

* Balloonify welders and extinguishers (and more later) (#67818)

* Balloonify welders and extinguishers (and more later)

Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-06-19 02:27:54 +01:00
committed by GitHub
co-authored by GuillaumePrata
parent ad32de24c2
commit c6bc0b7fb2
8 changed files with 18 additions and 24 deletions
+1 -3
View File
@@ -238,7 +238,6 @@
set_welding(!welding)
if(welding)
if(get_fuel() >= 1)
to_chat(user, span_notice("You switch [src] on."))
playsound(loc, activation_sound, 50, TRUE)
force = 15
damtype = BURN
@@ -246,10 +245,9 @@
update_appearance()
START_PROCESSING(SSobj, src)
else
to_chat(user, span_warning("You need more fuel!"))
balloon_alert(user, "no fuel!")
switched_off(user)
else
to_chat(user, span_notice("You switch [src] off."))
playsound(loc, deactivation_sound, 50, TRUE)
switched_off(user)