-
Notifications
You must be signed in to change notification settings - Fork 0
API Query Item modifiers
Endpoint: gm.query.modifiers
gm.query.modifiers [search_terms...]
List all available item quality modifiers with their effects. Modifiers can be applied to weapons and armor to enhance or reduce their stats and value. Use this command to discover available quality levels, their price multipliers, and stat effects.
| Parameter | Type | Required | Description |
|---|---|---|---|
search_terms |
string | No | Search text to filter modifiers by name or StringId (case-insensitive) |
gm.query.modifiersOutput:
Found 10 modifier(s):
StringId Name Price Factor
-------- ---- ------------
bent Bent x0.50
chipped Chipped x0.75
crude Crude x0.90
fine Fine x1.50
flawless Flawless x2.00
masterwork Masterwork x2.50
legendary Legendary x5.00
rusty Rusty x0.60
sturdy Sturdy x1.25
tempered Tempered x1.75
# Search for positive modifiers
gm.query.modifiers fine
gm.query.modifiers masterwork
gm.query.modifiers legendary
# Search for negative modifiers
gm.query.modifiers bent
gm.query.modifiers chipped
gm.query.modifiers rusty
# Partial search
gm.query.modifiers temp # Finds "tempered"
gm.query.modifiers master # Finds "masterwork"Output (fine):
Found 1 modifier(s):
StringId Name Price Factor
-------- ---- ------------
fine Fine x1.50
# Multiple words are combined
gm.query.modifiers fine sturdyFinding Modifiers for Item Commands: Use this to discover modifier IDs:
# List all modifiers
gm.query.modifiers
# Apply to equipped items
gm.item.set_equipped_modifier hero_id fine
# Apply to inventory items
gm.item.set_inventory_modifier hero_id item_id masterworkQuality Tiers: Modifiers generally fall into categories:
# Negative (reduce stats and value)
gm.query.modifiers bent
gm.query.modifiers chipped
gm.query.modifiers crude
gm.query.modifiers rusty
# Basic positive (small improvements)
gm.query.modifiers sturdy
# Good quality (moderate improvements)
gm.query.modifiers fine
gm.query.modifiers tempered
# Excellent quality (major improvements)
gm.query.modifiers flawless
gm.query.modifiers masterwork
# Legendary (maximum improvements)
gm.query.modifiers legendaryPrice Multipliers Guide:
- x0.50-0.90: Negative modifiers (damaged/poor quality)
- x1.00: Normal (no modifier)
- x1.25-1.75: Good quality (+25% to +75% value)
- x2.00-2.50: Excellent quality (+100% to +150% value)
- x5.00+: Legendary quality (+400%+ value)
Case Insensitive Search: Searches work regardless of capitalization:
gm.query.modifiers FINE
gm.query.modifiers Fine
gm.query.modifiers fine
# All return the same resultSorted Output: Results are automatically sorted alphabetically by name for easy browsing.
The command displays results in a formatted table with three columns:
- StringId: The modifier's unique identifier (use this in commands)
- Name: The modifier's display name
- Price Factor: Value multiplier (e.g., x2.00 means item is worth twice as much)
Headers are properly aligned with the column data using dynamic column width calculation.
Negative Modifiers (Reduce value and stats):
- Bent: Minor damage, reduced effectiveness
- Chipped: Light damage, slightly reduced stats
- Crude: Poor craftsmanship, below average
- Rusty: Corroded, significantly reduced effectiveness
Positive Modifiers (Increase value and stats):
- Sturdy: Well-made, slightly improved
- Fine: High quality, moderately improved
- Tempered: Heat-treated, good improvements
- Flawless: Perfect craftsmanship, excellent stats
- Masterwork: Master craftsman work, superior stats
- Legendary: Mythical quality, maximum improvements
-
gm.query.modifier_info- Get detailed modifier information with stat bonuses -
gm.item.set_equipped_modifier- Apply modifier to equipped items -
gm.item.set_inventory_modifier- Apply modifier to inventory items -
gm.item.remove_equipped_modifier- Remove modifiers from equipped items -
gm.query.item- Search for items -
gm.query.item_info- Get item details -
API-Query-Overview- All query commands
Application Scope: Modifiers can only be applied to weapons and armor using item management commands. They cannot be applied to other item types like trade goods or horses.
Stat Effects: While this command shows price multipliers, use gm.query.modifier_info to see detailed stat bonuses including damage, armor, speed, etc.
Visual Effects: Modifiers may affect the visual appearance and name display of items in the game (e.g., "Masterwork Imperial Sword").
Balance Consideration: Higher tier modifiers can significantly impact game balance. Legendary modifiers create extremely powerful items.
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_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