mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
flamethrowers now can't be used by pacifists
This commit is contained in:
@@ -180,6 +180,11 @@
|
|||||||
|
|
||||||
//Called from turf.dm turf/dblclick
|
//Called from turf.dm turf/dblclick
|
||||||
/obj/item/flamethrower/proc/flame_turf(turflist)
|
/obj/item/flamethrower/proc/flame_turf(turflist)
|
||||||
|
var/mob/living/carbon/human/user = loc
|
||||||
|
// no fun for pacifists
|
||||||
|
if(HAS_TRAIT(user, TRAIT_PACIFISM))
|
||||||
|
to_chat(user, "<span class='warning'>You don't want to put others in danger!</span>")
|
||||||
|
return
|
||||||
if(!lit || operating)
|
if(!lit || operating)
|
||||||
return
|
return
|
||||||
operating = TRUE
|
operating = TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user