ID:173769
 
I'm making the class selection kind of like Kingdom Hearts in which you choose a weapon at the beginning. Now... how would I set it up where once you choose a weapon it sets a variable on your character which would affect how your stats go up when you level and after choosing, you are teleported to somewhere. Also, I want the items to be on the ground, but I don't want them to disappear when picked up.

On to the leveling system... I plan on having the weapon choice affect most of the stat gains, however... I also want people to have the ability to customize their character a little bit, so I would also like to give them stat points to spend. So how do I set this kind of thing up?
You would essentially just create a class system, but instead of "classes" you would use weapons. On levelling and whatnot, you would test to see what weapon the player has chosen instead of what class they are. This would be tested just the same as a class. A suggestion to you might be to refer to it as a path, instead of a text string. (/obj/weapon/sword instead of "sword"), so you can test things like if(istype(src.equippedweapon,src.weapontype)) etc.

If you want an item to remain after picking it up, don't pick it up, make a new object. Instead of changing its loc, create a new object in the usr, or wherever you're going to put it.

new src.type(usr)

rather than
src.loc = usr


Hope this is of some help to you.
In response to DerDragon
I don't want the selection to be right when the game starts... I want it to be after a little bit in-game...

anyways, also would help if I knew how to do that stuff, which I don't, but thanks for what you've told me so far