Elin Decompiled Documentation EA 23.307 Stable
Loading...
Searching...
No Matches
TraitMerchantTravel.cs
Go to the documentation of this file.
2{
3 public bool ShouldOpenShop
4 {
5 get
6 {
7 if (!base.owner.IsPCFactionOrMinion)
8 {
10 }
11 return false;
12 }
13 }
14
15 public override int ShopLv
16 {
17 get
18 {
19 if (!ShouldOpenShop)
20 {
21 return base.ShopLv;
22 }
23 return EClass.pc.FameLv + EClass.pc.FameLv / 2 + 10;
24 }
25 }
26
27 public override ShopType ShopType
28 {
29 get
30 {
31 if (!ShouldOpenShop)
32 {
33 return ShopType.None;
34 }
35 return ShopType.TravelMerchant;
36 }
37 }
38
39 public override bool CanInvest => false;
40
41 public override bool AllowCriminal => true;
42
43 public override int CostRerollShop => 0;
44
45 public override int RestockDay => -1;
46}
ShopType
Definition: ShopType.cs:2
Definition: EClass.cs:6
static Zone _zone
Definition: EClass.cs:21
override bool AllowCriminal
bool IsPCFactionOrTent
Definition: Zone.cs:478