Skip to main content

NpcShopSystem

6 tools in this family (folder Editor/Tools/NpcShopSystem/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
npcshop_apply_default_templatewritesReturn a ready-made NpcShopSpec for one of the presets: 'blacksmith' (haggle, weapons + armour),
npcshop_export_pricelist_csvwritesWalk every shop in an NpcShopSpec and write a CSV designers can edit in Sheets / Excel.
npcshop_generate_codewritesGenerate the 4 shop C# files into Assets/_Game/NpcShops/:
npcshop_propose_from_promptread-onlyUse the active LLM to propose an NpcShopSpec (namespace, pricing_kind, shops with
npcshop_simulate_economyread-onlyMonte-Carlo simulate N player buy/sell loops over the spec's shops. Each iteration the
npcshop_validate_specread-onlyValidate an NpcShopSpec — checks namespace, pricing_kind, shop npc_id uniqueness,