Show / Hide Table of Contents

Class ShopLocation

Location for modifying any of the vanilla shops.

Inheritance
System.Object
TaggableObject
AbstractLocation
ShopLocation
CustomShopLocation
Inherited Members
AbstractLocation.name
AbstractLocation.sceneName
AbstractLocation.UnsafeSceneName
AbstractLocation.flingType
AbstractLocation.Placement
AbstractLocation.Load()
AbstractLocation.Unload()
AbstractLocation.Clone()
TaggableObject.tags
TaggableObject.LoadTags()
TaggableObject.UnloadTags()
TaggableObject.AddTag<T>()
TaggableObject.AddTag(Tag)
TaggableObject.AddTags(IEnumerable<Tag>)
TaggableObject.GetTag<T>()
TaggableObject.GetTag<T>(T)
TaggableObject.GetTags<T>()
TaggableObject.GetOrAddTag<T>()
TaggableObject.HasTag<T>()
TaggableObject.RemoveTags<T>()
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 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
Type Description
ICostDisplayerSelectionStrategy
| Improve this Doc 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
Type Description
DefaultShopItems
| Improve this Doc View Source

dungDiscount

Declaration
public bool dungDiscount
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

fsmName

Declaration
public string fsmName
Field Value
Type Description
System.String
| Improve this Doc View Source

objectName

The npc's objectName, for spawning items.

Declaration
public string objectName
Field Value
Type Description
System.String
| Improve this Doc 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
Type Description
System.String

Methods

| Improve this Doc View Source

EditConfirmControl(PlayMakerFSM)

Change the effects of purchasing a shop item.

Declaration
protected void EditConfirmControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

EditItemListControl(PlayMakerFSM)

Change how the shop stock is presented.

Declaration
protected void EditItemListControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

EditShopControl(PlayMakerFSM)

Change how the shop stock is constructed.

Declaration
protected void EditShopControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

HastenConfirmControl(PlayMakerFSM)

Declaration
protected void HastenConfirmControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

HastenItemListControl(PlayMakerFSM)

Declaration
protected void HastenItemListControl(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

HastenUIList(PlayMakerFSM)

Declaration
protected void HastenUIList(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

HastenUIListButtonListen(PlayMakerFSM)

Declaration
protected void HastenUIListButtonListen(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

HastenUIListGetInput(PlayMakerFSM)

Declaration
protected void HastenUIListGetInput(PlayMakerFSM fsm)
Parameters
Type Name Description
PlayMakerFSM fsm
| Improve this Doc View Source

OnLoad()

Declaration
protected override void OnLoad()
Overrides
AbstractLocation.OnLoad()
| Improve this Doc View Source

OnUnload()

Declaration
protected override void OnUnload()
Overrides
AbstractLocation.OnUnload()
| Improve this Doc View Source

Wrap()

Declaration
public override AbstractPlacement Wrap()
Returns
Type Description
AbstractPlacement
Overrides
AbstractLocation.Wrap()

Extension Methods

Extensions.Yield<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX