Skip to main content

Module ceo_builder

Module ceo_builder 

Source
Expand description

CEO Builder backend logic.

Contains the functions for building CEO entries, importing ceo_data.ccd, and querying trait CEOs from the Assembly Kit data.

ConstantsΒ§

BOB_CONFIG_XML πŸ”’
BOB configuration that builds only ceo_data.ccd, silently.
CEO_BOB_TABLES πŸ”’
CEO tables BOB reads when building ceo_data.ccd. Only these are exported.
CEO_REQUIRED_TABLES πŸ”’
CEO tables BOB can’t build ceo_data.ccd without.

FunctionsΒ§

backup_ceo_xmls πŸ”’
Copies the ceo*.xml files of the Assembly Kit’s raw_data/db to .xml.bak files.
build_ceo
Builds ceo_data.ccd in the Assembly Kit from the CEO tables of a pack, running BOB.
build_ceo_entries
Build CEO entries (armour, career, traits, loc) from structured input data.
build_ceo_post
Import ceo_data.ccd into the pack after BOB has run.
export_ceo_tables πŸ”’
Exports the CEO tables under the ceo_db/ folder of a pack to XML files in the Assembly Kit’s raw_data/db.
get_trait_ceos
Fetch all trait CEOs from the Assembly Kit data, resolving display names via loc.
run_bob πŸ”’
Runs BOB to build ceo_data.ccd, with a config that only builds that file.
xml_escaped_value πŸ”’
Returns a table value as BOB expects it in an XML file.