add user data in game


  • Culture

    I think that players GCL should be available globally. In a game where humans are the players they are capable of looking up leader boards, so if our scripts are going to be able to make similar decisions automatically we need to have access to this data.

    A very simple example-

    Game.players[user].gcl

    On another note, I think there should be a `USERNAME` constant defined by the game, so that open source libraries which need to know the username can consistently get it.


  • Culture

    I'd like to have GCL levels as well, it makes auto-retaliation and determining targets a lot easier.

    Maybe it's an idea to add this to the owner object in OwnedStructure

    The global constant is a very good idea. I currently got "memOwner" in memory stored for this purpose.