i have attack working but it attacks even if i am just carrying weapon. how can i make it stop action and say you are not holding weapon?
I would try:
A weapon is a kind of thing. Sword, Axe, Gun are weapon.
check attacking:
if player is not carrying weapon:
say "You are not carrying a weapon to attack with.";
stop the action;
I don’t have access to my laptop here so the exact wording may be a little different. Hopefully this helps?
Thank you