For the life of me, I cannot find the correct interface file to add the info to for a new building. Anyone know which files/files need to be edited for new building other than the 00_buildings.txt and the localization file?
Iirc, Add icons to gfx/interface/icons/buildings
just adding them to buildings.txt should do it. upload your code please?
# Starfleet Command
Starfleet_Command = {
base_buildtime = 0
icon = "building_starfleet_command"
cost = {
minerals = 1000
influence = 100
}
allow = {
custom_tooltip = {
text = "requires_building_capital_2"
planet = {
OR = {
has_building = "building_capital_2"
has_building = "building_capital_3"
}
}
}
}
planet_unique = yes
empire_unique = yes
produced_resources = {
influence = 5
engineering_research = @science5
physics_research = @science3
}
adjacency_bonus = {
resource_minerals_add = 3
resource_food_add = 3
resource_energy_add = 3
}
required_resources = {
food = 2
energy = 5
minerals = 2
}
army_modifier = {
army_damage_mult = 0.10
}
planet_modifier = {
planet_army_build_speed_mult = 0.25
planet_fortification_strength = 0.5
}
prerequisites = {
}
}
Yup, that building should be fine. It may be that the building is reliant on food (por minerals, or energy) that is being created as a result of it's own existence to run. If you remove the adjacency bonus, what happens?
Dunno; never tried using food as a building input. Might be because food is a local resource, maybe.