1using System.Collections.Generic;
 
   58            if (
id == 
"1165" && 
grade == 3)
 
   70            if (!(text3 == 
"panty"))
 
   72                if (text3 == 
"mathammer")
 
   84                text2 = 
"_of".lang(name, text2);
 
   89                text2 = text2 + 
" x " + num;
 
   93                text2 = 
"fortuneroll_claimed".lang();
 
   99    public static string[] 
mats = 
new string[4] { 
"plastic", 
"water", 
"hide_dragon", 
"gold" };
 
  101    public static int[] 
chances = 
new int[4] { 1, 8, 25, 60 };
 
  104    public List<Prize> 
prizes = 
new List<Prize>();
 
  147            List<string> list2 = list[grade];
 
  154            string id = prize.
id;
 
  155            if (!(
id == 
"panty"))
 
  157                if (
id == 
"mathammer")
 
  160                    prize.idRef = randomMaterial.
alias;
 
  166                prize.idRef = ie.RandomItem().id;
 
  169            list2.RemoveAt(index);
 
  175        List<List<string>> list = 
new List<List<string>>
 
  177            new List<string> { 
"scrubber", 
"tissue", 
"plat" },
 
  180                "microchip", 
"1089", 
"150", 
"855", 
"medal", 
"water", 
"goods_charm", 
"electronicsS", 
"electronics", 
"plat",
 
  181                "plat", 
"ration", 
"backpack2", 
"sister", 
"rp_food", 
"rp_block", 
"157", 
"sleepingbag" 
  185                "computer", 
"834", 
"1090", 
"goods_figure", 
"goods_canvas", 
"mb_1", 
"mb_2", 
"mb_3", 
"mb_4", 
"mb_5",
 
  186                "1174", 
"1085", 
"toilet", 
"714", 
"nobility", 
"plat", 
"1165", 
"mathammer", 
"medal", 
"bbq",
 
  187                "panty", 
"beehive", 
"ticket_resident", 
"lovepotion", 
"crystal_sun", 
"goods_crim" 
  191                (EClass.player.luckycoin < 10) ? 
"goods_coin" : 
"plat",
 
  200            for (
int i = 0; i < (EClass.debug.enable ? 50 : 5); i++)
 
  202                list[2].Add(
"panty");
 
  215            prize = list.RandomItem();
 
  220            if (prize.
id == 
"sister")
 
  237                        prize.claimed = 
true;
 
  245                    card.c_idRefCard = prize.
idRef;
 
  246                    card.rarity = 
Rarity.Legendary;
 
  252                prize.claimed = 
true;
 
  280        string text = 
"_circle".lang().TagColor(
Color.white) + 
"  " + 
Lang.
GetList(
"fortuneroll")[0];
 
  281        n.AddTopic(
"TopicDomain", text, 
"fortuneroll_lose".lang());
 
static Chara Create(string id, int lv=-1)
 
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
 
int GetRaw(int offsetHours=0)
 
static SourceManager sources
 
bool IsGlobalPolicyActive(int id)
 
void GetPrize(int grade, int seed)
 
List< List< string > > GetPrizeList()
 
static string[] GetList(string id)
 
static SourceMaterial.Row GetRandomMaterial(int lv, string group=null, bool tryLevelMatTier=false)
 
Point GetNearestPoint(bool allowBlock=false, bool allowChara=true, bool allowInstalled=true, bool ignoreCenter=false, int minRadius=0)
 
static void SetSeed(int a=-1)
 
Dictionary< string, CardRow > map
 
static Thing Create(string id, int idMat=-1, int lv=-1)
 
UIItem AddHeader(string text, Sprite sprite=null)
 
UIItem AddTopic(string id, string text, string value=null)
 
void Space(int sizeY=0, int sizeX=1)
 
Card AddCard(Card t, Point point)