Yogstation 13 - Modules - TypesVar Details - Proc Details

Bugsgiving

Vars

always_celebratefor christmas neverending, or testing.
begin_dayWhat day of begin_month does the holiday begin on?
begin_monthWhat month does the holiday begin on?
begin_weekIf set to a number, then this holiday will begin on certain week
begin_weekdayIf set to a weekday, then this will trigger the holiday on the above week
current_yearHeld variable to better calculate when certain holidays may fall on, like easter.
drone_hatIf this is defined, drones without a default hat will spawn with this one during the holiday; check drones_as_items.dm to see this used
end_dayWhat day of end_month does the holiday end? Default of 0 means the holiday lasts a single.
end_monthWhat month does the holiday end on?
holiday_colorsColor scheme for this holiday
holiday_patternThe default pattern of the holiday, if the requested pattern is null.
mail_holidayWhen this holiday is active, does this prevent mail from arriving to cargo? Try not to use this for longer holidays.
nameName of the holiday itself. Visible to players.
timezonesTimezones this holiday is celebrated in (defaults to three timezones spanning a 50 hour window covering all timezones)
year_offsetHow many years are you offsetting your calculations for begin_day and end_day on. Used for holidays like easter.

Procs

get_holiday_colorsProcs to return holiday themed colors for recoloring atoms

Var Details

always_celebrate

for christmas neverending, or testing.

begin_day

What day of begin_month does the holiday begin on?

begin_month

What month does the holiday begin on?

begin_week

If set to a number, then this holiday will begin on certain week

begin_weekday

If set to a weekday, then this will trigger the holiday on the above week

current_year

Held variable to better calculate when certain holidays may fall on, like easter.

drone_hat

If this is defined, drones without a default hat will spawn with this one during the holiday; check drones_as_items.dm to see this used

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_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.

Proc Details

get_holiday_colors

Procs to return holiday themed colors for recoloring atoms