mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Removes the bitflag helpers (#49106)
This commit is contained in:
@@ -126,10 +126,10 @@
|
||||
. = ..()
|
||||
if(!proximity)
|
||||
return
|
||||
|
||||
|
||||
if(isOn())
|
||||
handle_fuel_and_temps(1, user)
|
||||
|
||||
|
||||
if(!QDELETED(O) && isliving(O)) // can't ignite something that doesn't exist
|
||||
var/mob/living/L = O
|
||||
if(L.IgniteMob())
|
||||
@@ -145,10 +145,10 @@
|
||||
. = ..()
|
||||
if(!proximity)
|
||||
return
|
||||
|
||||
|
||||
if(isOn())
|
||||
handle_fuel_and_temps(1, user)
|
||||
|
||||
|
||||
if(!QDELETED(O) && isliving(O)) // can't ignite something that doesn't exist
|
||||
var/mob/living/L = O
|
||||
if(L.IgniteMob())
|
||||
@@ -281,10 +281,10 @@
|
||||
status = !status
|
||||
if(status)
|
||||
to_chat(user, "<span class='notice'>You resecure [src] and close the fuel tank.</span>")
|
||||
DISABLE_BITFIELD(reagents.flags, OPENCONTAINER)
|
||||
reagents.flags &= ~(OPENCONTAINER)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>[src] can now be attached, modified, and refuelled.</span>")
|
||||
ENABLE_BITFIELD(reagents.flags, OPENCONTAINER)
|
||||
reagents.flags |= OPENCONTAINER
|
||||
add_fingerprint(user)
|
||||
|
||||
/obj/item/weldingtool/proc/flamethrower_rods(obj/item/I, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user