so at the part in my game where your given a weapon, i have it based off your job. and the only way i knew how to code it was to type this
Unlike your armor your weapon is given to you based on your profession.
# Alright what weapon do i get?
*if (job =“mage”)
The soldier handing out weapons looks at you with fear in his eyes. He hands you a stick. You ask him what he expect you do with a stick. He says to use it as a wand. Magic come from the skin of the user forming into an element once in the air, wands are not a thing. You throw it in his face. He hands you a dagger before rushing off.
*set weapon “dagger”
*if (job =“knight”)
It’s no question that you are given a longsword its of such fine steel the military really must respect your being a knight.
*set weapon “long sword”
*if (job =“guard”)
Your handed a standard short sword, nothing fancy but in the right hands it kills all the same.
*set weapon “short sword”
*if (job =“bookmaker”)
You can tell the don’t expect much from you fighting wise but some one who can write reports is allways needed but they want you to fight as well. They give you a sword.
*set weapon “sword”
*if (job =“bishop”)
Your handed a knife and told to hope the gods bless you. They clearly think you will die. You bless your knife.
*set weapon “blessed knife”
*if (job =“hunter”)
You are handed a crossbow made of great materials. Your also give a quiver full of bolts.
*set weapon “crossbow and arrows”
*if (job =“merchant”)
The soldiers don’t think you would do well with a sword so they give you a mace.
*set weapon “spiked mace”
*if (job =“performer”)
Being a highway-man your know for stealth and trickery, they give you throwing knives.
*set weapon “throwing knives”
whats wrong with it? it doesn’t give an error it just skips it all together.
also it doesn’t change the stat value