Class CustomShopLocation
A location which implements a custom shop on a given NPC.
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 CustomShopLocation : ShopLocation
Remarks
Note that while defaultShopItems can be set, it will not have any effect on custom shops because they start empty by default.
Fields
| Improve this Doc View SourcefacingDirection
The direction for the shopkeeper to face. Defaults to Auto.
Declaration
public FacingDirection facingDirection
Field Value
Type | Description |
---|---|
FacingDirection |
figureheadSprite
The optional sprite to use as the figurehead at the top of the shop
Declaration
public ISprite figureheadSprite
Field Value
Type | Description |
---|---|
ISprite |
outOfStockConvo
The optional conversation to have when the shop is out of stock
Declaration
public IString outOfStockConvo
Field Value
Type | Description |
---|---|
IString |
Methods
| Improve this Doc View SourceOnLoad()
Declaration
protected override void OnLoad()
Overrides
| Improve this Doc View SourceOnUnload()
Declaration
protected override void OnUnload()