Adds logs as parts of bonfires and blacklists steel-caps from them (#48312)

* blacklists steel logs from bonfire

* adds logs as bonfire part
This commit is contained in:
swindly
2019-12-21 15:43:36 +00:00
committed by AnturK
parent 963a3a72d5
commit 0e2b4e1977
2 changed files with 4 additions and 2 deletions
@@ -613,6 +613,8 @@
name = "Bonfire"
time = 60
reqs = list(/obj/item/grown/log = 5)
parts = list(/obj/item/grown/log = 5)
blacklist = list(/obj/item/grown/log/steel)
result = /obj/structure/bonfire
category = CAT_PRIMAL
+2 -2
View File
@@ -216,8 +216,8 @@
to_chat(user, "<span class='warning'>You need to extinguish [src] before removing the logs!</span>")
return
if(!has_buckled_mobs() && do_after(user, 50, target = src))
for(var/I in 1 to 5)
var/obj/item/grown/log/L = new /obj/item/grown/log(src.loc)
for(var/obj/item/grown/log/L in contents)
L.forceMove(drop_location())
L.pixel_x += rand(1,4)
L.pixel_y += rand(1,4)
if(can_buckle || grill)