Jump to navigation Jump to search
HIST SEAN is a CAOS command that returns the in-game season of a given world tick.
Syntax: HIST SEAN world_tick(integer)
Returns the season that it was at world_tick. As with SEAN, 0 is spring, 1 is summer, 2 is fall, and 3 is winter.
The Creature History script displays the real-world time that life events happened by default, but using HIST WTIK to retrieve the world tick, along with HIST DATE, HIST SEAN, and HIST YEAR, it can display the in-game time of events instead:
*where ov01 is the creature's moniker and va00 is a given life event in a loop doif game "c3_after_shee_dates" eq 0 ... else *obtain world tick of the event setv va50 hist wtik ov01 va00 *get date of that world tick setv va51 hist date va50 addv va51 1 sets va10 vtos va51 adds va10 " " *get season of that world tick adds va10 read "creature_history_seasons" hist sean va50 adds va10 " " *get year of that world tick setv va51 hist year va50 addv va51 127 adds va10 vtos va51 endi ptxt va10