mirror of
https://github.com/chase-manning/pokemon-js.git
synced 2025-11-21 09:00:44 +00:00
✨ create pewter city poke mart map
This commit is contained in:
parent
3898f383d9
commit
ea3f08a6e0
1 changed files with 50 additions and 0 deletions
50
src/maps/pewter-city-poke-mart.ts
Normal file
50
src/maps/pewter-city-poke-mart.ts
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
import image from "../assets/map/pewter-city-poke-mart.png";
|
||||
import { MapId, MapType } from "./map-types";
|
||||
|
||||
import music from "../assets/music/maps/pokemon-center.mp3";
|
||||
import { ItemType } from "../app/use-item-data";
|
||||
|
||||
const pewterCityPokeMart: MapType = {
|
||||
name: "Pewter City Poke Mart",
|
||||
image,
|
||||
height: 8,
|
||||
width: 8,
|
||||
start: {
|
||||
x: 4,
|
||||
y: 6,
|
||||
},
|
||||
walls: {
|
||||
1: [0, 1, 2, 3, 4, 5, 6, 7],
|
||||
3: [0, 1, 4, 5, 6, 7],
|
||||
4: [1, 4, 5, 6, 7],
|
||||
5: [1],
|
||||
6: [0, 1],
|
||||
},
|
||||
text: {},
|
||||
maps: {},
|
||||
exits: {
|
||||
7: [3, 4],
|
||||
},
|
||||
music,
|
||||
grass: {},
|
||||
exitReturnMap: MapId.PewterCity,
|
||||
exitReturnPos: {
|
||||
x: 23,
|
||||
y: 18,
|
||||
},
|
||||
store: {
|
||||
x: 1,
|
||||
y: 5,
|
||||
},
|
||||
storeItems: [
|
||||
ItemType.PokeBall,
|
||||
ItemType.Potion,
|
||||
// ItemType.EscapeRope, TODO Add this
|
||||
// ItemType.Antidote, TODO Add this
|
||||
// ItemType.BurnHeal, TODO Add this
|
||||
// ItemType.Awakening, TODO Add this
|
||||
// ItemType.ParalyzeHeal, TODO Add this
|
||||
],
|
||||
};
|
||||
|
||||
export default pewterCityPokeMart;
|
||||
Loading…
Add table
Add a link
Reference in a new issue