Line 3,699: |
Line 3,699: |
| ===Custom shops=== | | ===Custom shops=== |
| ====Format==== | | ====Format==== |
− | You can now create and edit shops via the new <samp>Data/Shops</samp> asset. This consists of a list of models with these fields: | + | You can now create and edit shops via the new <samp>Data/Shops</samp> asset. This consists of a string → model lookup, where the key matches the <samp>ID</samp> field and the value is a model with these fields: |
| | | |
| {| class="wikitable" | | {| class="wikitable" |
Line 3,708: |
Line 3,708: |
| | <samp>ID</samp> | | | <samp>ID</samp> |
| | A unique ID for the shop. For a custom shop, you should use a globally unique ID which includes your mod ID like <samp>ExampleMod.Id_ShopName</samp>. | | | A unique ID for the shop. For a custom shop, you should use a globally unique ID which includes your mod ID like <samp>ExampleMod.Id_ShopName</samp>. |
− |
| |
− | The vanilla shop IDs defined in <samp>Data/Shops</samp> are:
| |
− | {| class="wikitable sortable"
| |
− | |-
| |
− | ! shop
| |
− | ! ID
| |
− | |-
| |
− | | [[Abandoned House|Abandoned house shop]]
| |
− | | <samp>HatMouse</samp>
| |
− | |-
| |
− | | [[Adventurer's Guild]]
| |
− | | <samp>AdventureShop</samp>
| |
− | |-
| |
− | | [[Casino]]
| |
− | | <samp>Casino</samp>
| |
− | |-
| |
− | | [[Blacksmith|Clint's blacksmith shop]]
| |
− | | <samp>Blacksmith</samp>
| |
− | |-
| |
− | | [[Blacksmith|Clint's tool upgrade shop]]
| |
− | | <samp>ClintUpgrade</samp>
| |
− | |-
| |
− | | [[Desert Trader|Desert trader]]
| |
− | | <samp>DesertTrade</samp>
| |
− | |-
| |
− | | [[Dwarf#Shop|Dwarf's shop]]
| |
− | | <samp>Dwarf</samp>
| |
− | |-
| |
− | | [[Harvey's Clinic|Harvey's clinic]]
| |
− | | <samp>Hospital</samp>
| |
− | |-
| |
− | | [[Ice Cream Stand|Ice-cream stand]]
| |
− | | <samp>IceCreamStand</samp>
| |
− | |-
| |
− | | [[Island Trader|Island trader]]
| |
− | | <samp>IslandTrade</samp>
| |
− | |-
| |
− | | [[Joja Mart]]
| |
− | | <samp>Joja</samp>
| |
− | |-
| |
− | | [[Krobus|Krobus' shop]]
| |
− | | <samp>ShadowShop</samp>
| |
− | |-
| |
− | | [[Marnie's Ranch|Marnie's ranch]]
| |
− | | <samp>AnimalShop</samp>
| |
− | |-
| |
− | | [[Pierre's General Store|Pierre's general store]]
| |
− | | <samp>SeedShop</samp>
| |
− | |-
| |
− | | [[Carpenter's Shop|Robin's carpenter shop]]
| |
− | | <samp>Carpenter</samp>
| |
− | |-
| |
− | | [[Saloon|Stardrop Saloon]]
| |
− | | <samp>Saloon</samp>
| |
− | |-
| |
− | | [[Oasis|Sandy's Oasis shop]]
| |
− | | <samp>Sandy</samp>
| |
− | |-
| |
− | | [[Traveling Cart|Traveling cart]]
| |
− | | <samp>Traveler</samp>
| |
− | |-
| |
− | | [[Fish Shop|Willy's fish shop]]
| |
− | | <samp>FishShop</samp>
| |
− | |}
| |
| |- | | |- |
| | <samp>ItemGroups</samp> | | | <samp>ItemGroups</samp> |
Line 4,142: |
Line 4,078: |
| ] | | ] |
| }</nowiki>|lang=javascript}} | | }</nowiki>|lang=javascript}} |
| + | |
| + | ====Vanilla shop IDs==== |
| + | Most vanilla shops are now defined in <samp>Data/Shops</samp> too, using these shop IDs: |
| + | {| class="wikitable sortable" |
| + | |- |
| + | ! shop |
| + | ! ID |
| + | |- |
| + | | [[Abandoned House|Abandoned house shop]] |
| + | | <samp>HatMouse</samp> |
| + | |- |
| + | | [[Adventurer's Guild]] |
| + | | <samp>AdventureShop</samp> |
| + | |- |
| + | | [[Casino]] |
| + | | <samp>Casino</samp> |
| + | |- |
| + | | [[Blacksmith|Clint's blacksmith shop]] |
| + | | <samp>Blacksmith</samp> |
| + | |- |
| + | | [[Blacksmith|Clint's tool upgrade shop]] |
| + | | <samp>ClintUpgrade</samp> |
| + | |- |
| + | | [[Desert Trader|Desert trader]] |
| + | | <samp>DesertTrade</samp> |
| + | |- |
| + | | [[Dwarf#Shop|Dwarf's shop]] |
| + | | <samp>Dwarf</samp> |
| + | |- |
| + | | [[Harvey's Clinic|Harvey's clinic]] |
| + | | <samp>Hospital</samp> |
| + | |- |
| + | | [[Ice Cream Stand|Ice-cream stand]] |
| + | | <samp>IceCreamStand</samp> |
| + | |- |
| + | | [[Island Trader|Island trader]] |
| + | | <samp>IslandTrade</samp> |
| + | |- |
| + | | [[Joja Mart]] |
| + | | <samp>Joja</samp> |
| + | |- |
| + | | [[Krobus|Krobus' shop]] |
| + | | <samp>ShadowShop</samp> |
| + | |- |
| + | | [[Marnie's Ranch|Marnie's ranch]] |
| + | | <samp>AnimalShop</samp> |
| + | |- |
| + | | [[Pierre's General Store|Pierre's general store]] |
| + | | <samp>SeedShop</samp> |
| + | |- |
| + | | [[Carpenter's Shop|Robin's carpenter shop]] |
| + | | <samp>Carpenter</samp> |
| + | |- |
| + | | [[Saloon|Stardrop Saloon]] |
| + | | <samp>Saloon</samp> |
| + | |- |
| + | | [[Oasis|Sandy's Oasis shop]] |
| + | | <samp>Sandy</samp> |
| + | |- |
| + | | [[Traveling Cart|Traveling cart]] |
| + | | <samp>Traveler</samp> |
| + | |- |
| + | | [[Fish Shop|Willy's fish shop]] |
| + | | <samp>FishShop</samp> |
| + | |} |
| | | |
| ===Dialogue changes=== | | ===Dialogue changes=== |