Difference between revisions of "Project Phoenix 2 Spawners"
(→Files) |
|||
Line 9: | Line 9: | ||
*scripts\spawning\spawner\spawner_localization.lua | *scripts\spawning\spawner\spawner_localization.lua | ||
*scripts\spawning\spawner\spawner_ui.lua | *scripts\spawning\spawner\spawner_ui.lua | ||
+ | |||
+ | Below is a list of all the files that involve the spawner save system or where the core structure is. | ||
+ | *scripts\commands\spawning\spawner.lua |
Revision as of 14:19, 30 July 2019
Welcome
Spawners are the bread and butter objects in the game. They will put a creature or plant like cotton in the world and if the player kills the creature or picks the cotton it will respawn the object back into the world by within a time frame of your choosing. The spawn system comes with a template called spawner. It also comes with a user interface in game to edit the properties of the spawner. You also have the option to save the spawners to a data file so when you run a resetworld command you can run the loadspawners command. you can use the command savespawners to save them.
Files
Below is a list of all the files that involve the spawner system or where the core structure is.
- scripts\spawning\spawner\spawner.lua
- scripts\spawning\spawner\spawner_datatables.lua
- scripts\spawning\spawner\spawner_localization.lua
- scripts\spawning\spawner\spawner_ui.lua
Below is a list of all the files that involve the spawner save system or where the core structure is.
- scripts\commands\spawning\spawner.lua