Closed zachtaylor closed 11 years ago
There also needs to be a table for stores. ie, each store can have it's own stock and it's own prices...
MartItemMap
areaID vendor itemID
area then has many vendors
This is all done! woo!
Water doesn't work yet. Framework is in for all this stuff, which was the hard part. Probably.
Tables
Map package is going to need a bunch of tables...
by area id, string name, int hash of buildings, int waterID?
by area id, int pkmn number, string tag?, int minlevel, int maxlevel, int flex
by area id, int direction, int requirementType, more requirement data ?
by area id, int eventType, more event data...
can probably jam it into spawninfo... but could use a table for it ?
All this crap should probably be in it's own database file. That way, non-technical server hosts could drag'n'drop new maps onto the JPokemon server.
I'm not even content that this is all that needs to be done.
Bad feelings
There probably needs to be a concept of a SubArea. For example, you can go inside buildings. Also, Viridian Forest is INSIDE Route 2 (There could be a Route-2 NORTH and a Route-2 SOUTH which neighbor Viridian Forest).
I'm also not completely confident that the (semi-) existing tag system it the right way to implement pokemon spawning in different sets in the same area.