Mod Tutorial: The Gunpowder Shop

If you liked this item, please rate it up on Steam Workshop page.

Author: DwarfKraft

Last revision: 6 Oct, 2021 at 21:24 UTC

File size: 3.07 KB

On Steam Workshop

Description:

"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.