ID:174069
![]() Oct 5 2003, 7:39 am
|
|
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
|
![]() Oct 5 2003, 8:51 am
|
|
What exactly is a pokemon system?
|
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? |
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
|
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 :) |
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. another question, who is he. |