Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitVendingMachine.cs
Go to the documentation of this file.
2{
3 public override string IDInvStyle => "modern";
4
5 public override bool ShowOrbit => true;
6
7 public override ShopType ShopType => ShopType.VMachine;
8
9 public override bool AllowSell => false;
10
11 public override bool OnUse(Chara c)
12 {
13 OnBarter();
15 return false;
16 }
17}
ShopType
Definition: ShopType.cs:2
Definition: Chara.cs:10
new TraitChara trait
Definition: Chara.cs:488
Definition: EClass.cs:5
static UI ui
Definition: EClass.cs:16
static LayerInventory CreateBuy(Card c, CurrencyType currency=CurrencyType.Money, PriceType price=PriceType.Default)
Layer AddLayer(string id)
Definition: Layer.cs:337
override bool OnUse(Chara c)
override string IDInvStyle
void OnBarter()
Definition: Trait.cs:1463
virtual PriceType PriceType
Definition: Trait.cs:477
virtual CurrencyType CurrencyType
Definition: Trait.cs:475
Card owner
Definition: Trait.cs:26