# 3.59 — audit-fix build 1 (segments G, 1-4 findings applied)

## Global
- descriptor.mod: version 2.0 -> 3.59; added dependencies block for Lustful Void [exact workshop title unverified - confirm against workshop page]
- Loc: added missing event option keys xeno_voidbrood.100.a, xeno_draconic.100.a

## Archaeological site (xenomorph_crashed_derelict_digsite)
- Stage icons GFX_archaeological_site_runes (undefined sprite) -> GFX_archaeology_runes_C1..C5
- Added default_site_visible_trigger = yes to visible block
- Added on_roll_failed (standard handler, RANDOM_EVENTS = no_events)
- NOT changed: picture GFX_evt_crashed_ship (existence unverified; check first error.log)

## Armies
- xeno_praetorian_guard / xeno_paladin_guard rebuilt from pop-spawned defensive to recruitable assault armies (sibling template). Removed defensive/is_pop_spawned/can_transport/has_species/show_tech_unlock_if. Added war_exhaustion/time/cost/upkeep/potential_country. Building gates preserved (praetorian: queens_nest_1 OR planetary_hive OR empress_hive; paladin: queen_mother_hive). No tech prerequisites (sibling convention). COSTS ARE PROVISIONAL - balance pass pending.
- ai_weight = { weight = 100 } added to all 14 armies

## Ascension perks
- leader_upkeep_mult -> leaders_upkeep_mult (3 sites: ascension_perks, traditions:903, origins:238)
- Self-exclusion NOT { has_ascension_perk = <self> } added to all 9 potentials
- ai_weight = { factor = 10 } added to all 9

## Buildings (xenomorph_buildings.txt)
- 11 'possible' blocks migrated to 'allow' (zero vanilla usage of 'possible' across 7 current-vanilla files, LV, corpus)

## Vanilla overrides (xenomorph_zzz_vanilla_hive_overrides.txt) - resynced to current vanilla, deltas preserved
- hive_capital, hive_major_capital, spawning_pool, hive_warren, hive_node, hive_cluster, hive_confluence, stronghold: plain mineral cost blocks -> nomadic_cost_switcher (current vanilla convention)
- stronghold, hive_warren: has_planet_flag -> has_carrier_flag (ignore_ai_building_limitations)
- hive_node: restored vanilla AI build-cap OR-block; ai_weight_coefficient 0 -> @static_jobs_ai_weight_coefficient [VETO ITEM - revert to 0 if the zero was deliberate]
- offspring_nest: restored current-vanilla arkship_offspring_outlook allow + destroy_trigger branches
- Texts reconstructed token-faithfully from the Drive game copy (connector mangles whitespace; formatting normalized to tabs)

## Council agendas
- @xeno_agenda_cost declaration moved to top of file (was used at line 9, defined at line 108)

## Casus belli / decisions localisation
- Added casus_belli_-prefixed name keys for all 5 CBs (LV prefix convention)
- Added 38 decision loc keys (19 names + 19 descs) - all planetary infestation/specialization decisions previously displayed raw keys

## NOT applied (pending)
- 281 duplicate loc keys (31 divergent) - deferred to localisation segment
- 12 modifier-name suspects - pending fresh modifiers.log (-script_doc run)
- calculator_* job-family question on the xeno research chain - pending segment 9 vanilla pop_jobs pull
