mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
Adds a new spawn xmas tree landmark and also adds a new holiday, the festive season.
This commit is contained in:
@@ -80,6 +80,10 @@
|
||||
flags_inv = 0
|
||||
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0, fire = 0, acid = 0)
|
||||
|
||||
/obj/effect/landmark/xmastree
|
||||
name = "christmas tree spawner"
|
||||
var/tree = /obj/structure/flora/tree/pine/xmas
|
||||
|
||||
/datum/round_event_control/santa
|
||||
name = "Santa is coming to town! (Christmas)"
|
||||
holidayID = CHRISTMAS
|
||||
|
||||
@@ -316,6 +316,26 @@
|
||||
/datum/holiday/xmas/greet()
|
||||
return "Have a merry Christmas!"
|
||||
|
||||
/datum/holiday/xmas/celebrate()
|
||||
for(var/obj/effect/landmark/xmastree/XT in world)
|
||||
new XT.tree(get_turf(XT))
|
||||
qdel(XT)
|
||||
|
||||
/datum/holiday/festive_season
|
||||
name = FESTIVE_SEASON
|
||||
begin_day = 1
|
||||
begin_month = DECEMBER
|
||||
end_day = 31
|
||||
|
||||
/datum/holiday/festive_season/celebrate()
|
||||
for(var/obj/effect/landmark/xmastree/XT in world)
|
||||
var/turf/t = get_turf(XT)
|
||||
new /obj/structure/flora/tree/pine/xmas(t)
|
||||
qdel(XT)
|
||||
|
||||
/datum/holiday/festive_season/greet()
|
||||
return "Have a nice festive season!"
|
||||
|
||||
/datum/holiday/boxing
|
||||
name = "Boxing Day"
|
||||
begin_day = 26
|
||||
|
||||
Reference in New Issue
Block a user