Skip to content

API Query Culture culture_info

SolWayward edited this page Dec 22, 2025 · 3 revisions

gm.query.culture_info

Endpoint: gm.query.culture_info

Syntax

gm.query.culture_info <cultureId>

Description

Get detailed information about a specific culture by its ID. This command displays comprehensive data about a culture including its name lists, colors, and classification, useful for understanding what names and characteristics will be available when using that culture in commands.

Parameters

Parameter Type Required Description
cultureId string Yes Culture identifier (StringId)

Examples

Get Empire Culture Info

gm.query.culture_info empire

Output:

Culture Information:
ID: empire
Name: Empire
Is Main Culture: True
Is Bandit: False
Color: {Primary Color}
Color2: {Secondary Color}
Male Names: 150
Female Names: 120
Clan Names: 45

Get Bandit Culture Info

gm.query.culture_info looters

Output:

Culture Information:
ID: looters
Name: Looters
Is Main Culture: False
Is Bandit: True
Color: {Primary Color}
Color2: {Secondary Color}
Male Names: 20
Female Names: 10
Clan Names: 15

Get Other Culture Info

# Vlandia
gm.query.culture_info vlandia

# Battania
gm.query.culture_info battania

# Khuzait
gm.query.culture_info khuzait

Usage Tips

Finding Culture IDs: Use gm.query.culture first to find available culture IDs:

# List all cultures to find IDs
gm.query.culture

# Then get detailed info
gm.query.culture_info empire

Understanding Name Lists: The name counts show how many unique names are available:

  • Male Names: Names used for male heroes from this culture
  • Female Names: Names used for female heroes from this culture
  • Clan Names: Names used for clans of this culture

Checking Main vs Bandit: Use this to verify if a culture is:

  • Main Culture: Major faction culture (empire, vlandia, etc.)
  • Bandit Culture: Hostile non-faction culture (looters, bandits, etc.)

Culture Selection Planning: Review name availability before generating many heroes:

# Check how many names are available
gm.query.culture_info empire

# Then generate heroes knowing name variety
gm.hero.generate_lords 50 empire both

Output Fields

Field Description
ID Culture's unique identifier (StringId)
Name Culture's display name
Is Main Culture Whether this is a major faction culture
Is Bandit Whether this is a bandit culture
Color Primary color used for this culture
Color2 Secondary color used for this culture
Male Names Count of available male names in the name list
Female Names Count of available female names in the name list
Clan Names Count of available clan names

Error Handling

Culture Not Found:

Error: Culture with ID '{cultureId}' not found.

Solution: Use gm.query.culture to find valid culture IDs.

Invalid ID:

Error: Please provide a culture ID.
Usage: gm.query.culture_info <cultureId>
Example: gm.query.culture_info empire

Solution: Provide a valid culture ID as parameter.

Related Commands

Notes

Name Availability: When generating multiple heroes from the same culture, the name lists ensure variety. Larger name lists mean more unique names available before potential duplicates.

Culture Colors: The color values represent the faction's primary and secondary colors used in the game's UI and banners.

Main Cultures: Main cultures (empire, vlandia, sturgia, aserai, battania, khuzait) typically have larger name lists and more complete data than bandit or minor cultures.

Use Case: This command is particularly useful for:

  • Planning large hero generation batches
  • Understanding culture characteristics
  • Verifying culture type before use
  • Checking name availability for role-playing scenarios

Last Updated: 2025-12-20

Quick Links

🏠 Home | Quick Reference | Syntax Guide


Hero Commands
Clan Commands
Kingdom Commands
Settlement Commands
Item Commands
Troop Commands
Caravan Commands
Bandit Commands
Query Commands

Clone this wiki locally