Description
AI treats Hyperlane Registrar as a military building
Game Version
Lem v3.1.2 (6df7)
EDIT: Issue still present as of Cepheus 3.4.5 (a361)
What version do you use?
Steam
What expansions do you have installed?
Utopia, Distant Stars, Ancient Relics, Federations
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
From the building definition of Hyperlane Registrar (confusingly named "warp_fluctuator") in common/starbase_buildings/00_starbase_buildings.txt: the ai will only build Hyperlane Registrars at chokepoints.
From the starbase ai_design patterns in common/starbase_types/00_starbase_types.txt: Only Bastion starbases have a defined base value for Hyperlane Registrars.
I'm guessing this is related to the "STARBASE_AURA_WARP_FLUCTUATOR" aura in common/component_templates/00_starbase_building_auras.txt, which seems to be orphaned. Did there used to be a Warp Fluctuator building that was replaced by the Hyperlane Registrar without updating the starbase design patterns?
Also, Gestalt Trading Hubs simply don't have an ai_design section at all.
Steps to reproduce the issue.
Issue present in indicated code files.
Upload Attachment
File(s) attached
AI treats Hyperlane Registrar as a military building
Game Version
Lem v3.1.2 (6df7)
EDIT: Issue still present as of Cepheus 3.4.5 (a361)
What version do you use?
Steam
What expansions do you have installed?
Utopia, Distant Stars, Ancient Relics, Federations
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
From the building definition of Hyperlane Registrar (confusingly named "warp_fluctuator") in common/starbase_buildings/00_starbase_buildings.txt: the ai will only build Hyperlane Registrars at chokepoints.
Code:
warp_fluctuator = {
...
potential = {
exists = owner
owner = {
has_technology = tech_interstellar_economics
is_gestalt = no
}
}
...
station_modifier = {
starbase_trade_collection_range_add = 1
}
show_in_tech = "tech_interstellar_economics"
ai_build_at_chokepoint = yes
ai_build_outside_chokepoint = no
...
}
}
From the starbase ai_design patterns in common/starbase_types/00_starbase_types.txt: Only Bastion starbases have a defined base value for Hyperlane Registrars.
Code:
# Trading Hub
strading_hub = {
...
ai_design = {
...
# token followed by priority
buildings = {
offworld_trading_company = {
base = 1.00
}
nebula_refinery = {
base = 0.8
}
resource_silo = {
base = 0.8
}
naval_logistics_office = {
base = 0.05
}
art_college = {
base = 0.03
}
curator_think_tank = {
base = 0.03
}
}
...
}
}
# Fortress System
sfortress = {
...
ai_design = {
...
# token followed by priority
buildings = {
target_uplink_computer = {
base = 1.00
}
command_center = {
base = 1.00
}
defense_grid = {
base = 1.00
}
communications_jammer = {
base = 0.90
}
disruption_field = {
base = 0.90
}
warp_fluctuator = {
base = 0.90
}
}
...
}
}
I'm guessing this is related to the "STARBASE_AURA_WARP_FLUCTUATOR" aura in common/component_templates/00_starbase_building_auras.txt, which seems to be orphaned. Did there used to be a Warp Fluctuator building that was replaced by the Hyperlane Registrar without updating the starbase design patterns?
Also, Gestalt Trading Hubs simply don't have an ai_design section at all.
Steps to reproduce the issue.
Issue present in indicated code files.
Upload Attachment
File(s) attached
Attachments
Last edited:
- 1