-
Notifications
You must be signed in to change notification settings - Fork 0
API Query Culture culture
Endpoint: gm.query.culture
gm.query.culture [search_terms] [main|bandit] [sort:field[:desc]]
List all cultures in the game with optional filtering and sorting. Use this command to discover available cultures for hero generation, settlement management, and other culture-related commands. Cultures determine character names, appearance styles, equipment types, and faction associations.
| Parameter | Type | Required | Description |
|---|---|---|---|
search_terms |
string | No | Search text to filter cultures by name or ID |
type |
string | No | Culture type filter: 'main' for main faction cultures, 'bandit' for bandit cultures |
sort |
string | No | Sort parameter in format sort:field[:desc]. Fields: 'id' (default), 'name'. Add ':desc' for descending order |
gm.query.cultureOutput:
Found 12 culture(s) matching all cultures:
StringId Name Type
-------- ---- ----
empire Empire Main
vlandia Vlandia Main
sturgia Sturgia Main
aserai Aserai Main
battania Battania Main
khuzait Khuzait Main
looters Looters Bandit
mountain_bandits Mountain Bandits Bandit
forest_bandits Forest Bandits Bandit
sea_raiders Sea Raiders Bandit
desert_bandits Desert Bandits Bandit
steppe_bandits Steppe Bandits Bandit
# List only main cultures
gm.query.culture main
# List only bandit cultures
gm.query.culture banditOutput (main):
Found 6 culture(s) matching type: main:
StringId Name Type
-------- ---- ----
empire Empire Main
vlandia Vlandia Main
sturgia Sturgia Main
aserai Aserai Main
battania Battania Main
khuzait Khuzait Main
# Search by name
gm.query.culture empire
gm.query.culture vland
gm.query.culture bandit
# Search with type filter
gm.query.culture mountain mainOutput:
Found 1 culture(s) matching search: 'empire':
StringId Name Type
-------- ---- ----
empire Empire Main
# Sort by name ascending
gm.query.culture sort:name
# Sort by name descending
gm.query.culture sort:name:desc
# Sort by ID descending
gm.query.culture sort:id:desc
# Combine with filters
gm.query.culture main sort:nameOutput:
Found 6 culture(s) matching type: main, sort: name (asc):
StringId Name Type
-------- ---- ----
aserai Aserai Main
battania Battania Main
empire Empire Main
khuzait Khuzait Main
sturgia Sturgia Main
vlandia Vlandia Main
Finding Cultures for Commands: Use this to discover culture IDs for use in other commands:
# Find available cultures
gm.query.culture
# Then use in hero generation
gm.hero.generate_lords 10 empire male
gm.hero.create_lord 'Lord Name' vlandia maleCulture Groups: In hero generation commands, you can use:
-
main_cultures- All main faction cultures (empire, vlandia, sturgia, aserai, battania, khuzait) -
bandit_cultures- All bandit cultures -
all_cultures- Every culture in the game
Search Tips:
# Partial matching works
gm.query.culture emp # Finds empire
gm.query.culture vla # Finds vlandia
# Case insensitive
gm.query.culture EMPIRE
gm.query.culture EmpireCombining Parameters: You can combine search, type filter, and sorting:
# Search for specific type with sorting
gm.query.culture main sort:name
gm.query.culture bandit sort:name:desc
# Search term with type filter
gm.query.culture mountain banditDefault Behavior: Without parameters, lists all cultures sorted by ID ascending.
The command displays results in a formatted table with three columns:
- StringId: The culture's unique identifier (use this in commands)
- Name: The culture's display name
- Type: Culture category (Main, Bandit, or Minor)
Main Cultures: Major faction cultures with full name lists and equipment:
- Empire - Southern, Northern, and Western Empire factions
- Vlandia - Vlandian Kingdom
- Sturgia - Sturgian Kingdom
- Aserai - Aserai Sultanate
- Battania - Battanian Kingdom
- Khuzait - Khuzait Khanate
Bandit Cultures: Hostile non-faction cultures:
- Looters - Generic bandits
- Mountain Bandits - Highland bandits
- Forest Bandits - Woodland bandits
- Sea Raiders - Coastal raiders
- Desert Bandits - Desert raiders
- Steppe Bandits - Plains raiders
Minor Cultures: Smaller cultural groups (if present in your game)
-
gm.query.culture_info- Get detailed culture information -
gm.hero.generate_lords- Generate lords with culture filter -
gm.hero.create_lord- Create lord with culture filter -
gm.settlement.spawn_wanderer- Spawn wanderer with culture filter -
gm.settlement.set_culture- Change settlement culture -
API-Query-Overview- All query commands
Use in Hero Commands: Culture IDs from this command can be used in:
-
gm.hero.generate_lordsfor filtering lord templates -
gm.hero.create_lordfor filtering lord templates -
gm.settlement.spawn_wandererfor filtering wanderer templates
Multiple Cultures in Commands: When using hero generation commands, you can specify multiple cultures separated by semicolons (no spaces):
gm.hero.generate_lords 10 vlandia;empire;battania maleCulture Effects: Culture determines:
- Available character names (male/female name lists)
- Character appearance styles
- Default equipment types
- Clan name lists
- Faction associations
Last Updated: 2025-12-20
🏠 Home | Quick Reference | Syntax Guide
Hero Commands
- gm.hero.abort_pregnancy
- gm.hero.add_gold
- gm.hero.add_hero_to_party
- gm.hero.create_companions
- gm.hero.create_lord
- gm.hero.create_party
- gm.hero.divorce
- gm.hero.edit_appearance
- gm.hero.edit_party
- gm.hero.equip_hero
- gm.hero.export_character
- gm.hero.generate_lords
- gm.hero.give_birth
- gm.hero.heal
- gm.hero.import_character
- gm.hero.impregnate
- gm.hero.imprison
- gm.hero.kill
- gm.hero.list_appearances
- gm.hero.list_characters
- gm.hero.list_developments
- gm.hero.list_traits
- gm.hero.load_appearance
- gm.hero.load_character
- gm.hero.load_development
- gm.hero.load_traits
- gm.hero.marry
- gm.hero.open_inventory
- gm.hero.release
- gm.hero.remove_clan
- gm.hero.rename
- gm.hero.save_appearance
- gm.hero.save_development
- gm.hero.save_traits
- gm.hero.set_age
- gm.hero.set_clan
- gm.hero.set_culture
- gm.hero.set_gold
- gm.hero.set_relation
- gm.hero.start_convrsation
Clan Commands
- gm.clan.add_gold
- gm.clan.add_gold_leader
- gm.clan.add_hero
- gm.clan.add_renown
- gm.clan.create_clan
- gm.clan.create_minor_clan
- gm.clan.destroy
- gm.clan.edit_banner
- gm.clan.equip_heroes
- gm.clan.generate_clans
- gm.clan.give_gold
- gm.clan.rename
- gm.clan.set_culture
- gm.clan.set_gold
- gm.clan.set_leader
- gm.clan.set_renown
- gm.clan.set_tier
- gm.clan.sync_kingdom_colors
Kingdom Commands
- gm.kingdom.add_clan
- gm.kingdom.call_ally_to_war
- gm.kingdom.create_kingdom
- gm.kingdom.declare_alliance
- gm.kingdom.declare_war
- gm.kingdom.destroy
- gm.kingdom.edit_banner
- gm.kingdom.equip_heroes
- gm.kingdom.generate_kingdoms
- gm.kingdom.get_tribute_info
- gm.kingdom.make_peace
- gm.kingdom.pay_tribute
- gm.kingdom.remove_clan
- gm.kingdom.rename
- gm.kingdom.set_ruler
- gm.kingdom.sync_vassal_banners
- gm.kingdom.trade_agreement
Settlement Commands
- gm.settlement.add_militia
- gm.settlement.fill_garrison
- gm.settlement.give_food
- gm.settlement.give_gold
- gm.settlement.rename
- gm.settlement.reset_names
- gm.settlement.set_culture
- gm.settlement.set_hearths
- gm.settlement.set_loyalty
- gm.settlement.set_owner
- gm.settlement.set_owner_clan
- gm.settlement.set_prosperity
- gm.settlement.set_security
- gm.settlement.set_village_bound_settlement
- gm.settlement.set_village_trade_bound_settlement
- gm.settlement.spawn_wanderer
- gm.settlement.upgrade_buildings
Item Commands
- gm.item.add
- gm.item.equip
- gm.item.equip_slot
- gm.item.list_equipped
- gm.item.list_inventory
- gm.item.load_equipment
- gm.item.load_equipment_both
- gm.item.load_equipment_civilian
- gm.item.remove
- gm.item.remove_all
- gm.item.remove_equipped
- gm.item.remove_equipped_modifier
- gm.item.save_equipment
- gm.item.save_equipment_both
- gm.item.save_equipment_civilian
- gm.item.set_equipped_modifier
- gm.item.set_inventory_modifier
- gm.item.transfer
- gm.item.unequip
- gm.item.unequip_all
- gm.item.unequip_slot
Query Commands
- gm.query.character_objects
- gm.query.character_objects_any
- gm.query.character_objects_info
- gm.query.clan
- gm.query.clan_any
- gm.query.clan_info
- gm.query.culture
- gm.query.culture_info
- gm.query.hero
- gm.query.hero_any
- gm.query.hero_info
- gm.query.item
- gm.query.item_any
- gm.query.item_info
- gm.query.kingdom
- gm.query.kingdom_any
- gm.query.kingdom_info
- gm.query.modifier_info
- gm.query.modifiers
- gm.query.settlement
- gm.query.settlement_any
- gm.query.settlement_info
- gm.query.troop
- gm.query.troop_any
- gm.query.troop_info