mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-31 01:00:59 +01:00
Merge pull request #177 from lbnesquik/Bonfire-Tweak
Add an Examine to Bonfires
This commit is contained in:
@@ -34,6 +34,16 @@
|
||||
/obj/structure/bonfire/permanent/sifwood/New(newloc, material_name)
|
||||
..(newloc, MAT_SIFWOOD)
|
||||
|
||||
//CHOMPStation Addition Start
|
||||
/obj/structure/bonfire/examine(mob/user)
|
||||
var/X = get_fuel_amount()
|
||||
to_chat(user, "The fire has [X] logs in it.")
|
||||
if(grill)
|
||||
to_chat(user, "[src] has a crude grill plate over it.")
|
||||
if(can_buckle)
|
||||
to_chat(user, "[src] has a makeshift stake built in it, perfect for witches and space templars.")
|
||||
//CHOMPStation Addition end
|
||||
|
||||
/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