Home - JBurlison/Pandaros.API GitHub Wiki
API Feature List:
- Player Magic Items See Here
- Train System
- Colonists Magic Items See Here
- Connected Block System (think minecraft stairs/fences the way things connect)
- Ore Layers
- Multi-Tier Science
- Loot Tables
- Bosses
- Custom Zombies
- Individual job cooldowns per colonist
- New Job Type: Roaming Job can roam around the colony doing job objectives
- JSON Help menu
- localization helpers
- Logger
- Configuration
- Player/Colony/Colonist persistent state items.
- Game Difficulty
- Happiness Effect/Causes loaders
- Recipie/Texturemapping/Item creation Code helpers and base classes
- Animation helper to make meshes move
- Functioning doors
- Settable Spawn Point - Configurable in the Pandaros.API.json in the world save directory.
- Local web API at http://127.0.0.1:10984/
- Query http://127.0.0.1:10984/ for XML OpenAPI doc http://127.0.0.1:10984/Yaml for Yaml open api documentation.
- This the listen address and port is configurable in the Pandaros.API.json in the world save directory.
To make a mod extension you must first create a C# mod project. You can find more information about how to do that Here!
Once you have your project, you need to reference the latest Pandaros.API.dll. That's it! You are ready to go! Pandaros.API will scan each mod for the extension and interface implementations and load them in as long as you have a valid Colony Survival mod.
Note: You do not have to register your IHappinessCause and IHappinessEffect, Pandaros.API will detect these and load them for you.
- Extending the Roaming Job (Machinists type)
- Adding New Roaming Job Objectives
- Added New Bosses
- Adding Player Magic Items, Armor and Weapons in code
- Multi-Tier Science
- Loot Tables
- Custom Zombies
- Animated Objects
JSON Extensions
- Adding Functioning Doors
- Adding Ore Layers
- Adding Connected Blocks, Magic Items, Armor and Weapons - Connected blocks system works similar to minecrafts stair/fence/track..etc.. where blocks auto change based on blocked placed next to them.
- Help Menu/In Game Wiki
Other points of interest when using Pandaros.API!
Here are some other features you can use that have plenty of public methods and utilities like creating configuration settings and adding new science and research!
- Logging - Check how creating a simple static class to write a full fledged file and console logger for your mod!
- Chat
- Configuration Class - Similar to logging created a static class around the CSModConfiguration class to handle all of settlers configuration.
- Player State and Configuration
- Colony State and Configuration
- Colonists Inventory, State and Configuration
- Static Items See here for static Items
- IOnTimedUpdate - callback for set update times, like most other things in settlers, just implement the interface and settlers will cal lit.