Empire of Sin

Empire of Sin

Not enough ratings
Mod Tutorial: The Gunpowder Shop
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.570 KB
Oct 5, 2021 @ 5:25am
Oct 6, 2021 @ 1:24pm
2 Change Notes ( view )

Subscribe to download
Mod Tutorial: The Gunpowder Shop

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.
7 Comments
Alphonse Capone Oct 9, 2022 @ 3:32am 
I dont understand how to use this mod.
DwarfKraft  [author] Nov 23, 2021 @ 4:14am 
No worries!
Attila-Van-De-Hun™ Nov 23, 2021 @ 3:05am 
Sorry mate i put it on the wrong mod its the gun seller that is showing any guns.
DwarfKraft  [author] Nov 22, 2021 @ 10:57am 
Not sure you're looking in the right place? The Character spawned in Chinatown is a man that's selling explosives.
Attila-Van-De-Hun™ Nov 22, 2021 @ 3:19am 
the woman has no guns for sale for me?
chrisbogregson  [developer] Nov 22, 2021 @ 2:51am 
Hi! The source code for the game is now included as a zip file in the Steam install folder. This page on the moding wiki explains where to find it:
https://eos.paradoxwikis.com/Modding_tips#Using_the_game_source_code_for_reference
Berandal lokajaya Nov 19, 2021 @ 6:08am 
Where is the itemid list? I used to found it in Empire of Sin\EmpireOfSin_Data\StreamingAssets\GameData_Win64~\Lua\Scripts\DataSheets
WeaponRanges.lua on previous version but it's not there anymore. it's look like you changed the files and not update your wiki page yet.

Please make it like Europa Universalis mod wiki pages (well, they make a mini internet on their pages, so just have 50% like it is good enough).

Great works btw, thank you!