Mod Tutorial: Sugar Daddy

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

Author: DwarfKraft

Last revision: 11 Oct, 2021 at 18:29 UTC

File size: 10.24 KB

On Steam Workshop

Description:

"I do say old chum, this criminal business of yours is bloody exciting! I tell you what, you let me tag along on your business escapades and I’ll see if I can’t find a good use for all this dosh in my wallet."

Lord Charles Sugarfather II has come to Chicago to have the true American Gangster experience, and has heard of your exploits through the article of a certain Veronica Lockhart. He has now made you an offer to become your patron if you allow him to shadow you through Chicago, but you might have a bit of trouble keeping him alive…

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. Listen for when a particular mission is successful.
2. Spawn a customized character in the world.
3. Add/Remove a conversation on a character.
4. Create a "follow" behaviour.
5. Create a new source of weekly income.
6. Adjust combat AI values.
7. And much more!

This mod showcases some key techniques for writing scripts in Empire of Sin.