mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Matches can be used to light things in adjacent turfs when thrown
This commit is contained in:
@@ -55,8 +55,14 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
|||||||
return
|
return
|
||||||
|
|
||||||
/obj/item/weapon/flame/match/dropped(mob/user as mob)
|
/obj/item/weapon/flame/match/dropped(mob/user as mob)
|
||||||
|
//If dropped, put ourselves out
|
||||||
|
//not before lighting up the turf we land on, though.
|
||||||
if(lit)
|
if(lit)
|
||||||
burn_out()
|
spawn(0)
|
||||||
|
var/turf/location = src.loc
|
||||||
|
if(istype(location))
|
||||||
|
location.hotspot_expose(700, 5)
|
||||||
|
burn_out()
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/item/weapon/flame/match/proc/burn_out()
|
/obj/item/weapon/flame/match/proc/burn_out()
|
||||||
|
|||||||
Reference in New Issue
Block a user