holiday ![code/modules/holiday/holidays.dm 1](git.png)
Vars | |
always_celebrate | for christmas neverending, or testing. Forces a holiday to be celebrated. |
---|---|
begin_day | What day of begin_month does the holiday begin on? |
begin_month | What month does the holiday begin on? |
current_year | Held variable to better calculate when certain holidays may fall on, like easter. |
end_day | What day of end_month does the holiday end? Default of 0 means the holiday lasts a single. |
end_month | What month does the holiday end on? |
holiday_colors | Color scheme for this holiday |
holiday_hat | If this is defined, drones/assistants without a default hat will spawn with this item in their head clothing slot. |
holiday_pattern | The default pattern of the holiday, if the requested pattern is null. |
mail_holiday | When this holiday is active, does this prevent mail from arriving to cargo? Try not to use this for longer holidays. |
name | Name of the holiday itself. Visible to players. |
timezones | Timezones this holiday is celebrated in (defaults to three timezones spanning a 50 hour window covering all timezones) |
year_offset | How many years are you offsetting your calculations for begin_day and end_day on. Used for holidays like easter. |
Procs | |
get_holiday_colors | Procs to return holiday themed colors for recoloring atoms |
Var Details
always_celebrate ![code/modules/holiday/holidays.dm 14](git.png)
for christmas neverending, or testing. Forces a holiday to be celebrated.
begin_day ![code/modules/holiday/holidays.dm 6](git.png)
What day of begin_month does the holiday begin on?
begin_month ![code/modules/holiday/holidays.dm 8](git.png)
What month does the holiday begin on?
current_year ![code/modules/holiday/holidays.dm 16](git.png)
Held variable to better calculate when certain holidays may fall on, like easter.
end_day ![code/modules/holiday/holidays.dm 10](git.png)
What day of end_month does the holiday end? Default of 0 means the holiday lasts a single.
end_month ![code/modules/holiday/holidays.dm 12](git.png)
What month does the holiday end on?
holiday_colors ![code/modules/holiday/holidays.dm 29](git.png)
Color scheme for this holiday
holiday_hat ![code/modules/holiday/holidays.dm 22](git.png)
If this is defined, drones/assistants without a default hat will spawn with this item in their head clothing slot.
holiday_pattern ![code/modules/holiday/holidays.dm 31](git.png)
The default pattern of the holiday, if the requested pattern is null.
mail_holiday ![code/modules/holiday/holidays.dm 24](git.png)
When this holiday is active, does this prevent mail from arriving to cargo? Try not to use this for longer holidays.
name ![code/modules/holiday/holidays.dm 3](git.png)
Name of the holiday itself. Visible to players.
timezones ![code/modules/holiday/holidays.dm 20](git.png)
Timezones this holiday is celebrated in (defaults to three timezones spanning a 50 hour window covering all timezones)
year_offset ![code/modules/holiday/holidays.dm 18](git.png)
How many years are you offsetting your calculations for begin_day and end_day on. Used for holidays like easter.
Proc Details
get_holiday_colors
Procs to return holiday themed colors for recoloring atoms