mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[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:
co-authored by
GuillaumePrata
parent
ad32de24c2
commit
c6bc0b7fb2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user