Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/scheduled_event

Scheduled event datum for SSgamemode to put events into.

Vars

alerted_adminsWhether we alerted admins about this schedule when it's close to being invoked.
announce_changeWhether the scheduled event will override the announcement change. If null it won't. TRUE = force yes. FALSE = force no.
costIf we were created by a storyteller, here's a cost to refund in case.
eventWhat event are scheduling.
fakes_occurenceWhether we are faking an occurence or not
ignores_checksWhether this ignores event can run checks. If bussed by an admin, you want to ignore checks
start_timeWhen do we start our event

Procs

DestroyRemove our fake occurence pre-emptively for the checks. If we can't spawn the scheduled event, refund it. Trigger the event and remove the scheduled datum
remove_occurenceAdd a fake occurence to make the weightings/checks properly respect the scheduled event.
rescheduleRemove the fake occurence if we still have it For admins who want to reschedule the event.
try_fireTry and fire off the scheduled event

Var Details

alerted_admins

Whether we alerted admins about this schedule when it's close to being invoked.

announce_change

Whether the scheduled event will override the announcement change. If null it won't. TRUE = force yes. FALSE = force no.

cost

If we were created by a storyteller, here's a cost to refund in case.

event

What event are scheduling.

fakes_occurence

Whether we are faking an occurence or not

ignores_checks

Whether this ignores event can run checks. If bussed by an admin, you want to ignore checks

start_time

When do we start our event

Proc Details

Destroy

Remove our fake occurence pre-emptively for the checks. If we can't spawn the scheduled event, refund it. Trigger the event and remove the scheduled datum

remove_occurence

Add a fake occurence to make the weightings/checks properly respect the scheduled event.

reschedule

Remove the fake occurence if we still have it For admins who want to reschedule the event.

try_fire

Try and fire off the scheduled event