From 83eeb5f5d7ca86502a82c4cbf28b49b7acba2dd3 Mon Sep 17 00:00:00 2001 From: lbnesquik Date: Sun, 19 Jan 2020 16:01:28 +0100 Subject: [PATCH 1/3] Add an Examine to Bonfires --- code/game/objects/structures/bonfire.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/game/objects/structures/bonfire.dm b/code/game/objects/structures/bonfire.dm index f4360f92cf..8a1ec31076 100644 --- a/code/game/objects/structures/bonfire.dm +++ b/code/game/objects/structures/bonfire.dm @@ -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 From b93e2c2a96be34cec2bc56389bcdc4d148ed17a8 Mon Sep 17 00:00:00 2001 From: lbnesquik Date: Wed, 22 Jan 2020 08:49:46 +0100 Subject: [PATCH 2/3] Add chomp pointers & correct typos --- code/game/objects/structures/bonfire.dm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/code/game/objects/structures/bonfire.dm b/code/game/objects/structures/bonfire.dm index 8a1ec31076..30f39421d6 100644 --- a/code/game/objects/structures/bonfire.dm +++ b/code/game/objects/structures/bonfire.dm @@ -34,13 +34,15 @@ /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() - user << "The fire has [X] burning logs in it." + user << "The fire has [X] 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." + to_chat(user, "[src] has a crude grill plate over it.") + if(can_buckle) + 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) From 7970a9516ae4d5fd1d88e6c62db32495ef9f2419 Mon Sep 17 00:00:00 2001 From: lbnesquik Date: Wed, 22 Jan 2020 08:52:17 +0100 Subject: [PATCH 3/3] Forgot a to_chat( edit. --- code/game/objects/structures/bonfire.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/bonfire.dm b/code/game/objects/structures/bonfire.dm index 30f39421d6..87dc47aa0d 100644 --- a/code/game/objects/structures/bonfire.dm +++ b/code/game/objects/structures/bonfire.dm @@ -37,11 +37,11 @@ //CHOMPStation Addition Start /obj/structure/bonfire/examine(mob/user) var/X = get_fuel_amount() - user << "The fire has [X] logs in it." + 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) - user << "[src] has a makeshift stake built in it, perfect for witches and space templars." + 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)