Skip to content

Store Editor

ekudram edited this page Mar 19, 2026 · 2 revisions

Store Editor

Store Editor

The Store Editor is the complete interface for managing every item viewers can purchase. Configure prices, enable/disable items, set purchase limits, control item types (Usable/Wearable/Equippable), and apply quality/research rules across base game + all active mods.

⚠️ Requires: A loaded game save (to scan all ThingDefs from active mods/DLCs)


🎯 Access Methods

Quick Access

  1. Menu Bar: Click RICS button β†’ "Store Editor"
  2. Mod Settings: RICS Settings β†’ Game Events & Cooldowns β†’ "Store Editor" button

πŸͺ Store Editor Interface

πŸ”„ View Modes (Final Form)

  • Category View (default): Logical item groups
  • Mod Source View: Group by originating mod (perfect for large modlists)
  • Switch views: Click the left panel header ("Categories" / "Mod Sources")

πŸ” Search & Filter Section

  • Search Bar (with icon): Real-time filter by name, label, category, or mod source
  • Sort Buttons:
    • Name
    • Price
    • Dynamic toggle (Category ↔ Mod Source) β€” click to switch mode + direction (↑/↓)

βš™οΈ Bulk Actions Toolbar

  • Reset All: Restore every item to ThingDef.BaseMarketValue (min 1)
  • Enable β†’ / Disable β†’ dropdowns:
    • All items
    • Current category / current mod source
    • Type-specific: Usable, Wearable, or Equippable (within current filter)
  • Quality & Research: Opens global quality multipliers + research gating
  • Gear / Help icons (top-right): Event settings + editor help

πŸ“¦ Item Grid

Each row shows:

  • Icon β€” click for full DefInfoWindow (stats, mod data, store config)
  • Name, Category, Mod Source
  • Enabled toggle
  • Type Flags: Usable / Wearable / Equippable (per-item checkboxes)
  • Price field (editable) + individual reset
  • Quantity Limit controls (toggle + value 1–9999)

Bulk Quantity Controls (appear above item list when filtered):

  • Toggle limits on/off for all visible items
  • Quick presets: 1 Stack / 3 Stacks / 5 Stacks

πŸ›’ Item Configuration

Availability & Types

  • Enabled: Controls viewer store visibility
  • Type Flags (Usable / Wearable / Equippable):
    • Auto-detected from ThingDef
    • Manual override per item
    • Bulk toggleable in Enable/Disable menus (category or mod source scoped)

Pricing System

  • Edit any price directly β€” auto-saves instantly to JSON
  • Reset individual or bulk (toolbar + per-category/per-mod options)

Quantity Limits

  • Per-item max purchase amount (respects stackLimit)
  • Bulk apply to currently visible/filtered items only
  • Prevents economy-breaking spam purchases

πŸ“Š Bulk Operations (Final Enhanced System)

Enable/Disable menus now support full scoping:

  • All items
  • Selected category
  • Selected mod source
  • Type-specific within the current view

Price Reset Options:

  • Reset All (toolbar)
  • Reset Current Category
  • Reset Current Mod Source

Quantity Bulk (visible items only):

  • Enable/disable limits
  • 1/3/5 stack presets

πŸ—‚οΈ View Modes

Category View

  • "All", Apparel, Weapons, Food, Medicine, Resources, Buildings, Children's Apparel, Uncategorized, etc.
  • Shows (item count)
  • Bulk operations scoped to selected category

Mod Source View

  • Lists every active mod + RimWorld core
  • Critical for large modpacks β€” bulk enable/disable/reset entire mods at once

πŸ”§ Advanced Features

Def Information Window

Click any item icon β†’ detailed technical viewer (BaseMarketValue, stackLimit, mod origin, etc.)

Quality & Research Integration

Separate dialog (toolbar button) controlling quality tiers (Awful β†’ Legendary) and research requirements.

Auto-Save Behavior

  • Real-time: Every change (price, type flag, quantity, enabled) writes to JSON immediately
  • Bulk actions: Save after completion
  • On Close: Final safety save in PostClose()

πŸ’‘ Best Practices

New Stream Setup

  1. Load a save
  2. Switch to Mod Source View β†’ enable desired mods
  3. Switch to Category View β†’ enable core groups
  4. Set quantity limits on powerful items
  5. Use default prices first, then fine-tune

Economy Balance

  • Quantity-limit legendaries & high-value weapons
  • Disable cheaty/broken items per mod source
  • Use type bulk toggles for quick weapon vs apparel setup

Performance Tips

  • Disable items from unused mods
  • Search + view filtering for 1000+ item lists
  • Reset prices after adding new mods

⚠️ Important Notes

  • Must have loaded save β€” editor only sees active ThingDefs
  • Null categories auto-handled as "Uncategorized"
  • All changes persist via StoreInventory.SaveStoreToJson()
  • Price range: 1 – 1,000,000 | Quantity: 1 – 9,999

πŸ”„ Related Pages

Next: Traits Editor

Clone this wiki locally