Class ShopLocation
Location for modifying any of the vanilla shops.
Assembly: ItemChanger.dll
Syntax
public class ShopLocation : AbstractLocation
Constructors
View Source
ShopLocation()
Declaration
Fields
View Source
costDisplayerSelectionStrategy
The strategy used to determine how costs in this shop should be displayed. By default, all geo costs
are summed and all additional costs are displayed in grey text (as charm requirements in vanilla Salubra
are displayed). This strategy is applied uniformly to all items.
Declaration
public ICostDisplayerSelectionStrategy costDisplayerSelectionStrategy
Field Value
View Source
defaultShopItems
If more than one placement modifies the same shop, the intersection of all default shop items are kept.
Declaration
public DefaultShopItems defaultShopItems
Field Value
View Source
dungDiscount
Declaration
Field Value
View Source
fsmName
Declaration
Field Value
View Source
objectName
The npc's objectName, for spawning items.
Declaration
public string? objectName
Field Value
View Source
requiredPlayerDataBool
If this field is set, the PlayerData requirement to appear in stock is applied to all items at this location in addition to any item-specific requirements.
Declaration
public string requiredPlayerDataBool
Field Value
Methods
View Source
EditConfirmControl(PlayMakerFSM)
Change the effects of purchasing a shop item.
Declaration
protected void EditConfirmControl(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
EditItemListControl(PlayMakerFSM)
Change how the shop stock is presented.
Declaration
protected void EditItemListControl(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
EditShopControl(PlayMakerFSM)
Change how the shop stock is constructed.
Declaration
protected void EditShopControl(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
HastenConfirmControl(PlayMakerFSM)
Declaration
protected void HastenConfirmControl(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
HastenItemListControl(PlayMakerFSM)
Declaration
protected void HastenItemListControl(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
HastenUIList(PlayMakerFSM)
Declaration
protected void HastenUIList(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
Declaration
protected void HastenUIListButtonListen(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
Declaration
protected void HastenUIListGetInput(PlayMakerFSM fsm)
Parameters
| Type |
Name |
Description |
| PlayMakerFSM |
fsm |
|
View Source
OnLoad()
Called during Load(). Allows the location to initialize and set up any hooks.
Declaration
protected override void OnLoad()
Overrides
View Source
OnUnload()
Called during Unload(). Allows the location to dispose any hooks.
Declaration
protected override void OnUnload()
Overrides
View Source
Wrap()
Creates a default placement for this location.
Declaration
public override AbstractPlacement Wrap()
Returns
Overrides
Extension Methods