61 lines
12 KiB
Python
61 lines
12 KiB
Python
import random
|
|
|
|
items = [1050004,1050012,1050013,1050014,1050015,1050032,1050033,1050034,1050040,1050041,1050042,1050043,1050044,1050016,1050017,1050019,1050020,1050065,1050066,1050071,1050079,1050050,1050057,1050101,1050109,1050110,1050111,1050084,1050085,1050086,1050087,1050128,
|
|
1050129,1050135,1050136,1050137,1050138,1050139,1050140,1050141,1050142,1050143,1050112,1050113,1050114,1050115,1050116,1050117,1050118,1050119,1050120,1050121,1050122,1050123,1050124,1050125,1050126,1050160,1050161,1050168,1050170,1050171,1050145,1050146,1050147,
|
|
1050148,1050152,1050153,1050154,1050156,1050157,1050158,1050159,1050193,1050177,1050178,1050179,1050186,1050187,1050188,1050190,1050226,1050227,1050228,1050229,1050232,1050234,1050235,1050208,1050209,1050210,1050215,1050220,1050221,1050256,1050241,1050242,1050246,
|
|
1050247,1050248,1050255,1050291,1050292,1050293,1050296,1050297,1050298,1050299,1050300,1050301,1050302,1050303,1050283,1050284,1050285,1050321,1050322,1050335,1050304,1050305,1050310,1050311,1050312,1050314,1050315,1050316,1050318,1050319,1050353,1050354,1050355,
|
|
1050356,1050359,1050360,1050361,1050362,1050364,1050365,1050366,1050367,1050336,1050337,1050338,1050339,1050340,1050341,1050343,1050346,1050351,1050384,1050385,1050386,1050387,1050388,1050389,1050390,1050391,1050392,1050393,1050394,1050395,1050396,1050397,1050398,
|
|
1050399,1050368,1050370,1050371,1050372,1050373,1050375,1050376,1050377,1050378,1050380,1050381,1050382,1050383,1050416,1050417,1050418,1050419,1050420,1050421,1050422,1050423,1050424,1050426,1050427,1050428,1050429,1050430,1050431,1050400,1050401,1050402,1050403,
|
|
1050404,1050405,1050406,1050407,1050408,1050409,1050410,1050411,1050412,1050413,1050414,1050415,1050451,1050452,1050453,1050454,1050455,1050456,1050461,1050462,1050463,1050432,1050433,1050434,1050435,1050436,1050437,1050438,1050439,1050440,1050441,1050442,1050443,
|
|
1050444,1050445,1050446,1050447,1050480,1050481,1050482,1050484,1050485,1050486,1050487,1050488,1050489,1050491,1050492,1050493,1050495,1050464,1050468,1050469,1050470,1050471,1050472,1050473,1050474,1050475,1050476,1050477,1050478,1050479,1050512,1050513,1050514,
|
|
1050515,1050516,1050517,1050518,1050519,1050520,1050521,1050522,1050523,1050524,1050525,1050526,1050496,1050497,1050498,1050499,1050500,1050502,1050503,1050504,1050505,1050506,1050507,1050508,1050509,1050510,1050511,1050544,1050545,1050546,1050547,1050548,1050549,
|
|
1050550,1050551,1050552,1050553,1050554,1050555,1050556,1050557,1050558,1050559,1050528,1050530,1050531,1050532,1050533,1050534,1050535,1050536,1050537,1050538,1050539,1050541,1050542,1050543,1050560,1050561,1051002,1051028,1051029,1051035,1051036,1051018,1051019,
|
|
1051020,1051021,1051022,1051059,1051060,1051061,1051070,1051071,1051040,1051048,1051049,1051050,1051051,1051088,1051089,1051099,1051100,1051072,1051073,1051074,1051075,1051076,1051081,1051086,1051087,1051120,1051121,1051122,1051123,1051124,1051125,1051126,1051127,
|
|
1051128,1051129,1051130,1051131,1051132,1051133,1051134,1051135,1051108,1051109,1051110,1051111,1051112,1051113,1051114,1051115,1051116,1051117,1051118,1051119,1051154,1051155,1051156,1051157,1051158,1051159,1051160,1051161,1051162,1051163,1051164,1051166,1051167,
|
|
1051136,1051137,1051138,1051139,1051141,1051142,1051143,1051144,1051145,1051146,1051147,1051148,1051149,1051185,1051188,1051189,1051190,1051192,1051193,1051195,1051196,1051197,1051198,1051169,1051170,1051171,1051173,1051174,1051175,1051176,1051179,1051180,1051182,
|
|
1051183,1051218,1051219,1051220,1051221,1051227,1051228,1051229,1051231,1051200,1051206,1051208,1051209,1051211,1051212,1051252,1051253,1051254,1051255,1051256,1051261,1051262,1051232,1051233,1051235,1051238,1051280,1051282,1051284,1051285,1051290,1051292,1051294,
|
|
1051295,1051264,1051265,1051270,1051271,1051276,1051277,1051278,1051279,1051312,1051296,1051297,1051301,1051302,1051304,1051311,1051345,1051347,1051348,1051349,1051350,1051351,1051352,1051357,1051358,1051359,1051332,1051333,1051376,1051382,1051383,1051384,1051385,
|
|
1051386,1051387,1051389,1051390,1051391,1051362,1051363,1051365,1051366,1051367,1051368,1051369,1051370,1051371,1051372,1051373,1051374,1051375,1051408,1051409,1051410,1051411,1051415,1051420,1051422,1051423,1051392,1051405,1051406,1051407,1051440,1051441,1051442,
|
|
1051444,1051445,1051446,1051447,1051448,1051450,1051451,1051452,1051453,1051454,1051455,1051424,1051425,1051426,1051429,1051430,1051431,1051432,1051434,1051435,1051436,1051437,1051439,1051472,1051473,1051474,1051475,1051476,1051477,1051478,1051479,1051480,1051481,
|
|
1051482,1051483,1051484,1051485,1051486,1051487,1051456,1051457,1051458,1051459,1051460,1051461,1051462,1051463,1051464,1051465,1051466,1051467,1051468,1051469,1051470,1051471,1051504,1051505,1051506,1051507,1051508,1051509,1051510,1051511,1051512,1051513,1051514,
|
|
1051515,1051519,1051488,1051489,1051490,1051491,1051492,1051494,1051495,1051496,1051497,1051498,1051499,1051500,1051501,1051502,1051503,1051536,1051537,1051538,1051539,1051540,1051541,1051542,1051543,1051544,1051545,1051546,1051547,1051548,1051549,1051551,1051520,
|
|
1051521,1051522,1051523,1051528,1051529,1051530,1051531,1051535,1051568,1051572,1051573,1051574,1051575,1051576,1051577,1051578,1051579,1051580,1051581,1051582,1051583,1051552,1051553,1051554,1051555,1051556,1051559,1051560,1051561,1051563,1051564,1051565,1051566,
|
|
1051567,1051600,1051601,1051602,1051603,1051604,1051605,1051606,1051607,1051608,1051609,1051610,1051612,1051613,1051614,1051615,1051584,1051585,1051586,1051587,1051588,1051589,1051590,1051591,1051592,1051593,1051594,1051595,1051596,1051598,1051632,1051633,1051616,
|
|
1051617,1051618,1051619,1051620,1051621,1051622,1051623,1051624,1051625,1051626,1051627,1051628,1051629,1051630,1051631,1052016,1052017,1052018,1052019,1052020,1052021,1052022,1052023,1052024,1052025,1052026,1052027,1052028,1052029,1052030,1052031,1052000,1052001,
|
|
1052002,1052003,1052004,1052005,1052006,1052007,1052008,1052009,1052010,1052011,1052012,1052013,1052014,1052015,1052048,1052049,1052050,1052051,1052052,1052053,1052054,1052055,1052056,1052057,1052058,1052059,1052060,1052061,1052062,1052063,1052032,1052033,1052034,
|
|
1052035,1052036,1052037,1052038,1052039,1052040,1052041,1052042,1052043,1052044,1052045,1052046,1052047,1052082,1052083,1052084,1052085,1052086,1052087,1052089,1052090,1052091,1052092,1052093,1052094,1052064,1052065,1052066,1052067,1052068,1052069,1052070,1052073,
|
|
1052074,1052077,1052078,1052079,1052144,1052145,1052147,1052151,1052152,1052153,1052154,1052135,1052136,1052137,1052142,1052143,1052176,1052178,1052179,1052180,1052182,1052183,1052186,1052168,1052169,1052170,1052171,1052172,1052174,1052175,1052209,1052210,1052211,
|
|
1052212,1052213,1052214,1052218,1052192,1052193,1052194,1052195,1052196,1052197,1052198,1052199,1052200,1052201,1052203,1052204,1052205,1052206,1052207,1052245,1052246,1052248,1052253,1052255,1052224,1052225,1052228,1052229,1052231,1052232,1052233,1052234,1052236,
|
|
1052275,1052282,1052283,1052284,1052286,1052268,1052306,1052309,1052289,1052290,1052291,1052292,1052293,1052294,1052295,1052296,1052298,1052338,1052339,1052340,1052343,1052345,1052348,1052349,1052324,1052329,1052330,1052331,1052332,1052368,1052369,1052370,1052372,
|
|
1052373,1052354,1052355,1052356,1052367,1052408,1052410,1052411,1052412,1052435,1052438,1052439,1052440,1052442,1052443,1052445,1052446,1052447,1052416,1052417,1052418,1052419,1052421,1052423,1052424,1052425,1052426,1052474,1052448,1052449,1052455,1052458,1052459,
|
|
1052503,1052531,1052536,1052537,1052538,1052539,1052540,1052541,1052542,1052543,1052565,1052566,1052567,1052568,1052571,1052574,1052575,1052544,1052549,1052550,1052551,1052552,1052554,1052594,1052595,1052597,1052598,1052599,1052601,1052602,1052603,1052604,1052605,
|
|
1052576,1052577,1052579,1052585,1052586,1052587,1052624,1052626,1052627,1052628,1052629,1052630,1052634,1052636,1052610,1052618,1052619,1052656,1052657,1052660,1052661,1052662,1052663,1052664,1052665,1052666,1052667,1052668,1052671,1052643,1052644,1052654,1052655,
|
|
1052692,1052693,1052698,1052674,1052675,1052676,1052677,1052678,1052679,1052680,1052681,1052682,1052684,1052685,1052724,1052725,1052726,1052727,1052728,1052707,1052708,1052754,1052762,1052746,1052747,1052749,1052750,1052771,1052772,1052773,1052774,1052779,1052780,
|
|
1052781,1052782,1052811,1052812,1052852,1052853,1052854,1052855,1052856,1052857,1052858,1052859,1052837,1052838,1052841,1052842,1052843,1052844,1052845,1052846,1052891,1052892,1052894,1052895,1052864,1052865,1052870,1052871,1052872,1052873,1052874,1052876,1052912,
|
|
1052916,1052917,1052920,1052921,1052922,1052923,1052924,1052925,1052926,1052896,1052897,1052898,1052899,1052901,1052902,1052903,1052904,1052909,1052910,1052911,1052946,1052947,1052948,1052949,1052951,1052954,1052955,1052956,1052957,1052958,1052959,1052939,1052940,
|
|
1052941,1052942,1052976,1052977,1052960,1052961,1052965,1052966,1052967,1052970,1052975,1053014,1053015,1053016,1053017,1053018,1053022,1053023,1052994,1052995,1052996,1052997,1052998,1052999,1053000,1053001,1053006,1053040,1053041,1053042,1053045,1053046,1053047,
|
|
1053048,1053049,1053050,1053051,1053052,1053053,1053054,1053055,1053024,1053025,1053028,1053031,1053032,1053033,1053034,1053035,1053038,1053039,1053082,1053083,1053084,1053085,1053086,1053087,1053056,1053057,1053058,1053059,1053060,1053061,1053062,1053068,1053069,
|
|
1053104,1053105,1053106,1053107,1053108,1053109,1053110,1053114,1053115,1053116,1053117,1053118,1053119,1053088,1053089,1053090,1053091,1053092,1053093,1053094,1053095,1053096,1053097,1053098,1053099,1053102,1053103,1053138,1053141,1053142,1053143,1053144,1053145,
|
|
1053146,1053147,1053148,1053120,1053121,1053124,1053125,1053126,1053127,1053130,1053131,1053132,1053133,1053134,1053168,1053169,1053170,1053171,1053172,1053173,1053174,1053175,1053176,1053177,1053180,1053183,1053155,1053156,1053157,1053158,1053159,1053162,1053163,
|
|
1053164,1053165,1053166,1053167,1053200,1053201,1053202,1053203,1053205,1053207,1053208,1053209,1053210,1053215,1053184,1053186,1053187,1053192,1053194,1053195,1053196,1053197,1053198,1053199,1053232,1053234,1053239,1053240,1053241,1053242,1053243,1053244,1053245,
|
|
1053246,1053247,1053216,1053217,1053218,1053219,1053220,1053221,1053222,1053225,1053226,1053227,1053228,1053229,1053230,1053231,1053264,1053265,1053266,1053267,1053268,1053269,1053270,1053277,1053278,1053279,1053250,1053251,1053252,1053253,1053254,1053255,1053256,
|
|
1053257,1053258,1053259,1053260,1053261,1053262,1053263,1053296,1053301,1053302,1053303,1053304,1053305,1053306,1053307,1053308,1053309,1053310,1053280,1053281,1053282,1053283,1053285,1053286,1053287,1053288,1053289,1053290,1053291,1053292,1053293,1053294,1053295,
|
|
1053328,1053329,1053330,1053335,1053336,1053338,1053339,1053343,1053314,1053315,1053316,1053317,1053318,1053321,1053322,1053323,1053324,1053325,1053363,1053364,1053365,1053366,1053367,1053371,1053372,1053373,1053374,1053375,1053344,1053345,1053346,1053347,1053351,
|
|
1053352,1053353,1053354,1053355,1053356,1053357,1053393,1053397,1053398,1053399,1053400,1053401,1053403,1053404,1053405,1053406,1053376,1053377,1053378,1053379,1053380,1053381,1053382,1053383,1053384,1053385,1053386,1053387,1053388,1053389,1053390,1053391,1053424,
|
|
1053434,1053435,1053436,1053437,1053411,1053412,1053413,1053414,1053415,1053416,1053420,1053421,1053422,1053423,1053457,1053458,1053459,1053460,1053463,1053464,1053465,1053466,1053467,1053468,1053469,1053470,1053471,1053440,1053441,1053442,1053443,1053444,1053445,
|
|
1053446,1053447,1053449,1053450,1053454,1053488,1053489,1053490,1053491,1053492,1053493,1053498,1053499,1053500,1053501,1053502,1053503,1053472,1053473,1053474,1053475,1053477,1053479,1053480,1053481,1053482,1053483,1053484,1053485,1053486,1053487,1053520,1053521,
|
|
1053522,1053523,1053527,1053528,1053529,1053530,1053531,1053532,1053533,1053534,1053504,1053505,1053506,1053507,1053508,1053509,1053510,1053511,1053513,1053514,1053515,1053516,1053517,1053518,1053519,1053552,1053553,1053554,1053555,1053563,1053566,1053567,1053537,
|
|
1053540,1053543,1053545,1053546,1053547,1053548,1053549,1053550,1053551,1053584,1053585,1053586,1053587,1053588,1053589,1053590,1053592,1053593,1053594,1053595,1053596,1053597,1053598,1053568,1053569,1053570,1053571,1053572,1053573,1053574,1053575,1053576,1053577,
|
|
1053578,1053579,1053580,1053581,1053582,1053583,1053616,1053617,1053618,1053619,1053621,1053622,1053625,1053626,1053631,1053600,1053601,1053602,1053605,1053606,1053610,1053611,1053612,1053613,1053614,1053615,1053648,1053649,1053650,1053651,1053632,1053633,1053634,
|
|
1053640,1053646,1053647
|
|
|
|
]
|
|
|
|
|
|
question = sm.sendAskYesNo("#eWould you like to spend #r2k NX#n #efor a random #bHat?")
|
|
randitem = random.choice(items)
|
|
if question and sm.canHold(randitem) and chr.getUser().getNxPrepaid() >= 2000:
|
|
sm.giveItem(randitem)
|
|
sm.deductNX(-2000)
|
|
else:
|
|
sm.sendNext("#e#dYour inventory is full or you don't have enough NX.") |