Jump to navigation Jump to search
HIST RTIM is a CAOS command that returns the Unix time datetime associated with a given life event.
Syntax: HIST RTIM moniker(str) event_no(integer)
Returns the unix timestamp of the event, which can be converted to human-readable form with RTIF.
The Creature History script displays the real-world time that life events happened on the history screen:
*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 setv va50 hist rtim ov01 va00 sets va10 rtif va50 read "creature_history" 6 else ... endi ptxt va10