You can now build snowmen at Christmastime; removes commented out code

This commit is contained in:
Citinited
2018-12-30 02:15:05 +00:00
parent 96d529a4f8
commit ccb61518ae
5 changed files with 39 additions and 13 deletions
+21
View File
@@ -138,3 +138,24 @@
/obj/item/snowball/ex_act(severity)
qdel(src)
/obj/structure/snowman
name = "snowman"
desc = "Do you wanna build a snowman?"
density = TRUE
anchored = TRUE
climbable = FALSE
max_integrity = 50
icon = 'icons/obj/stationobjs.dmi'
icon_state = "snowman"
/obj/structure/snowman/attackby(obj/item/I, mob/user)
if(istype(I, /obj/item/snowball) && obj_integrity < max_integrity)
to_chat(user, "<span class='notice'>You patch some of the damage on [src] with [I].</span>")
obj_integrity = max_integrity
qdel(I)
else
return ..()
/obj/structure/snowman/fire_act()
qdel(src)
-11
View File
@@ -313,17 +313,6 @@
icon = 'icons/obj/statuelarge.dmi'
icon_state = "venus"
/*
/obj/structure/statue/snow
hardness = 0.5
material_drop_type = /obj/item/stack/sheet/mineral/snow
/obj/structure/statue/snow/snowman
name = "snowman"
desc = "Several lumps of snow put together to form a snowman."
icon_state = "snowman"
*/
/obj/structure/statue/tranquillite
hardness = 0.5
material_drop_type = /obj/item/stack/sheet/mineral/tranquillite