Merge pull request #21760 from lzimann/earlyxmasdecorations

Makes x-mas trees automatically spawn
This commit is contained in:
Joan Lung
2016-11-26 19:38:37 -05:00
committed by GitHub
10 changed files with 106 additions and 88 deletions
+7 -1
View File
@@ -23262,6 +23262,12 @@
/area/maintenance/fore{
name = "Security Maintenance"
})
"ZyZ" = (
/obj/effect/landmark/xmastree/rdrod,
/turf/open/floor/plasteel/warnwhite{
dir = 8
},
/area/toxins/lab)
"Zza" = (
/turf/open/space,
/obj/machinery/porta_turret/syndicate{
@@ -65064,7 +65070,7 @@ aJt
aKn
aHu
aEF
aMC
ZyZ
aMC
aOu
aPk
@@ -71623,14 +71623,9 @@
/turf/open/floor/plating,
/area/maintenance/asmaint2)
"cMe" = (
/obj/effect/spawner/lootdrop{
loot = list(/obj/item/stack/sheet/metal = 1, /obj/item/stack/rods = 2, /obj/item/weapon/shard = 2, "" = 3);
lootcount = 2;
name = "random material damage spawner"
},
/mob/living/simple_animal/mouse,
/turf/open/floor/plating,
/area/maintenance/asmaint2)
/obj/effect/landmark/xmastree,
/turf/open/floor/plasteel/bar,
/area/crew_quarters/bar)
"cMf" = (
/obj/item/clothing/suit/bio_suit/plaguedoctorsuit,
/obj/item/clothing/head/plaguedoctorhat,
@@ -71765,12 +71760,9 @@
/turf/open/floor/plating,
/area/maintenance/asmaint2)
"cMu" = (
/mob/living/simple_animal/mouse,
/turf/open/floor/plating{
broken = 1;
icon_state = "platingdmg2"
},
/area/maintenance/asmaint2)
/obj/effect/landmark/xmastree,
/turf/open/floor/carpet,
/area/chapel/main)
"cMv" = (
/obj/structure/girder,
/turf/open/floor/plating/airless,
@@ -90071,7 +90063,7 @@ bZI
cba
cfd
cgN
cgN
cMu
cfd
clO
bZI
@@ -101359,7 +101351,7 @@ bsV
bvb
bor
bsV
bor
cMe
bor
bEP
bsV
@@ -13426,6 +13426,7 @@
},
/area/maintenance/fore)
"azr" = (
/obj/effect/landmark/xmastree/rdrod,
/turf/open/floor/plasteel/warnwhite{
dir = 10
},
@@ -55555,11 +55556,11 @@
/turf/open/floor/plating,
/area/shuttle/pod_2)
"chK" = (
/turf/closed/wall/shuttle{
icon_state = "swall_s9";
dir = 2
},
/area/shuttle/pod_2)
/obj/effect/landmark/xmastree,
/turf/open/floor/plasteel/bar,
/area/crew_quarters/bar{
name = "\improper Maltese Falcon"
})
"chL" = (
/obj/machinery/light{
dir = 8
@@ -55805,12 +55806,9 @@
/turf/open/floor/mineral/titanium/blue,
/area/shuttle/escape)
"cip" = (
/obj/machinery/status_display,
/turf/closed/wall/shuttle{
icon_state = "swall2";
dir = 2
},
/area/shuttle/escape)
/obj/effect/landmark/xmastree,
/turf/open/floor/carpet,
/area/chapel/main)
"ciq" = (
/obj/structure/chair,
/turf/open/floor/mineral/titanium/blue,
@@ -81055,7 +81053,7 @@ bMD
bNT
bPd
bQu
bQu
cip
bQu
bQu
bQu
@@ -91042,7 +91040,7 @@ aWO
aWM
aWM
aWM
aWM
chK
aWM
bcu
bdy
@@ -73035,6 +73035,7 @@
pixel_x = 0;
pixel_y = 32
},
/obj/effect/landmark/xmastree/rdrod,
/turf/open/floor/plasteel/warnwhite{
dir = 8
},
+4 -7
View File
@@ -13656,12 +13656,9 @@
/turf/open/space,
/area/space)
"Er" = (
/obj/structure/lattice,
/obj/structure/transit_tube{
icon_state = "E-W-Pass"
},
/turf/open/space,
/area/space)
/obj/effect/landmark/xmastree,
/turf/open/floor/plasteel/bar,
/area/crew_quarters/bar)
"Es" = (
/obj/structure/lattice,
/obj/structure/transit_tube/horizontal,
@@ -50143,7 +50140,7 @@ kh
td
td
td
td
Er
td
wj
tt
+45 -44
View File
@@ -23982,6 +23982,7 @@
dir = 8;
initialize_directions = 11
},
/obj/effect/landmark/xmastree,
/turf/open/floor/carpet{
icon_state = "carpetsymbol"
},
@@ -54593,10 +54594,46 @@
/area/chapel/main{
name = "Monastery"
})
"chr" = (
/obj/item/weapon/storage/toolbox/mechanical,
/turf/open/floor/plating,
/area/maintenance/aft)
"chk" = (
/obj/structure/closet/firecloset,
/obj/effect/decal/cleanable/cobweb,
/turf/open/floor/plating{
icon_state = "platingdmg3"
},
/area/maintenance/fsmaint)
"chl" = (
/obj/structure/grille/broken,
/turf/open/floor/plating{
icon_state = "platingdmg3"
},
/area/maintenance/fsmaint)
"chm" = (
/obj/machinery/atmospherics/pipe/simple/cyan/hidden,
/obj/structure/disposalpipe/segment{
dir = 2;
icon_state = "pipe-c"
},
/turf/open/floor/plasteel/showroomfloor,
/area/security/warden)
"chn" = (
/obj/machinery/atmospherics/pipe/simple/cyan/hidden,
/obj/structure/disposalpipe/segment{
dir = 1;
icon_state = "pipe-c"
},
/turf/open/floor/plasteel,
/area/security/brig)
"cho" = (
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden,
/obj/structure/disposalpipe/segment{
dir = 4
},
/turf/open/floor/plasteel,
/area/security/brig)
"chp" = (
/obj/machinery/holopad,
/turf/open/floor/plasteel,
/area/quartermaster/miningdock)
"chq" = (
/obj/machinery/atmospherics/pipe/simple/supply/hidden{
dir = 4
@@ -54607,46 +54644,10 @@
},
/turf/open/floor/plasteel,
/area/hallway/primary/central)
"chp" = (
/obj/machinery/holopad,
/turf/open/floor/plasteel,
/area/quartermaster/miningdock)
"cho" = (
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden,
/obj/structure/disposalpipe/segment{
dir = 4
},
/turf/open/floor/plasteel,
/area/security/brig)
"chn" = (
/obj/machinery/atmospherics/pipe/simple/cyan/hidden,
/obj/structure/disposalpipe/segment{
dir = 1;
icon_state = "pipe-c"
},
/turf/open/floor/plasteel,
/area/security/brig)
"chm" = (
/obj/machinery/atmospherics/pipe/simple/cyan/hidden,
/obj/structure/disposalpipe/segment{
dir = 2;
icon_state = "pipe-c"
},
/turf/open/floor/plasteel/showroomfloor,
/area/security/warden)
"chl" = (
/obj/structure/grille/broken,
/turf/open/floor/plating{
icon_state = "platingdmg3"
},
/area/maintenance/fsmaint)
"chk" = (
/obj/structure/closet/firecloset,
/obj/effect/decal/cleanable/cobweb,
/turf/open/floor/plating{
icon_state = "platingdmg3"
},
/area/maintenance/fsmaint)
"chr" = (
/obj/item/weapon/storage/toolbox/mechanical,
/turf/open/floor/plating,
/area/maintenance/aft)
(1,1,1) = {"
aaa
@@ -33955,6 +33955,7 @@
},
/area/crew_quarters/hor)
"bxm" = (
/obj/effect/landmark/xmastree/rdrod,
/turf/open/floor/plasteel/warnwhite{
dir = 5
},
@@ -52977,6 +52978,7 @@
/area/atmos)
"clX" = (
/obj/effect/landmark/event_spawn,
/obj/effect/landmark/vr_spawn,
/turf/open/floor/plasteel/bar,
/area/crew_quarters/bar)
"clY" = (
@@ -56226,12 +56228,10 @@
/turf/open/space,
/area/space/nearstation)
"csT" = (
/obj/structure/transit_tube{
dir = 8;
icon_state = "Block"
},
/turf/open/floor/plating,
/area/ai_monitored/turret_protected/aisat_interior)
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden,
/obj/effect/landmark/vr_spawn,
/turf/open/floor/plasteel/black,
/area/chapel/main)
"csU" = (
/obj/structure/transit_tube/station/reverse,
/turf/open/floor/plating,
@@ -107841,7 +107841,7 @@ aEk
aFB
aHn
aFB
aFB
csT
aFB
aLr
aFB
+1
View File
@@ -27,6 +27,7 @@
#define EASTER "Easter"
#define HALLOWEEN "Halloween"
#define CHRISTMAS "Christmas"
#define FESTIVE_SEASON "Festive Season"
#define FRIDAY_13TH "Friday the 13th"
//Human Overlays Indexes/////////
+8
View File
@@ -80,6 +80,14 @@
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
/obj/effect/landmark/xmastree/rdrod
name = "festivus pole spawner"
tree = /obj/structure/festivus
/datum/round_event_control/santa
name = "Santa is coming to town! (Christmas)"
holidayID = CHRISTMAS
+14
View File
@@ -316,6 +316,20 @@
/datum/holiday/xmas/greet()
return "Have a merry Christmas!"
/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 landmarks_list)
new XT.tree(get_turf(XT))
qdel(XT)
/datum/holiday/festive_season/greet()
return "Have a nice festive season!"
/datum/holiday/boxing
name = "Boxing Day"
begin_day = 26