LastSword
Prince
- Joined
- Feb 24, 2013
- Messages
- 1,129
Imagine I have lua code used in mod A and mod B. Both mods rely on this code, however it is pointless (multipling same operations) for mod B to have this code if mod A is already having it.
I am looking for the way to solve this.
Obviously, it must work for every game initiation (new one/load). Included the fact that player may load game multiple times in same turn (making game turn not reliable).
What can be helpful: something unique (ID/string) generated upon each game initiation.
I am looking for the way to solve this.
Obviously, it must work for every game initiation (new one/load). Included the fact that player may load game multiple times in same turn (making game turn not reliable).
What can be helpful: something unique (ID/string) generated upon each game initiation.