mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Added a new disease.
Removed GBS. Fixed mime invisiwall. Removed the red stripe on HoS's suit AGAIN. Added metroid jam. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@314 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -139,11 +139,15 @@ WELDINGTOOOL
|
||||
|
||||
/obj/item/weapon/weldingtool/afterattack(obj/O as obj, mob/user as mob)
|
||||
|
||||
if (istype(O, /obj/reagent_dispensers/fueltank) && get_dist(src,O) <= 1)
|
||||
if (istype(O, /obj/reagent_dispensers/fueltank) && get_dist(src,O) <= 1 && !src.welding)
|
||||
O.reagents.trans_to(src, 20)
|
||||
user << "\blue Welder refueled"
|
||||
playsound(src.loc, 'refill.ogg', 50, 1, -6)
|
||||
|
||||
else if (istype(O, /obj/reagent_dispensers/fueltank) && get_dist(src,O) <= 1 && src.welding)
|
||||
user << "\red That was stupid of you."
|
||||
explosion(O.loc,2,4,8)
|
||||
|
||||
else if (src.welding)
|
||||
use_fuel(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user