mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #10785 from VOREStation/Arokha/burnbarrel
Port Eris burning barrels
This commit is contained in:
committed by
Chompstation Bot
parent
654ef75433
commit
a6f23e09f2
@@ -433,4 +433,21 @@
|
|||||||
|
|
||||||
/obj/structure/fireplace/water_act(amount)
|
/obj/structure/fireplace/water_act(amount)
|
||||||
if(prob(amount * 10))
|
if(prob(amount * 10))
|
||||||
extinguish()
|
extinguish()
|
||||||
|
|
||||||
|
|
||||||
|
/obj/structure/fireplace/barrel
|
||||||
|
name = "barrel fire pit"
|
||||||
|
desc = "Seems like this barrel might make an ideal fire pit."
|
||||||
|
icon_state = "barrelfire"
|
||||||
|
density = TRUE
|
||||||
|
anchored = FALSE
|
||||||
|
|
||||||
|
/obj/structure/fireplace/barrel/update_icon()
|
||||||
|
if(burning)
|
||||||
|
icon_state = "[initial(icon_state)]1"
|
||||||
|
var/light_strength = max(get_fuel_amount() / 2, 2)
|
||||||
|
set_light(light_strength, light_strength, "#FF9933")
|
||||||
|
else
|
||||||
|
icon_state = initial(icon_state)
|
||||||
|
set_light(0)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 112 KiB |
Reference in New Issue
Block a user