1using System.Collections.Generic;
10 private static Dictionary<Card, List<Card>>
_saleLists =
new Dictionary<Card, List<Card>>();
12 private static Dictionary<Card, int>
_salePrices =
new Dictionary<Card, int>();
28 bool flag = card.IsContainer && card.things.Count > 0;
42 value =
new List<Card>();
77 if (value2 >= c_allowance)
79 num = num * 10 * value2 / c_allowance;
85 else if (value2 >= 5000)
89 else if (value2 >= 1000)
93 else if (value2 >= 200)
131 for (
int i = 0; i < (realtime ? 1 : 10); i++)
162 public override IEnumerable<Status>
Run()
179 Msg.
Say(
"sell_resident", c);
193 EClass.Branch.incomeShop += price;
203 Msg.alwaysVisible =
true;
208 c.c_allowance -= price;
219 else if (
card.isThing)
235 container.isSale =
false;
static bool not(DramaManager dm, Dictionary< string, string > line, params string[] parameters)
Status DoGoto(Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=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)
string GetStr(string id, string defaultStr=null)
void SetStr(string id, string value=null)
SourceCategory.Row category
FactionMemberType memberType
int GetRaw(int offsetHours=0)
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)