mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Merits are not in the random unite list anymore
This commit is contained in:
parent
067667c019
commit
e78d84f9e4
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ RESISTANCE_MONEY = 2
|
||||||
RESISTANCE_TICKETS = 3
|
RESISTANCE_TICKETS = 3
|
||||||
RESISTANCE_MERITS = 4
|
RESISTANCE_MERITS = 4
|
||||||
resistanceMenu = [RESISTANCE_TOONUP, RESISTANCE_RESTOCK, RESISTANCE_MONEY, RESISTANCE_TICKETS, RESISTANCE_MERITS]
|
resistanceMenu = [RESISTANCE_TOONUP, RESISTANCE_RESTOCK, RESISTANCE_MONEY, RESISTANCE_TICKETS, RESISTANCE_MERITS]
|
||||||
|
randomResistanceMenu = [RESISTANCE_TOONUP, RESISTANCE_RESTOCK, RESISTANCE_MONEY, RESISTANCE_TICKETS]
|
||||||
resistanceDict = {
|
resistanceDict = {
|
||||||
RESISTANCE_TOONUP: {
|
RESISTANCE_TOONUP: {
|
||||||
'menuName': TTLocalizer.ResistanceToonupMenu,
|
'menuName': TTLocalizer.ResistanceToonupMenu,
|
||||||
|
@ -138,7 +139,7 @@ def getItemValue(textId):
|
||||||
|
|
||||||
|
|
||||||
def getRandomId():
|
def getRandomId():
|
||||||
menuIndex = random.choice(resistanceMenu)
|
menuIndex = random.choice(randomResistanceMenu)
|
||||||
itemIndex = random.choice(getItems(menuIndex))
|
itemIndex = random.choice(getItems(menuIndex))
|
||||||
return encodeId(menuIndex, itemIndex)
|
return encodeId(menuIndex, itemIndex)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue