• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Regolith Muncher

Recruit
49 Badges
Jan 6, 2021
1
0
  • Stellaris: Ancient Relics
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Stellaris: Apocalypse
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall - Revelations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • Cities: Skylines
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
Description
Storybit [Sanity Breakdown - Negative Feedback] Positive Sanity Activation Effect


Windows


Steam

What is your game version?
1011166

What DLC do you have installed?
Space Race, Green Planet, Below and Beyond, Stellaris Dome Set, Marsvision Song Contest, Colony Design Set, Project Laika, In-Dome Buildings Pack

Please explain your issue is in as much detail as possible.
The game files ThePariah.lua uses sanity_damage (used for text) rather than its real negative version (ex: insanity_damage_real). Bug bec. the text states you lose sanity.

Important code:

PlaceObj('StoryBit', {
ActivationEffects = {
PlaceObj('ForEachExecuteEffects', {
'Label', "Colonist",
'Filters', {},
'Effects', {
PlaceObj('ModifyColonistStat', {
'Stat', "Sanity",
'Amount', "<sanity_damage>",
}),
},
}),
},

PlaceObj('StoryBitParamNumber', {
'Name', "sanity_damage",
'Value', 10,
}),

PlaceObj('StoryBitParamNumber', {
'Name', "insanity_damage",
'Value', 10,
}),
PlaceObj('StoryBitParamNumber', {
'Name', "insanity_damage_real",
'Value', -10,
}),

Text = T(999445241150, --[[StoryBit ThePariah Text]] "Now an entire Dome suffers from depression and project it back towards the Empath, making things even worse. Your head thumps with the pain and despair felt by the empath <DisplayName> while you’re trying to think out a solution to the crisis.\n\n<effect>All colonists lose <sanity_damage> Sanity"),

Modding GitHub Repository: https://github.com/surviving-mars/SurvivingMars/blob/master/Data/StoryBit/ThePariah.lua

Can you replicate the issue?
I used cheats (ECM) to trigger the bit and colonist got positive sanity (attached screenshots).


File(s) attached
 

Attachments

  • 20220622192214_1.jpg
    20220622192214_1.jpg
    425,6 KB · Views: 0
  • 20220622192231_1.jpg
    20220622192231_1.jpg
    270,4 KB · Views: 0
  • 20220622192240_1.jpg
    20220622192240_1.jpg
    428,5 KB · Views: 0
Upvote 0