1using System.Collections.Generic;
22 bool flag = card.IsContainer && card.things.Count > 0;
23 List<Card> list =
new List<Card>();
42 if (price >= c_allowance)
44 num = num * 10 * price / c_allowance;
50 else if (price >= 5000)
54 else if (price >= 1000)
58 else if (price >= 200)
96 for (
int i = 0; i < (realtime ? 1 : 10); i++)
127 public override IEnumerable<Status>
Run()
144 Msg.
Say(
"sell_resident", c);
158 EClass.Branch.incomeShop += price;
168 Msg.alwaysVisible =
true;
173 c.c_allowance -= price;
184 else if (
card.isThing)
200 container.isSale =
false;
Status DoGoto(Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null)
void SetStr(int id, string value=null)
string GetStr(int id, string defaultStr=null)
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
virtual int GetPrice(CurrencyType currency=CurrencyType.Money, bool sell=false, PriceType priceType=PriceType.Default, Chara c=null)
void Talk(string idTopic, string ref1=null, string ref2=null, bool forceSync=false)
SourceCategory.Row category
FactionMemberType memberType
static FactionBranch Branch
string Log(string idLang, string ref1=null, string ref2=null, string ref3=null, string ref4=null)
void BanishMember(Chara c, bool skipMsg=false)
void AddContribution(int a)
static string _currency(object a, string IDCurrency)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
bool IsActive(int id, int days=-1)
static Thing Create(string id, int idMat=-1, int lv=-1)
static bool CanTagSale(Card t, bool insideContainer=false)
Card AddCard(Card t, Point point)