Skip to content

Commit 892255b

Browse files
committed
Merge branch 'master' into use-uv
2 parents 4fcf3a1 + 09aa5c8 commit 892255b

35 files changed

Lines changed: 1985 additions & 138 deletions

Resources/docker/app/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \
2222
uv sync --frozen
2323

2424
FROM python:3.13.7-alpine
25+
# git is a dependency for the meta endpoint
26+
RUN apk add --no-cache git
2527

2628
ENV PYTHONUNBUFFERED=1
2729
ENV DJANGO_SETTINGS_MODULE='config.docker-compose'

data/v2/build.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,10 @@ def csv_record_to_objects(info):
756756
for game in game_map[generation]:
757757
if generation not in sprites:
758758
sprites[generation] = {}
759-
sprites[generation][game] = {"name_icon": file_path_or_none(f"types/{generation}/{game}/{info[0]}.png")}
759+
sprites[generation][game] = {
760+
"name_icon": file_path_or_none(f"types/{generation}/{game}/{info[0]}.png"),
761+
"symbol_icon": file_path_or_none(f"types/{generation}/{game}/small/{info[0]}.png"),
762+
}
760763

761764
yield TypeSprites(type_id=int(info[0]), sprites=sprites)
762765

data/v2/csv/encounter_condition_prose.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,11 @@ encounter_condition_id,local_language_id,name
2525
9,9,Story Progress
2626
10,5,Divers
2727
10,9,Miscellaneous
28+
11,5,Objet
29+
11,9,Item
30+
12,5,Jour de la semaine
31+
12,9,Weekday
32+
13,5,Premier Pokemon de l'équipe
33+
13,9,First party Pokemon
34+
14,5,Rencontre spéciale
35+
14,9,Special encounter

data/v2/csv/encounter_method_prose.csv

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,23 @@ encounter_method_id,local_language_id,name
7979
31,9,Fishing in a Feebas Tile
8080
31,5,En pêchant sur une tuile à Barpau
8181
38,9,Walking in the overworld
82+
38,5,En marchant dans le monde extérieur
8283
39,9,Surfing in the overworld
84+
39,5,En surfant dans le monde extérieur
8385
40,9,Flying Pokemon in the sky
86+
40,5,Pokemon volant dans le ciel
8487
41,9,Rare spawn in grass with lure or catch combo
88+
41,5,Apparition rare dans les herbes avec un parfum ou un combo capture
89+
42,5,Apparition rare dans le ciel avec un parfum ou un combo capture
8590
42,9,Rare spawn in the sky with lure or catch combo
86-
43,9,Rare spawn in water with lure or catch combo
91+
43,5,Apparition rare dans l'eau avec un parfum ou un combo capture
92+
43,9,Rare spawn in water with lure or catch combo
93+
44,9,"Encountering 5 Pokemon within grass, flowers, or within a cave"
94+
45,9,Receiving a Jirachi from the USA Colosseum Bonus Disc
95+
46,9,Receiving a Celebi or Pikachu from the Japanese Colosseum Bonus Disc
96+
47,9,Receiving a Jirachi from the PAL copy of Pokemon channel
97+
48,9,Receiving a Manaphy from Pokemon Ranger
98+
49,9,"Receiving a Pikachu, Electivire, or Magmar from Pokemon Battle Revolution"
99+
50,9,Receiving an egg from the Pokemon center in New York City that contains the special move Wish.
100+
51,9,"Snagging a Pokemon from a trainer in Pokemon Colosseum or Pokemon XD: Gale of Darkness."
101+
52,9,"Snagging a Pokemon from a trainer in Pokemon Colosseum or Pokemon XD: Gale of Darkness, after you have failed to capture them once."

data/v2/csv/encounter_methods.csv

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,13 @@ id,identifier,order
4141
40,overworld-flying,40
4242
41,overworld-special,41
4343
42,overworld-flying-special,42
44-
43,overworld-water-special,43
44+
43,overworld-water-special,43
45+
44,horde,44
46+
45,colosseum-bonus-disc-us, 45
47+
46,colosseum-bonus-disc-jpn, 46
48+
47,pokemon-channel-pal, 47
49+
48,pokemon-ranger, 48
50+
49,pokemon-battle-revolution, 49
51+
50,new-york-pokecenter-wish-eggs,50
52+
51,snag,51
53+
52,snag-rematch,52

data/v2/csv/encounter_slots.csv

Lines changed: 187 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,4 +1178,190 @@ id,version_group_id,encounter_method_id,slot,rarity
11781178
1177,19,18,,100
11791179
1178,19,42,,100
11801180
1179,19,36,,100
1181-
1180,19,43,,100
1181+
1180,19,43,,100
1182+
1181,15,44,1,35
1183+
1182,15,44,2,60
1184+
1183,15,44,3,5
1185+
1184,15,44,1,60
1186+
1185,15,44,2,35
1187+
1186,15,44,3,5
1188+
1187,15,44,4,5
1189+
1188,15,44,1,35
1190+
1189,15,44,2,5
1191+
1190,15,44,3,60
1192+
1191,15,44,1,5
1193+
1192,15,44,2,60
1194+
1193,15,44,3,35
1195+
1194,15,44,1,35
1196+
1195,15,44,2,5
1197+
1196,15,44,3,5
1198+
1197,15,44,4,60
1199+
1198,15,44,1,35
1200+
1199,15,44,2,5
1201+
1200,15,44,3,60
1202+
1201,15,44,1,60
1203+
1202,15,44,2,35
1204+
1203,15,44,3,5
1205+
1204,15,44,4,35
1206+
1205,15,44,1,5
1207+
1206,15,44,2,5
1208+
1207,15,44,3,60
1209+
1208,15,44,4,35
1210+
1209,15,44,1,35
1211+
1210,15,44,2,60
1212+
1211,15,44,3,5
1213+
1212,15,44,1,5
1214+
1213,15,44,2,60
1215+
1214,15,44,3,35
1216+
1215,15,44,4,35
1217+
1216,15,44,1,35
1218+
1217,15,44,2,5
1219+
1218,15,44,3,60
1220+
1219,15,44,4,5
1221+
1220,15,44,1,60
1222+
1221,15,44,2,60
1223+
1222,15,44,3,5
1224+
1223,15,44,4,35
1225+
1224,15,44,1,5
1226+
1225,15,44,2,35
1227+
1226,15,44,3,5
1228+
1227,15,44,4,60
1229+
1228,15,44,1,5
1230+
1229,15,44,2,60
1231+
1230,15,44,3,35
1232+
1231,15,44,1,60
1233+
1232,15,44,2,35
1234+
1233,15,44,3,5
1235+
1234,15,44,1,60
1236+
1235,15,44,2,5
1237+
1236,15,44,3,35
1238+
1237,15,44,4,5
1239+
1238,15,44,1,5
1240+
1239,15,44,2,60
1241+
1240,15,44,3,35
1242+
1241,15,44,1,5
1243+
1242,15,44,2,60
1244+
1243,15,44,3,35
1245+
1244,15,44,4,5
1246+
1245,15,44,1,5
1247+
1246,15,44,2,60
1248+
1247,15,44,3,35
1249+
1248,16,44,1,35
1250+
1249,16,44,2,60
1251+
1250,16,44,3,5
1252+
1251,16,44,1,100
1253+
1252,16,44,1,60
1254+
1253,16,44,2,35
1255+
1254,16,44,3,35
1256+
1255,16,44,4,5
1257+
1256,16,44,1,60
1258+
1257,16,44,2,40
1259+
1258,16,44,1,60
1260+
1259,16,44,2,5
1261+
1260,16,44,3,5
1262+
1261,16,44,4,35
1263+
1262,16,44,1,35
1264+
1263,16,44,2,65
1265+
1264,16,44,1,35
1266+
1265,16,44,2,35
1267+
1266,16,44,3,5
1268+
1267,16,44,4,60
1269+
1268,16,44,1,65
1270+
1269,16,44,2,35
1271+
1270,16,44,1,100
1272+
1271,16,44,1,95
1273+
1272,16,44,2,5
1274+
1273,16,44,1,100
1275+
1274,16,44,1,35
1276+
1275,16,44,2,5
1277+
1276,16,44,3,60
1278+
1277,16,44,1,100
1279+
1278,16,44,1,5
1280+
1279,16,44,2,35
1281+
1280,16,44,3,60
1282+
1281,16,44,1,40
1283+
1282,16,44,2,60
1284+
1283,16,44,1,60
1285+
1284,16,44,2,5
1286+
1285,16,44,3,35
1287+
1286,16,44,1,100
1288+
1287,16,44,1,60
1289+
1288,16,44,2,35
1290+
1289,16,44,3,5
1291+
1290,16,44,1,60
1292+
1291,16,44,2,5
1293+
1292,16,44,3,35
1294+
1293,16,44,1,5
1295+
1294,16,44,2,95
1296+
1295,16,44,1,60
1297+
1296,16,44,2,35
1298+
1297,16,44,3,35
1299+
1298,16,44,4,5
1300+
1299,16,44,1,35
1301+
1300,16,44,2,60
1302+
1301,16,44,3,5
1303+
1302,16,44,1,95
1304+
1303,16,44,2,5
1305+
1304,16,44,3,5
1306+
1305,16,44,1,60
1307+
1306,16,44,2,35
1308+
1307,16,44,3,5
1309+
1308,16,44,4,35
1310+
1309,16,44,5,5
1311+
1310,16,44,1,100
1312+
1311,16,44,1,35
1313+
1312,16,44,2,65
1314+
1313,16,44,1,5
1315+
1314,16,44,2,95
1316+
1315,16,44,1,35
1317+
1316,16,44,2,35
1318+
1317,16,44,3,5
1319+
1318,16,44,4,65
1320+
1319,16,44,1,100
1321+
1320,16,44,1,60
1322+
1321,16,44,2,35
1323+
1322,16,44,3,5
1324+
1323,16,44,1,60
1325+
1324,16,44,2,5
1326+
1325,16,44,3,60
1327+
1326,16,44,4,35
1328+
1327,16,44,1,35
1329+
1328,16,44,2,60
1330+
1329,16,44,3,5
1331+
1330,16,44,1,100
1332+
1331,16,44,1,60
1333+
1332,16,44,2,35
1334+
1333,16,44,3,5
1335+
1334,16,44,1,35
1336+
1335,16,44,2,5
1337+
1336,16,44,3,60
1338+
1337,5,46,,100
1339+
1338,6,46,,100
1340+
1339,5,45,,100
1341+
1340,5,47,,100
1342+
1341,7,46,,100
1343+
1342,8,48,,100
1344+
1343,9,48,,100
1345+
1344,10,48,,100
1346+
1345,5,46,,100
1347+
1346,6,46,,100
1348+
1347,7,46,,100
1349+
1348,16,1,1,30
1350+
1349,16,1,2,30
1351+
1350,16,1,3,30
1352+
1351,16,1,4,10
1353+
1352,16,1,1,60
1354+
1353,16,1,2,40
1355+
1354,16,1,1,90
1356+
1355,16,1,2,10
1357+
1356,16,6,1,85
1358+
1357,16,6,2,15
1359+
1358,5,1,1,100
1360+
1359,6,1,2,100
1361+
1360,16,1,1,60
1362+
1361,16,1,2,30
1363+
1362,16,1,3,10
1364+
1363,16,6,1,100
1365+
1364,12,51,,100
1366+
1365,12,18,,100
1367+
1366,12,52,,100

0 commit comments

Comments
 (0)