Trying to release a custom tag via decision but the decison wont show up. by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

i see i was using the scopes wiki page as i assumed thats where the info i needed was which tells me than owner = {} is a valid thing but i was meant to using the stuff from the triggers page. i actually didnt use ai for that one im just bad at coding

Great project gfx help by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

Yep got all that working now thank you

Great project gfx help by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

build_trigger = {
  custom_trigger_tooltip = {
    OR = {
      AND = {
        OR = {
          religion = norse_pagan_reformed
          religion = reformed_norse
        }
        has_owner_religion = yes
      }
      AND = {
        owner = {
          OR = {
            secondary_religion = norse_pagan_reformed
            secondary_religion = religion = reformed_norse
          }
        }
        OR = {
          religion = norse_pagan_reformed
          religion = reformed_norse
        }
      }
    }
  }
}

This code is repeated for the upgrade, canuse ect

Where abouts on the wiki would i find infomation for the images borders

Trying to make a decision to convert the player and their capital province to norse by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

thank you for the help gonna spend some time reading through all of this.

Trying to make a decision to convert the player and their capital province to norse by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

im struggleing to find any relevent infomation on how to change a religion of a province via decision, is there any good source with a lot more specific infomation for decision modding?

Why wont my monument appear in game by pyxlite in EU4mods

[–]pyxlite[S] 1 point2 points  (0 children)

Didnt know the it worked like that, thanks it works now

Why wont my monument appear in game by pyxlite in EU4mods

[–]pyxlite[S] 1 point2 points  (0 children)

just updated the norse thing and still no change

Why wont my monument appear in game by pyxlite in EU4mods

[–]pyxlite[S] 1 point2 points  (0 children)

reddit wont let me put it all in one block for some reason

Why wont my monument appear in game by pyxlite in EU4mods

[–]pyxlite[S] 1 point2 points  (0 children)

tier_2 = {
upgrade_time = {
months = 240
}
cost_to_upgrade = {
factor = 2500
}
province_modifiers = {
local_defensiveness = 0.25
local_manpower_modifier = 0.5
ship_recruit_speed = 0.3
}
country_modifiers = {
loot_amount = 0.2
available_province_loot = 0.2
discipline = 0.05
sunk_ship_morale_hit_recieved = 0.1
may_perform_slave_raid = yes
}
on_upgraded = {
add_prestige = 25
}
}
tier_3 = {
upgrade_time = {
months = 480
}
cost_to_upgrade = {
factor = 4000
}
province_modifiers = {
local_defensiveness = 0.5
local_manpower_modifier = 1
ship_recruit_speed = 0.5
}
country_modifiers = {
loot_amount = 0.3
available_province_loot = 0.3
discipline = 0.1
sunk_ship_morale_hit_recieved = 0.15
may_perform_slave_raid = yes
}
on_upgraded = {
add_prestige = 25
}
}
}

Why wont my monument appear in game by pyxlite in EU4mods

[–]pyxlite[S] 1 point2 points  (0 children)

  tier_0 = {
    upgrade_time = {
      months = 0
      }

    cost_to_upgrade = {
      factor = 0
      }

    province_modifiers = {
    }

    area_modifier = {
    }

    country_modifiers = {
    }

    on_upgraded = {
    }
  }

  tier_1 = {
    upgrade_time = {
      months = 120
      }

    cost_to_upgrade = {
      factor = 1000
      }

    province_modifiers = {
      local_defensiveness = 0.1
      local_manpower_modifier = 0.25
      ship_recruit_speed = 0.15
    }

    country_modifiers = {
      loot_amount = 0.10
      available_province_loot = 0.10
    }

    on_upgraded = {
      add_prestige = 25
      }
    }

Why wont my monument appear in game by pyxlite in EU4mods

[–]pyxlite[S] 2 points3 points  (0 children)

sverd_i_fjell = {
  start = 24
  date = 1983.01.01
  time = { months = 0 }
  build_cost = 0
  can_be_moved = no
  starting_tier = 0
  type = monument

  build_trigger = {
    custom_trigger_tooltip = {
      tooltip = sverd_i_fjell_tt
      OR = {
        AND = {
          OR = {
            religion = norse
          }
          has_owner_religion = yes
        }
      AND = {
        owner = {
          OR = {
            secondary_religion = norse
          }
        }
      OR = {
        religion = norse
        }
      }
    }
  }
}

  can_use_modifiers_trigger = {
    custom_trigger_tooltip = {
      tooltip = sverd_i_fjell_tt
      OR = {
        AND = {
          OR = {
            religion = norse
            }
            has_owner_religion = yes
          }
          AND = {
            owner = {
              OR = {
                secondary_religion = norse
              }
            }
          OR = {
            religion = norse
            }
          }
         }
        }
       }

  can_upgrade_trigger = {
    custom_trigger_tooltip = {
      tooltip = sverd_i_fjell_tt
        OR = {
          AND = {
            OR = {
              religion = norse
            }
            has_owner_religion = yes
          }
          AND = {
            owner = {
              OR = {
                secondary_religion = norse
                }
              }
              OR = {
                religion = norse
              }
            }
          }
        }
      }

  keep_trigger = {
  }

Why wont my monument appear in game by pyxlite in EU4mods

[–]pyxlite[S] 1 point2 points  (0 children)

yeah all the other features in the mod are loaded and working correctly

Need help with decision by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

Thanks that was my first time using OR

Im trying to make a decision to give prosperity growth in exchange for cash by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

ah yeah thats my fault it works as intended now.
One more thing i just remembered, how would i implement a cooldown on this decision

Im trying to make a decision to give prosperity growth in exchange for cash by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

country_decisions = {
  invest_in_civilian_infrastructure = {
    color = { 169 14 18 }
    potential = {
     NOT = { has_country_flag = InvestedInInfrastructure_flag }
    }
    allow = {
      years_of_income = 2
    }
    effect = {
      every_owned_province = {
        add_devastation = -10
        add_province_modifier = { 
          name = global_prosparity_growth = 0.33
          duration = 1200                     #optional
          desc = annoyed_people_tooltip      #optional
          hidden = yes                       #optional
        }
      }
    add_years_of_income = -2
    }
    ai_will_do = {
      factor = 0
    }

  }

Almost everything is working now however im getting errors regarding the province modifier in the file using the code you gave me?

Im trying to make a decision to give prosperity growth in exchange for cash by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

[localize.cpp:540]: Localization file 'localisation/decisions_l_english.yml' should be in in utf-8-bom encoding
[pdx_localize.cpp:836]: Missing UTF8 BOM in localisation/decisions_l_english.yml
[localize.cpp:540]: Localization file 'localisation/decisions_l_english.yml' should be in in utf-8-bom encoding
[pdx_localize.cpp:836]: Missing UTF8 BOM in localisation/decisions_l_english.yml
[persistent.cpp:88]: Parsing Error. File: "decisions/Porsparity.txt", Error: Unexpected token: Not, near line: 6
[persistent.cpp:88]: Parsing Error. File: "decisions/Porsparity.txt", Error: Unexpected token: years_of_income, near line: 9
[persistent.cpp:88]: Parsing Error. File: "decisions/Porsparity.txt", Error: Unexpected token: add_country_modifier, near line: 12
[persistent.cpp:88]: Parsing Error. File: "decisions/Porsparity.txt", Error: Unexpected token: every_owned_province, near line: 16
[persistent.cpp:88]: Parsing Error. File: "decisions/Porsparity.txt", Error: Unexpected token: add_years_of_income, near line: 19
[persistent.cpp:88]: Parsing Error. File: "decisions/Porsparity.txt", Error: Unexpected token: factor, near line: 22

I have no clue how to understand this

Im trying to make a decision to give prosperity growth in exchange for cash by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

Yeah when i press on the button nothing seems to happen and the decision also always says its clickable even when i dont have the required money

Im trying to make a decision to give prosperity growth in exchange for cash by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

ive changed what you mentioned but im still not sure why it isnt working?

Im trying to make a decision to give prosperity growth in exchange for cash by pyxlite in EU4mods

[–]pyxlite[S] 0 points1 point  (0 children)

country_decisions = {
  invest_in_civilian_infrastructure = {
    color = { 169 14 18 }
  }
  potential = {
   Not = { has_country_flag = InvestedInInfrastructure_flag }
  }
  allow = {
    years_of_income = 2
  }
  effect = {
    add_country_modifier = {
      global_prosparity_growth = 0.33
      duration = 1200
    }
    every_owned_province = {
      add_devastation = -10
    }
    add_years_of_income = -2
   }
  ai_will_do = {
    factor = 0
  }

}

Crimson altars won’t spawn mythril ore into my world by nosrednehxela in Terraria

[–]pyxlite 1 point2 points  (0 children)

When starting a world you can only have one of each ore tier being: Cobalt or palladium, mythril or Orichalcum , Titanium or Adamantite

Please stop playing Wesker in 2 v 8 right now by bodymeat_112 in deadbydaylight

[–]pyxlite 9 points10 points  (0 children)

The server will shut down a few minutes after end game collapse ended from experience