🚀 add pewter city buildings

This commit is contained in:
Chase Manning 2023-10-04 18:04:25 +01:00
commit 21d891c76e
4 changed files with 38 additions and 5 deletions

View file

@ -2,8 +2,12 @@
- Block the first gym in some way
- Implement quests
- Add ability to get items after battles
- Get tiems from Brock (Boulder badge and TM 34 (Bide)) "Wait! Take this with you!", "BLUE received TM34!", "A TM contains a technique that can be taught to POKEMON!", "A TM is good only once! So when you use one to teach a new technique, pick the POKEMON carefully!", "TM34 contains BIDE!", "Your pokemon will absorb damage in battle then pay it back double!"
- Populate all signs, from the lorem ipsums
- Add transition from viridian forrest gate north to route 2 north side
- Implement town map in NPC houses
- Restrict east traversal before beating brock
- Gym leaders don't auto encounter, you need to talk to them
===========

View file

@ -18,6 +18,11 @@ import viridianCityPokeMart from "./viridian-city-poke-mart";
import viridianCityPokemonCenter from "./viridian-city-pokemon-center";
import pewterCity from "./pewter-city";
import route2GateNorth from "./route-2-gate-north";
import pewterCityPokeMart from "./pewter-city-poke-mart";
import pewterCityPokemonCenter from "./pewter-city-pokemon-center";
import peweterCityNpcA from "./pewter-city-npc-a";
import peweterCityNpcB from "./pewter-city-npc-b";
import pewterCityGym from "./pewter-city-gym";
const mapData: Record<string, MapType> = {
[MapId.PalletTown]: palletTown,
@ -39,6 +44,11 @@ const mapData: Record<string, MapType> = {
[MapId.ViridianForrest]: viridianForrest,
[MapId.PewterCity]: pewterCity,
[MapId.Route2GateNorth]: route2GateNorth,
[MapId.PewterCityPokeMart]: pewterCityPokeMart,
[MapId.PewterCityPokemonCenter]: pewterCityPokemonCenter,
[MapId.PewterCityNpcA]: peweterCityNpcA,
[MapId.PewterCityNpcB]: peweterCityNpcB,
[MapId.PewterCityGym]: pewterCityGym,
};
export default mapData;

View file

@ -20,8 +20,13 @@ export enum MapId {
Route2 = "route-2",
Route2Gate = "route-2-gate",
ViridianForrest = "viridian-forrest",
PewterCity = "pewter-city",
Route2GateNorth = "route-2-gate-north",
PewterCity = "pewter-city",
PewterCityPokeMart = "pewter-city-poke-mart",
PewterCityPokemonCenter = "pewter-city-pokemon-center",
PewterCityNpcA = "pewter-city-npc-a",
PewterCityNpcB = "pewter-city-npc-b",
PewterCityGym = "pewter-city-gym",
}
export interface PokemonMinimalType {

View file

@ -28,11 +28,11 @@ const pewterCity: MapType = {
10: [3, 34],
11: [3, 34],
12: [3, 28, 29, 30, 31, 34],
13: [3, 28, 29, 30, 31, 34],
13: [3, 28, 30, 31, 34],
14: [3, 12, 13, 14, 15, 16, 17, 22, 23, 24, 25, 34],
15: [3, 12, 13, 14, 15, 16, 17, 22, 23, 24, 25, 34, 35, 36, 37, 38, 39],
16: [3, 12, 13, 14, 15, 16, 17, 22, 23, 24, 25],
17: [3, 11, 12, 13, 14, 15, 16, 17, 22, 23, 24, 25],
17: [3, 11, 12, 13, 14, 15, 17, 22, 24, 25],
18: [3, 18],
19: [3, 18, 33],
20: [3, 18, 34, 35, 36, 37, 38, 39],
@ -44,7 +44,7 @@ const pewterCity: MapType = {
26: [3, 21, 30, 35],
27: [3, 21, 30, 35],
28: [3, 6, 7, 8, 9, 21, 30, 35],
29: [3, 6, 7, 8, 9, 19, 21, 30, 35],
29: [3, 6, 8, 9, 19, 21, 30, 35],
30: [3, 35],
31: [3, 35],
32: [
@ -90,7 +90,21 @@ const pewterCity: MapType = {
],
},
},
maps: {},
maps: {
13: {
29: MapId.PewterCityNpcB,
},
17: {
16: MapId.PewterCityGym,
23: MapId.PewterCityPokeMart,
},
25: {
13: MapId.PewterCityPokemonCenter,
},
29: {
7: MapId.PewterCityNpcA,
},
},
exits: {
35: [18, 19],
},