Changes between Version 12 and Version 13 of Random_Map_Generator
- Timestamp:
- Nov 12, 2018, 9:41:07 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Random_Map_Generator
v12 v13 19 19 == Load libraries == 20 20 21 A random map script should first load any libraries it will need. Libraries are stored in the game data directories under `maps/random/libraryName/`. When a library is loaded, all scripts in that directory are parsed and their code made available to the random map script. They are loaded through the function call `Engine.LoadLibrary(libraryName)`. Currently there is only one library available, [wiki:Rmgen_Library rmgen] - in the future there may be others or you can create your own.21 A random map script should first load any libraries it will need. Libraries are stored in the game data directories under `maps/random/libraryName/`. When a library is loaded, all scripts in that directory are parsed and their code made available to the random map script. They are loaded through the function call `Engine.LoadLibrary(libraryName)`. 22 22 23 23 == Initialize the library ==