I've actually been pondering doing that, and I've warmed up a lot to strings over the past year.Why did you choose to make it necessary to number the scripts?
This is a big stopper if you want to make changes to your game.
Also, modding is impossible using this method: a user-made modification would be incompatible with other mods and future versions of the main game.
All of the scripts in the defined sub-folders should be able to executed.
Here is an example of what I mean: /newent item apple instead of /newent item 1. (the name of the script is apple.cfg)
This makes things more visible and organized.
So I figure I'll do it as a poll, you have a week to decide how it will go.
If we were to switch to a named system, and cache things internally via hashtables instead of vectors, the following would happen
Pros
- Ease of Use
- Modding made Easy
- Ease of Use
- Structure is more maintainable/extensible
- Ease of Use
- Less strict conformance checks.
- Ease of Use
- Backwards compatibility will be completely and irreparably broken; you will need to PLACE ALL OF YOUR ENTITY SPAWNS AGAIN
- Increased Memory Usage (minimal)
- Decreased Performance (minimal)
- Less strict conformance checks!!