Mod Tutorial: The Gunpowder Shop
"Hey there Cat, you looking to stock up on some explosive items? Well Gary Powderman’s the name and bomb-making is my game. I have the best gunpowder sticks in Chinatown and get a fresh supply every 3 weeks! Just don’t go telling no coppers now, you hear."
Along with being a fully playable mod, this mod code acts as a step by step modding tutorial that teaches a modder how to:
1. Set up a character to spawn
2. Create a world event that will spawn the character
3. Add a shop to the character
4. Create a unique behaviour on the character
This mod showcases some key techniques for writing scripts in Empire of Sin.