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

bulldozer4242

Recruit
Mar 27, 2021
1
0
How do you make a sponsor that doesn't have a penalty to working in a different dome than they live in? I assume it uses the modify label "NonHomeDomePerformancePenalty" but I can't get it to work. Is this the right property, and if so what label and amount should I be using?
 
(I don't use the mod editor)

Looking in the presets for sponsors, it looks like this
Code:
  PlaceObj("Effect_ModifyLabel", {
    Label = "Consts",
    Percent = -100,
    Prop = "NonHomeDomePerformancePenalty"
  })

Hopefully that helps, if you can't get it to work then in a code menuitem thingy paste this code (you'll need to change CustomSponsorID to the sponsor you want to use)
Code:
local function StartupCode()
	if GetMissionSponsor().id == "CustomSponsorID" then
		g_Consts.NonHomeDomePerformancePenalty = 0
	end
end

OnMsg.CityStart = StartupCode
OnMsg.LoadGame = StartupCode