Abstract base for a script makes a random selection and acts on DateChangeEvents
Source: addons/calendar_time/game_time/date_change/date_change_randomizer.gd
Syntax
class DateChangeRandomizer extends NodeMembers
| Name | Kind | Summary |
|---|---|---|
ClockValidator | Field | `ClockValidator` is preloaded here to confirm the bound clock before randomizing. |
clock | Property | Date changes on this clock trigger randomized option selection. |
allow_on_event_days | Property | Whether a random option is allowed to be enabled even on event days |
select_on_ready | Property | Whether to make a random selection as soon as the script loads |
rng | Property | Random number generator used to weight option selection. |
act | Method | |
get_random_selection | Method | |
get_total_weight | Method | |
is_selection_allowed | Method |