Skip to content
  • Phazorknight's avatar
    215cee5a
    World State Dictionary (WIP) + some fixes · 215cee5a
    Phazorknight authored
    World State Dictionary:
    - CogitoPlayerState now saves an additional dictionary called world_dictionary. This is meant for global world state variables.
    - After some experiments and talking to @OvercastInteractive , this seems like the easiest implementation of saving some world state properties and variables that can be user defined.
    - This works at runtime but doesn't seem to save/load properly yet.
    - See the doc for how this is supposed to work.
    
    Example to test are the laboratory ceiling fans:
    - The rotator tool script can check for a world dict value.
    - The dict value is set in the lobby via a switch thats using the world_property_setter script.
    
    Other:
    - Fixed cogito attribute clamping (thanks @OvercastInteractive )
    - Fixed save state file name issues
    - PauseMenu: Cleaned up save file timestap display when no save file exists yet
    215cee5a
    World State Dictionary (WIP) + some fixes
    Phazorknight authored
    World State Dictionary:
    - CogitoPlayerState now saves an additional dictionary called world_dictionary. This is meant for global world state variables.
    - After some experiments and talking to @OvercastInteractive , this seems like the easiest implementation of saving some world state properties and variables that can be user defined.
    - This works at runtime but doesn't seem to save/load properly yet.
    - See the doc for how this is supposed to work.
    
    Example to test are the laboratory ceiling fans:
    - The rotator tool script can check for a world dict value.
    - The dict value is set in the lobby via a switch thats using the world_property_setter script.
    
    Other:
    - Fixed cogito attribute clamping (thanks @OvercastInteractive )
    - Fixed save state file name issues
    - PauseMenu: Cleaned up save file timestap display when no save file exists yet
Loading