ShopDefinition
public sealed class ShopDefinitionNamespace MapExpansions
A shop with a seller at its counter, as in the main world: while the seller stands at the counter the player can talk to them and buy, and the shop’s doors let the player in; otherwise the doors only let the player out. The seller’s day, including when they walk to the counter, is the expansion’s own schedule.
Properties
Section titled “Properties”public string Id { get; set; }public ShopKind Kind { get; set; }Type: ShopKind
ShopCode
Section titled “ShopCode”public string ShopCode { get; set; }For ShopKind.Store: the code of the main-world shop whose goods are sold, such as “gas_mart_west”.
Seller
Section titled “Seller”public string Seller { get; set; }The NPC id of the seller.
Counter
Section titled “Counter”public LocalPoint Counter { get; set; }Type: LocalPoint
Where the seller stands behind the counter, facing the customers.
CounterReach
Section titled “CounterReach”public float CounterReach { get; set; }The seller counts as at the counter within this many metres of it.
ChoiceText
Section titled “ChoiceText”public string ChoiceText { get; set; }What the player says to buy. Empty uses the main world’s line for the kind.
Copies
Section titled “Copies”public List<CopyDefinition> Copies { get; }Type: CopyDefinition
The shop’s interior, doors and props. Doors among them follow the seller.
MainFrame
Section titled “MainFrame”public string MainFrame { get; set; }For ShopKind.Barbershop: the main-world barbershop whose screen opens, and the object of the expansion’s source that stands for it. The screen shows the player in the main barbershop’s chair through its camera; while it is open, chair and camera stand in the expansion’s shop as they stood in the main one.
public string Onto { get; set; }See MainFrame.