1using System.Collections.Generic;
23 EClass.
Sound.Play((rank <= 50) ?
"clap3" : ((rank <= 100) ?
"clap2" :
"clap1"));
43 num = (int)((
long)num * (long)(150 + (
int)Mathf.Sqrt(
branch.
Evalue(2821)) * 5) / 100);
61 List<Thing> list =
new List<Thing>();
62 List<Thing> list2 =
new List<Thing>();
63 HashSet<string> hashSet =
new HashSet<string>();
74 foreach (
Thing item2
in list3)
94 text = item2.id +
"_" + item2.
idSkin;
96 if (!hashSet.Contains(text))
98 int num5 = item2.sortVal * num4;
101 num5 = num5 * (110 + (int)Mathf.Sqrt(num3) * 4) / 100;
108 int num6 = item2.sortVal * num4 / Mathf.Max(20, 30 - (
int)Mathf.Sqrt(num2));
123 num = (100 + num) * (100 + num7 * 15) / 100;
124 branch.tourism = (int)num;
126 for (
int i = 0; i < branch.NumHeirloom && i < list2.Count; i++)
137 n.
AddTopic(
"TopicLeft",
"vCurrent".lang(),
value.ToFormat() ??
"");
143 for (
int i = 0; i < list.Count; i++)
145 Thing thing = list[i];
virtual int GetPrice(CurrencyType currency=CurrencyType.Money, bool sell=false, PriceType priceType=PriceType.Default, Chara c=null)
static SoundManager Sound
override bool IsAvailable
List< Thing > ListHeirloom()
override void WriteNote(UINote n)
override int GetDestValue()
int GetPrice(Thing t, bool top=false)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
bool IsActive(int id, int days=-1)
string GetRankText(Zone z)
UIItem AddHeader(string text, Sprite sprite=null)
UIItem AddTopic(string id, string text, string value=null)
UIItem AddText(string text, FontColor color=FontColor.DontChange)
void Space(int sizeY=0, int sizeX=1)