Empire of Sin [steam]

Upload your cheat tables here (No requests)
Post Reply
aSwedishMagyar
Table Makers
Table Makers
Posts: 690
Joined: Mon Jul 06, 2020 3:19 am
Reputation: 1262

Empire of Sin [steam]

Post by aSwedishMagyar »

So I'm posting this not as a finished table but a work in progress and to make a topic where we can all add in some useful analysis. So if you are expecting a table with "X options" that is 100% always going to work, don't bother.

I found (as most of you more than likely did as well) the opcode that accesses all values which is a pain in the ass as usual.

Image

What is nice though, is like Surviving Mars (and The Council funnily enough which I will likely upload something on later), RSI+8 contains the base address of an identifying string that you can use. So, to speed things up, I made an injection script that would save every address and every value of RSI along with it. After doing that I made another script in lua to print out the identifying strings, the address they are found at, and the current value (most are of type double).

Image

You can search through this and add to the current compare list that I have to make the values populate:
  • Cash -> _count
  • Alcohol -> _stored
  • Alcohol Income -> _netIncome
  • Action Points -> _actionPoints
  • Max Number of Actions -> _validActionCount
If you are having trouble getting those to populate you will likely need to disable and then enable the script to refresh the address list.

Also, to avoid any confusion later on here is the correct steps to make the pointers populate:
  • Activate 'Get Pointers'
  • Go in-game into inventory menu and mouse over the Cash and Alcohol info bars at the top of the screen
  • Tab out of game and Activate 'Populate Pointers'
  • *Optional* Activate 'Print Current Valid Addresses' to print in the Lua window all of the currently saved addresses that have valid string identifiers and add their addresses to your table
I will add to this as I figure out more.
Image

How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1
Attachments
EmpireOfSin.CT
04-12-2020
+0 Initial Testing Table
(11.84 KiB) Downloaded 323 times

User avatar
isosplx
Expert Cheater
Expert Cheater
Posts: 174
Joined: Mon Sep 14, 2020 2:57 am
Reputation: 82

Re: Empire of Sin [steam]

Post by isosplx »

Here is my list of Console Command Codes.
Hope This Helps!

Code: Select all

Enabling The Dev Menu
Open the following file in Notepad++:

<Install Directory>\EmpireOfSin_Data\StreamingAssets\Settings\DefaultPlatformSettings_PC.json

In this file you will find a setting called "developerMode". Set it to "true" DO NOT CAPITALIZE!
You should see "[Dev] QA Perf Test" on start menu if it worked.

You can use (`) to open the console.
You can also press ALT + 1 to open a GUI menu.
You can also access the GUI menu via the pause screen.

Cheats (Console Commands)

General Cheats

Dev.toggleGodMode()
Dev.togglePlayerAlwaysHits()
Dev.toggleFastConversations()
Dev.toggleFogOfWar()
Dev.revealAllSafehouses()
Dev.makeAllRivalsKnownToPlayer()
Dev.makeAllRivalFactionsKnownToEachOther()
Dev.makeAllFactionsKnowAllBuildings()
Dev.addBossAbilityCards()
Dev.giveMaxNotoriety(faction)
Dev.toggleEaseNicknameRequirements()

Money Cheats

Dev.addCash(amount)
Dev.addCashToAllFactions(amount)

Alcohol Cheats

Dev.addWhiskey(amount)
Dev.addPremium(amount)
Dev.addTopShelf(amount)
Dev.addRack(amount)
Dev.addSwill(amount)
Dev.addPoison(amount)

Inventory Cheats

Dev.giveAllWeapons()
Dev.giveAllAmmo()
Dev.giveAllArmor()
Dev.giveAllUtility()
Dev.giveAllAbilities()
Dev.addItemToBoss(itemId,count)
Dev.addItemToTarget(itemId,target,count)
Dev.addItem(itemId,count)

Game Speed Cheats

Dev.setGameSpeed(speed)
Dev.setGameSpeedDefault()
Dev.setGameSpeedX02()
Dev.setGameSpeedX04()
Dev.setGameSpeedX08()
Dev.setGameSpeedX16()
Dev.setGameSpeedX32()

Commands For Debuggers, Modders, Tinkerers, And All Other Interested Parties

Dev.toggleDebugInfo()
Dev.toggleScreenshotMode()
Dev.toggleDevOptions()
Dev.toggleTacticTableLogs()

[Takeover Buildings]
Dev.takeOverAllDerelictRackets("BUILDING_DATA.BREWERY")
Dev.takeOverAllDerelictRackets("BUILDING_DATA.CASINO")
Dev.takeOverAllDerelictRackets("BUILDING_DATA.BROTHEL")
Dev.takeOverAllDerelictRackets("BUILDING_DATA.BAR")

for only one building:
Dev.takeOverDerelictRacket("Dev.BUILDING_DATA.BREWERY")
Dev.takeOverDerelictRacket("Dev.BUILDING_DATA.CASINO")
Dev.takeOverDerelictRacket("Dev.BUILDING_DATA.BROTHEL")
Dev.takeOverDerelictRacket("Dev.BUILDING_DATA.BAR")

[Max Customers]
Dev.fillRacketToMaxCustomers()
(must be inside the building to use)

Dev.increaseRating(faction_id)
Dev.reduceRating(faction_id)

Faction IDs:
Dev.increaseRating("FACTION.THE_OUTFIT")
Dev.increaseRating("FACTION.THE_DONOVANS")
Dev.increaseRating("FACTION.LOS_HIJOS")
Dev.increaseRating("FACTION.ALLEY_CATS")
Dev.increaseRating("FACTION.SALTIS_MCERLANE")
Dev.increaseRating("FACTION.GENNA_CRIME_FAMILY")
Dev.increaseRating("FACTION.FORTUNE_TELLERS")
Dev.increaseRating("FACTION.THE_NORTHSIDE_MOB")
Dev.increaseRating("FACTION.CARD_SHARKS")

Dev.reduceRating("FACTION.THE_OUTFIT")
Dev.reduceRating("FACTION.THE_DONOVANS")
Dev.reduceRating("FACTION.LOS_HIJOS")
Dev.reduceRating("FACTION.ALLEY_CATS")
Dev.reduceRating("FACTION.SALTIS_MCERLANE")
Dev.reduceRating("FACTION.GENNA_CRIME_FAMILY")
Dev.reduceRating("FACTION.FORTUNE_TELLERS")
Dev.reduceRating("FACTION.THE_NORTHSIDE_MOB")
Dev.reduceRating("FACTION.CARD_SHARKS")

[MISCELLANEOUS EXTRAS]
EmpireOfSin\EmpireOfSin_Data\StreamingAssets\GameData_Win64~\Lua\Test\DevUtils\CommonDevUtils.lua
(Console Commands)

Dev.enableGodMode(v)
Dev.addCash(amount)
Dev.addCashToAllFactions(amount)
Dev.addWhiskey(amount)
Dev.addPremium(amount)
Dev.addTopShelf(amount)
Dev.addRack(amount)
Dev.addSwill(amount)
Dev.addPoison(amount)
Dev.enableFogOfWar(enable)
Dev.giveAllWeapons()
Dev.giveAllAbilities()
Dev.giveAllAmmo()
Dev.giveAllArmor()
Dev.giveAllUtility()

Dev.giveMaxNotoriety(faction)
Dev.revealAllSafehouses()
Dev.makeAllRivalsKnownToPlayer()
Dev.makeAllRivalFactionsKnownToEachOther()
Dev.makeAllFactionsKnowAllBuildings()

Dev.addBossAbilityCards()
Dev.addItemToBoss(itemId,count)
Dev.addItemToTarget(itemId,target,count)
Dev.addItem(itemId,count)

Dev.toggleFastConversations()
Dev.toggleFogOfWar()
Dev.toggleDebugInfo()
Dev.toggleScreenshotMode()
Dev.toggleGodMode()
Dev.toggleEaseNicknameRequirements()
Dev.toggleTacticTableLogs()
Dev.togglePlayerAlwaysHits()
Dev.toggleDevOptions()
Dev.setGameSpeed(speed)
Dev.setGameSpeedDefault()
Dev.setGameSpeedX02()
Dev.setGameSpeedX04()
Dev.setGameSpeedX08()
Dev.setGameSpeedX16()
Dev.setGameSpeedX32()

AddCash without calling you a cheater
require("World.World").playerFaction.cash:add(1000)

Not sure how to find selected character in combat but can heal using the following
Heal Character in Combat
Heal Boss
require("World.World").playerFaction.members[1]:heal(1000)

Heal First Crew Member
require("World.World").playerFaction.members[2]:heal(1000)

Heal Second Crew Member
require("World.World").playerFaction.members[3]:heal(1000)

Heal Third Crew Member
require("World.World").playerFaction.members[4]:heal(1000)

Heal Fourth Crew Member
require("World.World").playerFaction.members[5]:heal(1000)

Heal Fifth Crew Member
require("World.World").playerFaction.members[6]:heal(1000)

Heal Sixth Crew Member
require("World.World").playerFaction.members[7]:heal(1000)

Heal Seventh Crew Member
require("World.World").playerFaction.members[8]:heal(1000)

Heal Eighth Crew Member
require("World.World").playerFaction.members[9]:heal(1000)

Heal Ninth Crew Member
require("World.World").playerFaction.members[10]:heal(1000)

Heal Tenth Crew Member
require("World.World").playerFaction.members[11]:heal(1000)

List Item except Ammo
Empire of Sin\EmpireOfSin_Data\StreamingAssets\GameData_Win64~\Lua\Config\Items

Ammo:
Empire of Sin\EmpireOfSin_Data\StreamingAssets\GameData_Win64~\Lua\Scripts\Behaviours\Items

Trinket == Equipment

open with Notepad++ if you want

careful not to replace anything

Utility Items
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_01",50) -> Give First Aid Kit (30 Heal) 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_02",50) -> Give Doctor's Bag (50 heal) 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_03",50) -> Give Medic's Kit (65 Heal) 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_04",50) -> Give Bandage (15 Heal) 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_05",50) -> Give Health Tonic 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_06",50) -> Give Herbal Remedy 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_07",50) -> Give Wizard Oil 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_08",50) -> Give Smelling Salts 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_09",50) -> Give Dr. Cutter's Bitters 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_10",50) -> Give Nerve Tonic (50% Damage Reduced 2 Rounds) 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_11",50) -> Give Painkillers 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_12",50) -> Give Liniment Tonic 50x
Dev.addItem("ITEM.UTILITY.HEALING_ITEM_13",50) -> Give Adrenaline Shot 50x

Dev.addItem(itemId,count)
Dev.addItem("ITEM.ARMOR.ARMOR_01",50) -> Give Cotton Padded Vest 50x
Dev.addItem("ITEM.ARMOR.ARMOR_02",50) -> Give Silk Padded Vest 50x
Dev.addItem("ITEM.ARMOR.ARMOR_03",50) -> Give Metal Lined Waiscoat 50x
Dev.addItem("ITEM.ARMOR.ARMOR_04",50) -> Give Metal Lined Jacket 50x
Dev.addItem("ITEM.ARMOR.ARMOR_05",50) -> Give Police Issued Armor 50x
Dev.addItem("ITEM.ARMOR.ARMOR_06",50) -> Give Government Issued Armor 50x
Dev.addItem("ITEM.ARMOR.ARMOR_07",50) -> Give Military Issue Armor 50x 

Dev.addItem(itemId,count)
Dev.addItem("ITEM.EQUIPMENT.TRINKET_01",50) -> Give Silver Cigarette Case 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_02",50) -> Give Hip Flask 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_03",50) -> Give War Medal 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_04",50) -> Give Pair of worn Leather Gloves 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_05",50) -> Give Golden Pocket Watch 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_06",50) -> Give Stethoscope 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_07",50) -> Give Diamond ring 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_08",50) -> Give Gun Maintenance Toolkit 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_09",50) -> Give Old Boxing Gloves 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_10",50) -> Give Ace of Spades 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_11",50) -> Give Lucky Rabbit's Foot 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_12",50) -> Give Business Card 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_13",50) -> Give Rosary Beads 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_14",50) -> Give Hidden Knife 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_15",50) -> Give Combat Training Manual 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_16",50) -> Give Tarnished Locket 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_17",50) -> Give Glamorous Handbag 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_18",50) -> Give Worn Teddy Bear 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_19",50) -> Give Engraved Pill Box 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_20",50) -> Give Custom Lighter 50x
Dev.addItem("ITEM.EQUIPMENT.TRINKET_21",50) -> Give Nellie's Ring 50x

Melee Weapons
Dev.addItem("ITEM.WEAPON.MELEE_01",50) -> Give Stiletto 50x
Dev.addItem("ITEM.WEAPON.MELEE_02",50) -> Give Brass Knuckles 50x
Dev.addItem("ITEM.WEAPON.MELEE_03",50) -> Give Crowbar 50x
Dev.addItem("ITEM.WEAPON.MELEE_04",50) -> Give Police Baton 50x
Dev.addItem("ITEM.WEAPON.MELEE_05",50) -> Give Cut Throat Razor 50x
Dev.addItem("ITEM.WEAPON.MELEE_06",50) -> Give Lead Pipe 50x
Dev.addItem("ITEM.WEAPON.MELEE_07",50) -> Give Bowie Knife 50x
Dev.addItem("ITEM.WEAPON.MELEE_08",50) -> Give Meat Cleaver 50x
Dev.addItem("ITEM.WEAPON.MELEE_09",50) -> Give Sledgehammer 50x
Dev.addItem("ITEM.WEAPON.MELEE_10",50) -> Give Machete 50x
Dev.addItem("ITEM.WEAPON.MELEE_11",50) -> Give Baseball Bat 50x
Dev.addItem("ITEM.WEAPON.MELEE_12",50) -> Give Nail Bat 50x
Dev.addItem("ITEM.WEAPON.MELEE_13",50) -> Give Trench Knife 50x
Dev.addItem("ITEM.WEAPON.MELEE_14",50) -> Give Axe 50x
Dev.addItem("ITEM.WEAPON.MELEE_15",50) -> Give Hammer 50x

Legendary Guns
Dev.addItem("ITEM.WEAPON.LEGENDARY_ZIPGUN_01",50) -> Give Golden Zip Gun 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_HANDGUN_05",50) -> Give Golden Mauser Pistol 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_HANDGUN_06",50) -> Give Golden Service Revolver 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_SHOTGUN_01",50) -> Give Golden Short Barrel Shotgun 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_SHOTGUN_03",50) -> Give Golden Auto-5 Shotgun 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_SUBGUN_01",50) -> Give Golden Tommy Gun 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_RIFLE_04",50) -> Give Golden Gewehr Rifle 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_SNIPER_06",50) -> Give Golden Mosin-Nagant Sniper 50x
Dev.addItem("ITEM.WEAPON.LEGENDARY_MACHINEGUN_03",50) -> Give Golden Lewis Gun 50x

Unique Guns
Dev.addItem("ITEM.WEAPON.UNIQUE_SPECIALIST_05",50) -> Give Dart Gun 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_SPECIALIST_04",50) -> Give LP08 Pistol 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_SPECIALIST_03",50) -> Give Trench Shotgun 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_SPECIALIST_02",50) -> Give Farhill Rifle 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_SPECIALIST_01",50) -> Give Max Gun 08/15 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_BOSS_10",50) -> Give Salazar's Revolvers 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_HANDGUN_01",50) -> Give The Lawmaker 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_HANDGUN_02",50) -> Give Bloodfury 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_HANDGUN_15",50) -> Give The Brooklyn Handshake 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_HANDGUN_16",50) -> Give Street Sweeper 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_HANDGUN_21",50) -> Give S&W Numbers Cruncher 50x 

Unique Melee
Dev.addItem("ITEM.WEAPON.UNIQUE_BOSS_06",50) -> Give Skullcrusher Bat 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_MELEE_17",50) -> Give Trench Knife 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_MELEE_18",50) -> Give Police Baton 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_MISSION_MELEE_19",50) -> Give Sledgehammer 50x

Ammo
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_15",50) -> Blank Darts (Regular Dart)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_14",50) -> Steel Core Darts (10% Crit Chance, +2 Armor Damage, +25 Crit Damage)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_13",50) -> Barbed Darts (10% Crit Chance, 75% Bleed Chance, +25 Crit Damage)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_12",50) -> Viper Darts (10% Crit Chance, 75% Poison Chance, +25 Crit Damage)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_11",50) -> Shatter Rounds (+1 Armor Damage)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_10",50) -> Cutter Rounds (15% Bleed Chance)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_09",50) -> KO Rounds (10% Knockout Chance)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_08",50) -> Dirty Rounds (+10% Poison Chance)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_07",50) -> Dum Dum Round (5% Instant Kill)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_06",50) -> Riot Rounds (+25% Knockback Chance)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_05",50) -> AP Rounds 50x (Ignore Enemy Armor)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_04",50) -> Anvil Rounds (+10 Damage)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_03",50) -> Bear Rounds 50x (+10 Crit Damage)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_02",50) -> High Impact (+15% Crit Chance)
Dev.addItem("ITEM.AMMO.SPECIAL_AMMO_01",50) -> Sure Shot (+10 Marksman)

Armor
Dev.addItem("ITEM.ARMOR.ARMOR_01",50) -> Give Cotton Padded Vest 50x
Dev.addItem("ITEM.ARMOR.ARMOR_02",50) -> Give Silk Padded Vest 50x
Dev.addItem("ITEM.ARMOR.ARMOR_03",50) -> Give Metal Lined Waiscoat 50x
Dev.addItem("ITEM.ARMOR.ARMOR_04",50) -> Give Metal Lined Jacket 50x
Dev.addItem("ITEM.ARMOR.ARMOR_05",50) -> Give Police Issued Armor 50x
Dev.addItem("ITEM.ARMOR.ARMOR_06",50) -> Give Government Issued Armor 50x
Dev.addItem("ITEM.ARMOR.ARMOR_07",50) -> Give Military Issue Armor 50x 

Explosives
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_01",50) -> Give MK2 Grenade 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_02",50) -> Give M17 Stielhandgranate 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_03",50) -> Give Dynamite Stick 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_04",50) -> Give Dynamite Bundle 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_05",50) -> Give Dynamite Stack 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_06",50) -> Give Stender Grenade 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_07",50) -> Give Mills Bomb 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_08",50) -> Give Discus Grenade 50x
Dev.addItem("ITEM.WEAPON.EXPLOSIVE_09",50) -> Give F1 Grenade 50x

Unique Explosives
Dev.addItem("ITEM.WEAPON.UNIQUE_EXPLOSIVE_01",50) -> Give Shrapnel Bomb 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_EXPLOSIVE_02",50) -> Give Time Bomb 50x
Dev.addItem("ITEM.WEAPON.UNIQUE_EXPLOSIVE_03",50) -> Give Cluster Grenade 50x

Thrown Weapons
Dev.addItem("ITEM.WEAPON.THROWN_01",50) -> Give Throwing Knife 50x
Dev.addItem("ITEM.WEAPON.THROWN_02",50) -> Give Throwing Axe 50x

Dev.takeOverAllDerelictRackets("xxxxx_xxxxx.xxxxxx")
Dev.takeOverDerelictRacket(Dev.curTarget)
Note: the single takeover only works on "free" buildings that ones the thug ownes

racket types :
"BUILDING_DATA.BREWERY"
"BUILDING_DATA.CASINO"
"BUILDING_DATA.BROTHEL"
"BUILDING_DATA.BAR"

example:
Dev.takeOverAllDerelictRackets("BUILDING_DATA.BREWERY")

[Change Boss stats]
Dev.adjustSkill("marksmanship",140) -- >> it's for boss char only
Dev.selectedChar.skills:set("marksmanship",300) ---->> for crew/recruit must be selected first

Skills List
"leadership"
"intimidation"
"marksmanship"
"defense"
"explosives"
"melee"
"thievery"
"medical"
"movement"
"initiative"
"persuasion"
"thievery"

This is how to turn your crew into God Mode ,You must select the crew first and then input this :

Dev.selectedChar:addState("Invulnerable")

For your crew to get Ability, you must select the crew first and then input :

Dev.addItemToTarget("ITEM.ABILITY.AbilityID")
Examples:

Crew Abilities
Dev.selectedChar.behaviours:add("LightFooted") => Overwatch does not trigger on movement.
Dev.selectedChar.behaviours:add("KillCordBonus") => Killing an Enemy Does not lose turn regain 1 AP.
Dev.selectedChar.behaviours:add("ColdEfficiency") => Overwatch shots landed triggers might shot again.
Dev.selectedChar.behaviours:add("Revenge") => Automatically counter melee attacks from other characters.
Dev.selectedChar.behaviours:add("Survivor") => Bleedout instead of dying.
Dev.selectedChar.behaviours:add("CoveringFire") => Overwatch triggered by enemy actions, abilities, and movement.
Dev.selectedChar.behaviours:add("ShatteringImpact") => Melee attacks destroy a piece of body armor.
Dev.selectedChar.behaviours:add("RapidReload") => Reload no longer costs AP.
Dev.selectedChar.behaviours:add("BombSuit") => Lowers Knockbck by 50% and Explosives deal 20% less damage.
Dev.selectedChar.behaviours:add("RemedyHeal") => Miracle Elixer Heals You 30 HP over time.

Boss Abilities
Dev.addItemToTarget("ITEM.ABILITY.FIRING_SQUAD") => Friendly or Allied character in range shoot target.

Boss Diplomacy Abilities
Dev.selectedChar.behaviours:add("StrengthInNumbers") => Crew 6 or More - 20% threat generation.
Dev.selectedChar.behaviours:add("FairPrice") => Trade acceptance chance +10%.
Dev.selectedChar.behaviours:add("Peacemaker") => Plus 100% Rating making non-aggression pact.
Dev.selectedChar.behaviours:add("JiveJoint") => Neighborhood Threat Generation -50% opening Speakeasy.
Dev.selectedChar.behaviours:add("RollOfTheDice") => Neighborhood Threat Generation -50% opening Casino.
Dev.selectedChar.behaviours:add("StrongerBonds") => Passive Faction Raiting Gain +1 in Defensive Pact.
Dev.selectedChar.behaviours:add("BygonesBeBygones") => Negative effects with other factions -50% from wars.
Dev.selectedChar.behaviours:add("AtYourService") => Faction Raiting +100 and Honor Gain +50 when honoring pacts .
Dev.selectedChar.behaviours:add("RoomToGrow") => Thret Generation -50% in shared neighborhood.
Dev.selectedChar.behaviours:add("EnemyOfMyEnemy") => Enemy Trades and Truces do not reduce faction rating with business partners.
Dev.selectedChar.behaviours:add("TheHeartbreakKid") => Faction Rating loss breaking treaties -50%.
Dev.selectedChar.behaviours:add("Turncoat") => Truce Duration -50% and Business Arangement Difficulty +20%.
Dev.selectedChar.behaviours:add("Headhunter") => Threat Generation killing bosses -50%.
Dev.selectedChar.behaviours:add("FoundingFarther") => Threat Generation for Large Empire -25%

Empire Bonuses
Dev.selectedChar.behaviours:add("FoundingFarther")
Dev.selectedChar.behaviours:add("EmpireBreweryProductionUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireBrothelAmbianceUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyAmbianceUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireCasinoGamesUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireBrothelSecurityUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireCasinoSecurityUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireBrewerySecurityUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyWordOfMouthUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireBrothelIncreasedEarnings")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyIncreasedEarnings")
Dev.selectedChar.behaviours:add("EmpireBreweryReducedUpkeep")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyIncreasedEarningsStrong")
Dev.selectedChar.behaviours:add("EmpireCasinoUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyFreeUpgrades")
Dev.selectedChar.behaviours:add("EmpireBrothelRaidProtection")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyRaidProtection")
Dev.selectedChar.behaviours:add("EmpireCasinoRaidProtection")
Dev.selectedChar.behaviours:add("EmpireBreweryProductionRateIncrease")
Dev.selectedChar.behaviours:add("EmpireCasinoDrawIncrease")
Dev.selectedChar.behaviours:add("EmpireBreweryExtraGuard")
Dev.selectedChar.behaviours:add("EmpireBrothelExtraGuard")
Dev.selectedChar.behaviours:add("EmpireCasinoExtraGuard")
Dev.selectedChar.behaviours:add("EmpireCasinoSecurityUpgradeDiscountWeak")
Dev.selectedChar.behaviours:add("EmpireCasinoIncreasedEarningsStrong")
Dev.selectedChar.behaviours:add("EmpireBrothelReducedNegativeEvents")
Dev.selectedChar.behaviours:add("EmpireBreweryStorageUpgradeDiscount")
Dev.selectedChar.behaviours:add("EmpireSpeakeasyReducedUpkeep")

Alliance Bonuses
Dev.selectedChar.behaviours:add("AllianceBreweryProductionUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceBrothelAmbianceUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyAmbianceUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceCasinoGamesUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceBrothelSecurityUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceCasinoSecurityUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceBrewerySecurityUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyWordOfMouthUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceBrothelIncreasedEarnings")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyIncreasedEarnings")
Dev.selectedChar.behaviours:add("AllianceBreweryReducedUpkeep")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyIncreasedEarningsStrong")
Dev.selectedChar.behaviours:add("AllianceCasinoUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyAmbianceUpgradeDiscountSmall")
Dev.selectedChar.behaviours:add("AllianceBrothelRaidProtection")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyRaidProtection")
Dev.selectedChar.behaviours:add("AllianceCasinoRaidProtection")
Dev.selectedChar.behaviours:add("AllianceBreweryProductionRateIncrease")
Dev.selectedChar.behaviours:add("AllianceCasinoDrawIncrease")
Dev.selectedChar.behaviours:add("AllianceBrewerySecurityUpgradeDiscountWeak")
Dev.selectedChar.behaviours:add("AllianceBrothelSecurityUpgradeDiscountWeak")
Dev.selectedChar.behaviours:add("AllianceCasinoSecurityUpgradeDiscountWeak")
Dev.selectedChar.behaviours:add("AllianceCasinoIncreasedEarningsStrong")
Dev.selectedChar.behaviours:add("AllianceBrothelReducedNegativeEvents")
Dev.selectedChar.behaviours:add("AllianceBreweryStorageUpgradeDiscount")
Dev.selectedChar.behaviours:add("AllianceSpeakeasyReducedUpkeep")

Weapons Proficiency Training
Dev.addItemToTarget("ITEM.ABILITY.SUBMACHINE_GUN_TRAINING")
Dev.addItemToTarget("ITEM.ABILITY.SHOTGUN_TRAINING")
Dev.addItemToTarget("ITEM.ABILITY.RIFLE_TRAINING")
Dev.addItemToTarget("ITEM.ABILITY.SNIPER_RIFLE_TRAINING")
Dev.addItemToTarget("ITEM.ABILITY.MACHINE_GUN_TRAINING")
Dev.addItemToTarget("ITEM.ABILITY.EXPLOSIVE_ORDNANCE_TRAINING")

You can find Ability ID at Empire of Sin\EmpireOfSin_Data\StreamingAssets\GameData_Win64~\Lua\Scripts\Abilities

Dev.selectedChar:addState("PerfectlyLethal")
Note: This only can give your crew marksmanship, melee and damage stat to 1000

Here is the removal code for all skills and behaviors. This works for ALL traits, etc...

Dev.selectedChar.behaviours:add("PickPocket")
Using this code 30 times will stack PickPocket and you will be able to loot many things.

Dev.selectedChar.behaviours:removeWithId("PickPocket")
You will have to use this multiple times

---
Dev.selectedChar.behaviours:addWithExtraDuration(behaviourId, false/true, duration)

Ways to use

Dev.selectedChar.behaviours:addWithExtraDuration("AdrenalineShotBonus", 9999) - WIll give 9999 turns/rounds before it goes away

Dev.selectedChar.behaviours:addWithExtraDuration("AdrenalineShotBonus", true) - There will be no cooldown and you can permanently have the bonus

If you dont want the bonus anymore you can use the code
Dev.selectedChar.behaviours:removeWithId("AdrenalineShotBonus")

Use this code instead and the trait will activate properly.
Dev.selectedChar.behaviours:addSingleton("HairTrigger")
Dev.selectedChar.behaviours:addSingleton("StrikeAndMove")

[Some Traits]
Brave
Bodyguard
Immovable (10% knock resist)
Brawny (+10 damage/melee)
TrustNoOne (+1 move +10 initiative +10 marksman when no one is in 10 meters)
Happy
Tolerant
ShootFirst
Reckless
Naive (-1% Salary)
Greedy (+1% Salary)
ACatHasNineLives
HairTrigger
Religious
ThickSkinned
Boxer
Careful
Poverty
Immigrant
GangLeader
AlwaysKeepYourWord
Privileged
SecondGeneration
Calm (25% bleed not die)
FellOnHardTimes
Boxer
FoolAndHisMoneyAreSoonParted
TheWorkPraisesTheMan (-30% speakeasy security)
ReformSchool
StrictlySchooled
StayedInSchool
FellOnHardTimes
Kind
Delinquent
Beautiful
ChildLabor
EasyComeEasyGo (No Morale Loss)
APennySavedIsAPennyEarned (-15% Assigned Racket Upkeep)
PerfectlyLethal


Empire Bonuses
Dev.player.faction.boss:applyBonus("EmpireBreweryProductionUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireBrothelAmbianceUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyAmbianceUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireCasinoGamesUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireBrothelSecurityUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireCasinoSecurityUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireBrewerySecurityUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyWordOfMouthUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireBrothelIncreasedEarnings")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyIncreasedEarnings")
Dev.player.faction.boss:applyBonus("EmpireBreweryReducedUpkeep")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyIncreasedEarningsStrong")
Dev.player.faction.boss:applyBonus("EmpireCasinoUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyFreeUpgrades")
Dev.player.faction.boss:applyBonus("EmpireBrothelRaidProtection")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyRaidProtection")
Dev.player.faction.boss:applyBonus("EmpireCasinoRaidProtection")
Dev.player.faction.boss:applyBonus("EmpireBreweryProductionRateIncrease")
Dev.player.faction.boss:applyBonus("EmpireCasinoDrawIncrease")
Dev.player.faction.boss:applyBonus("EmpireBreweryExtraGuard")
Dev.player.faction.boss:applyBonus("EmpireBrothelExtraGuard")
Dev.player.faction.boss:applyBonus("EmpireCasinoExtraGuard")
Dev.player.faction.boss:applyBonus("EmpireCasinoSecurityUpgradeDiscountWeak")
Dev.player.faction.boss:applyBonus("EmpireCasinoIncreasedEarningsStrong")
Dev.player.faction.boss:applyBonus("EmpireBrothelReducedNegativeEvents")
Dev.player.faction.boss:applyBonus("EmpireBreweryStorageUpgradeDiscount")
Dev.player.faction.boss:applyBonus("EmpireSpeakeasyReducedUpkeep")


Alliance Bonuses
Dev.player.faction.boss:applyBonus("AllianceBreweryProductionUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceBrothelAmbianceUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyAmbianceUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceCasinoGamesUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceBrothelSecurityUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceCasinoSecurityUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceBrewerySecurityUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyWordOfMouthUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceBrothelIncreasedEarnings")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyIncreasedEarnings")
Dev.player.faction.boss:applyBonus("AllianceBreweryReducedUpkeep")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyIncreasedEarningsStrong")
Dev.player.faction.boss:applyBonus("AllianceCasinoUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyAmbianceUpgradeDiscountSmall")
Dev.player.faction.boss:applyBonus("AllianceBrothelRaidProtection")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyRaidProtection")
Dev.player.faction.boss:applyBonus("AllianceCasinoRaidProtection")
Dev.player.faction.boss:applyBonus("AllianceBreweryProductionRateIncrease")
Dev.player.faction.boss:applyBonus("AllianceCasinoDrawIncrease")
Dev.player.faction.boss:applyBonus("AllianceBrewerySecurityUpgradeDiscountWeak")
Dev.player.faction.boss:applyBonus("AllianceBrothelSecurityUpgradeDiscountWeak")
Dev.player.faction.boss:applyBonus("AllianceCasinoSecurityUpgradeDiscountWeak")
Dev.player.faction.boss:applyBonus("AllianceCasinoIncreasedEarningsStrong")
Dev.player.faction.boss:applyBonus("AllianceBrothelReducedNegativeEvents")
Dev.player.faction.boss:applyBonus("AllianceBreweryStorageUpgradeDiscount")
Dev.player.faction.boss:applyBonus("AllianceSpeakeasyReducedUpkeep")


To remove the bonus, Make sure to select your boss and use this code.
Dev.selectedChar.behaviours:removeWithId("PutTextHere")

No Salary for Hired Selected Gangster
Dev.selectedChar.behaviours:addSingleton("TutorialGangster")

EDIT: Was creating too many posts

Here is the code to increase Loyalty and Morale

Dev.selectedChar.loyalty:add(500)
Dev.selectedChar:addMorale(500)

and vise versa

Dev.selectedChar.loyalty:subtract(500)
Dev.selectedChar:subtractMorale(500)

Post Reply

Who is online

Users browsing this forum: anewsmsng, Micrologist, RMX052, sasdard, YandexBot