Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 68 additions & 1 deletion core.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,82 @@

KEY_FIELDS = [
'playerCurrency',
'currencyRates',
'playerReputation',
'lastVisitedPort',
'water',
'food',
'sleep',
'time',
'day',
'lastVisitedPort',
]

SLIDER_FIELDS = [
'sleep',
'sleepDebt',
'food',
'foodDebt',
'water',
'waterDebt',
'tobaccoWhite',
'tobaccoGreen',
'tobaccoBlack',
'tobaccoBrown',
'protein',
'vitamins',
'alcohol'
]

CURRENCY_NAMES = {
0: 'Al\'Ankh Lions',
1: 'Emerald Dragons',
2: 'Aestrin Crowns',
3: 'Gold Lions'
}

REPUTATION_NAMES = {
0: 'Al\'Ankh',
1: 'Emerald Archipelago',
2: 'Aestrin',
}

PORT_NAMES = { # placeholders, i will switch to real port names
0: 'Gold Rock City',
1: 'Al\'Nilem',
2: 'Neverdin',
3: 'Albacore Town',
4: 'Alchemist\'s Island',
5: 'Al\'Ankh Academy',
6: 'Oasis',
# 7: 'UNKNOWN',
# 8: 'UNKNOWN',
9: 'Dragon Cliffs',
10: 'Sanctuary',
11: 'Crab Beach',
12: 'New Port',
13: 'Sage Hills',
14: 'Serpent Isle',
15: 'Fort Aestrin',
16: 'Sunspire',
17: 'Mount Malefic',
18: 'Siren Song',
19: 'Eastwind',
20: 'Happy Bay',
21: 'Chronos',
22: 'Kicia Bay',
23: 'Fire Fish Town',
# 24: 'UNKNOWN',
25: 'Sen\'na',
26: 'Aestra Abbey',
27: 'Fey Valley',
28: 'Firefly Grotto',
29: 'Turtle Island',
30: 'Dead Cove',
31: 'Old Ankh Town',
32: 'Mirage Mountain',
# 33: 'UNKNOWN',
# 34: 'UNKNOWN'
}

def find_all_prim_arrays(data):
arrays = {}
Expand Down
Loading
Loading