mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Add an Examine to Bonfires
This commit is contained in:
@@ -34,6 +34,14 @@
|
||||
/obj/structure/bonfire/permanent/sifwood/New(newloc, material_name)
|
||||
..(newloc, MAT_SIFWOOD)
|
||||
|
||||
/obj/structure/bonfire/examine(mob/user)
|
||||
var/X = get_fuel_amount()
|
||||
user << "The fire has [X] burning logs in it."
|
||||
if(grill)
|
||||
user << "The [src] has a crude grill plate over it."
|
||||
if(stake)
|
||||
user << "The [src] has a makeshift stake plate over it, perfect for witches and space templars."
|
||||
|
||||
/obj/structure/bonfire/attackby(obj/item/W, mob/user)
|
||||
if(istype(W, /obj/item/stack/rods) && !can_buckle && !grill)
|
||||
var/obj/item/stack/rods/R = W
|
||||
|
||||
Reference in New Issue
Block a user