Class ShopLocation
Location for modifying any of the vanilla shops.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger.Locations
Assembly: ItemChanger.dll
Syntax
public class ShopLocation : AbstractLocation
Fields
| Improve this Doc View SourcecostDisplayerSelectionStrategy
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
Type | Description |
---|---|
ICostDisplayerSelectionStrategy |
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
Type | Description |
---|---|
DefaultShopItems |
dungDiscount
Declaration
public bool dungDiscount
Field Value
Type | Description |
---|---|
System.Boolean |
fsmName
Declaration
public string fsmName
Field Value
Type | Description |
---|---|
System.String |
objectName
The npc's objectName, for spawning items.
Declaration
public string objectName
Field Value
Type | Description |
---|---|
System.String |
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
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEditConfirmControl(PlayMakerFSM)
Change the effects of purchasing a shop item.
Declaration
protected void EditConfirmControl(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
EditItemListControl(PlayMakerFSM)
Change how the shop stock is presented.
Declaration
protected void EditItemListControl(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
EditShopControl(PlayMakerFSM)
Change how the shop stock is constructed.
Declaration
protected void EditShopControl(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
HastenConfirmControl(PlayMakerFSM)
Declaration
protected void HastenConfirmControl(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
HastenItemListControl(PlayMakerFSM)
Declaration
protected void HastenItemListControl(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
HastenUIList(PlayMakerFSM)
Declaration
protected void HastenUIList(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
HastenUIListButtonListen(PlayMakerFSM)
Declaration
protected void HastenUIListButtonListen(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
HastenUIListGetInput(PlayMakerFSM)
Declaration
protected void HastenUIListGetInput(PlayMakerFSM fsm)
Parameters
Type | Name | Description |
---|---|---|
PlayMakerFSM | fsm |
OnLoad()
Declaration
protected override void OnLoad()
Overrides
| Improve this Doc View SourceOnUnload()
Declaration
protected override void OnUnload()
Overrides
| Improve this Doc View SourceWrap()
Declaration
public override AbstractPlacement Wrap()
Returns
Type | Description |
---|---|
AbstractPlacement |