Class EggShopPlacement
Placement which implements a shop at Jiji.
Talking to Jiji gives the option to pay costs, and choosing to do so leads to Jiji spawning the corresponding items wrapped in individual containers.
Inheritance
EggShopPlacement
Assembly: ItemChanger.dll
Syntax
public class EggShopPlacement : AbstractPlacement, IMultiCostPlacement, IPrimaryLocationPlacement
Constructors
View Source
EggShopPlacement(string)
Declaration
public EggShopPlacement(string Name)
Parameters
| Type |
Name |
Description |
| string |
Name |
|
Fields
View Source
Location
Declaration
public PlaceableLocation Location
Field Value
View Source
containers
Declaration
public Dictionary<int, string> containers
Field Value
Properties
View Source
PurchasedAll
Declaration
public bool PurchasedAll { get; }
Property Value
Methods
View Source
CanPurchaseAny()
Declaration
public bool CanPurchaseAny()
Returns
View Source
Declaration
public override IEnumerable<Tag> GetPlacementAndLocationTags()
Returns
Overrides
View Source
OnLoad()
Called by Load(). Dispose hooks in OnUnload.
Declaration
protected override void OnLoad()
Overrides
View Source
OnUnload()
Declaration
protected override void OnUnload()
Overrides
View Source
PurchaseAndSpawnNewItems()
Declaration
public void PurchaseAndSpawnNewItems()
View Source
SpawnItem(int)
Declaration
public void SpawnItem(int i)
Parameters
| Type |
Name |
Description |
| int |
i |
|
Implements
Extension Methods