ID:174069
 
is there a tutor/demo/lib on how to make pokemon system? i currently making one of my own but i dunno how to make it
What exactly is a pokemon system?
In response to Camaro
like the player get 6 mobs, which is pokemon, and he can only have 6 of them max with him. i tried making it as a list but it doesn't work. i dunno if it should be a list of objs, or mobs, or another kind of coding.

this is the stat panel i have

statpanel("PokemonRoster")
for(var/list/PRL in PRL)
stat("Your current lineup:")
stat(PRL)


this is the list pokemon i made

mob/var
L = new/list(6)


and this is the verb i made which is talk(). it gives the player the pokemon

L = list("/mob/Pokemons/Bulbasaur")

this code doesnt work. if you know what i did wrong can u tell me?
In response to ZDarkGoku
sry for double posting but i made it so its as usr.contents += /mob/pokemon/bulbasaur or whatever. i think i got it. maybe. i hope
In response to ZDarkGoku
ZDarkGoku wrote:
sry for double posting but i made it so its as usr.contents += /mob/pokemon/bulbasaur or whatever. i think i got it. maybe. i hope

This isnt such a good idea. One reason is when you get items such as potions and pokeballs they would go into your contents as invantory. It would be more organized to make your own list of pokemon that you have. How ever if you make pokemon as mobs then most items will be objects. As long as you dont make a item that you get a mob type you could distinguish this from pokemon and items in your contents list. Good luck :)
In response to ZDarkGoku
ZDarkGoku wrote:
like the player get 6 mobs, which is pokemon, and he can only have 6 of them max with him. i tried making it as a list but it doesn't work. i dunno if it should be a list of objs, or mobs, or another kind of coding.

this is the stat panel i have

statpanel("PokemonRoster")
for(var/list/PRL in PRL)
stat("Your current lineup:")
stat(PRL)


this is the list pokemon i made

mob/var
L = new/list(6)


and this is the verb i made which is talk(). it gives the player the pokemon

L = list("/mob/Pokemons/Bulbasaur")

this code doesnt work. if you know what i did wrong can u tell me?

another question, who is he.
In response to Wanabe
another question, who is he.

the player mob