I'm trying to add in a building. I haven't been able to find a guide to accomplish this on this forum or the wiki.
The building is a cheat essentially, here's what I got so far:
# Cheaters Anonymous
building_cheaters_shelter = {
icon = "building_junkpile"
base_buildtime = 1
planet_unique = yes
immune_to_bombardment = yes
defense_armies = 25
protects_from_bombardment = yes
planetary_ftl_inhibitor = yes
cost = {
minerals = 1
}
army_modifier = {
army_starting_experience_add = 200
}
planet_modifier = {
planet_orbital_bombardment_damage = -1.00
planet_unrest_add = -500
pop_happiness = 1.00
}
produced_resources = {
energy = 200
minerals = 100
food = 25
influence = 100
unity = 5
society_research = 25
engineering_research = 25
physics_research = 25
}
planet_modifier = {
pop_government_ethic_attraction = 1.00
}
ai_weight = {
weight = 0
}
ai_replace = no
}
So I pasted things together and not sure how some of these will react in game... but questions are:
1. Where do I put the name that shows up in-game? or does it read it from building_cheaters_shelter = ?
2. Since I'm calling for a icon that already exists in the base game, do I need to do anything else for it to show?
3. If I understood the parameters correctly; The ai (sector or opponent) will not build the building, but won't destroy it either if its already on the planet?
Thank you in advance
The building is a cheat essentially, here's what I got so far:
# Cheaters Anonymous
building_cheaters_shelter = {
icon = "building_junkpile"
base_buildtime = 1
planet_unique = yes
immune_to_bombardment = yes
defense_armies = 25
protects_from_bombardment = yes
planetary_ftl_inhibitor = yes
cost = {
minerals = 1
}
army_modifier = {
army_starting_experience_add = 200
}
planet_modifier = {
planet_orbital_bombardment_damage = -1.00
planet_unrest_add = -500
pop_happiness = 1.00
}
produced_resources = {
energy = 200
minerals = 100
food = 25
influence = 100
unity = 5
society_research = 25
engineering_research = 25
physics_research = 25
}
planet_modifier = {
pop_government_ethic_attraction = 1.00
}
ai_weight = {
weight = 0
}
ai_replace = no
}
So I pasted things together and not sure how some of these will react in game... but questions are:
1. Where do I put the name that shows up in-game? or does it read it from building_cheaters_shelter = ?
2. Since I'm calling for a icon that already exists in the base game, do I need to do anything else for it to show?
3. If I understood the parameters correctly; The ai (sector or opponent) will not build the building, but won't destroy it either if its already on the planet?
Thank you in advance