Problem description:
I want to know, is it possible to create a new variable mid-game, and if so, how is it done? I hope to cut down on the number of unusable variables my players will have. For example, the player might choose between swordsman and axeman at the beginning of their game. Choosing swordsman would add a swordsmanship variable determining their skill, axeman would add an axemanship variable, for the same purpose.
Jul 29 2015, 12:49 pm
|
|
You can either genericize the variable, and just name it weapon skill, or you can use a list to store skills by name or number.
|
You can use an associative list:
mob/player |