Merge pull request #177 from lbnesquik/Bonfire-Tweak

Add an Examine to Bonfires
This commit is contained in:
ExabyteDiscord
2020-01-29 02:47:50 -08:00
committed by GitHub
+10
View File
@@ -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