Help me figure out why my personal mod isn't working?

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

Penta2

First Lieutenant
90 Badges
Jan 30, 2011
247
5
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Nemesis
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • BATTLETECH
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • BATTLETECH: Flashpoint
  • Battle for Bosporus
  • Crusader Kings III
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • BATTLETECH: Heavy Metal
  • Prison Architect
  • Hearts of Iron IV: Colonel
  • Surviving Mars: First Colony Edition
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • 500k Club
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • BATTLETECH: Season pass
OK, so. I have a personal mod I use for Stellaris. It's a rather cheaty edict, but it helps me get used to the game.

It worked fine in 1.4.1, but now? It doesn't work for 1.5.1. Doesn't even appear when I go past the launcher, though I edited the mod file to say it supports 1.5.1. How do I need to fix it so it works? I checked the wiki, but the relevant sections are only updated for 1.4.

....I was going to upload the file, but of course the forums won't seem to let me, so I'll paste it in directly.

### Penta's cheaty edict below, comments preceeded by # ###

country_edict = {
name = "blessing_of_Penta" # How do I add localization so it shows up without the underscores in the edict menu?
modifier = { # Why yes these values are huge, that's kinda the point.
ship_upkeep_mult = -0.99
planet_sensor_range_mult = 0.2
spaceport_ship_build_time_mult = -0.33
edict_length_mult = 1.0
edict_influence_cost = -0.99
country_leader_cap=100
country_sector_cap_add=100
pop_growth_req=-10
num_tech_alternatives_add=1
species_leader_exp_gain=1.5
leader_skill_levels = 5
tile_resource_energy_mult = 1.0
tile_resource_minerals_mult = 1.0
tile_resource_food_mult = 1.0
army_attack_morale_mult = 0.3
army_defense_morale_mult = 0.5
all_technology_research_speed = 0.95
}

is_ai = no

influence_cost = 0

allow = {
}

ai_weight = {
weight = 0
}

prerequisites = {
}
}

### Penta's cheaty edict file ends here, .Mod file begins here ###
name="Pentatest"
path="mod/Pentatest"
tags={
"Utilities"
}
supported_version="1.5.1"

### End of .Mod file ###
 

Vinterthorn

Corporal
83 Badges
Nov 18, 2011
29
2
  • King Arthur II
  • Semper Fi
  • Stellaris
  • Tyranny: Archon Edition
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Pillars of Eternity
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • BATTLETECH: Flashpoint
  • Cities: Skylines Industries
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Tyranny - Bastards Wound
  • Tyranny - Tales from the Tiers
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Common Sense
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Stellaris: Necroids
  • Crusader Kings II: Way of Life
Well, in the vanilla game files, I can't find a single occurrence for "is_ai", so might aswell drop that one.
Second, are you playing on PC or something else? Because having a capital letter "P" in your path might be a problem for some reason.
Third, change the capital "P" in your edict's name and put in a lower-case "p". The correct orthography will be established in the language file (see below).

Hope any one of these hits the spot.
If not, I couldn't make out the error.

---

As for the language file, you'll have to recreate the path / folder structure for the localizations you want to support in you mod folder structure, just like you did with the folder in which you placed the edict file itself. Then copy the vanilla localization (probably l_english.yml) into this folder, open the file, search for "edict_" (or better "Empire Edicts") and then add the following lines:

edict_blessing_of_penta:0 "Blessing Of Penta"
edict_blessing_of_penta_desc:0 "whatever your description is supposed to say."

That should work, afaik. Mind though, that you'll have to do this for every language that is supposed to work. Or show correct syntax, that is.
 
Last edited:

Vinterthorn

Corporal
83 Badges
Nov 18, 2011
29
2
  • King Arthur II
  • Semper Fi
  • Stellaris
  • Tyranny: Archon Edition
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Pillars of Eternity
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • BATTLETECH: Flashpoint
  • Cities: Skylines Industries
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Tyranny - Bastards Wound
  • Tyranny - Tales from the Tiers
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Common Sense
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Stellaris: Necroids
  • Crusader Kings II: Way of Life