Skip to content
ct

Class

DateChangeRandomizer

Generated GDScript class reference for CalendarTime.DateChangeRandomizer.

Status
Current
Version
v2.0.4
Updated
2026-08-09

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 Node

Members

NameKindSummary
ClockValidatorField`ClockValidator` is preloaded here to confirm the bound clock before randomizing.
clockPropertyDate changes on this clock trigger randomized option selection.
allow_on_event_daysPropertyWhether a random option is allowed to be enabled even on event days
select_on_readyPropertyWhether to make a random selection as soon as the script loads
rngPropertyRandom number generator used to weight option selection.
actMethod
get_random_selectionMethod
get_total_weightMethod
is_selection_allowedMethod