The error message points to a wrong variable, did you create every used variable? I don´t know choice script well, at the moment, but none in other programming languages mostly means that you created a variable without a value
Yeah, it’s weird that it wouldn’t throw an error. @hexfur, you’ll want to be sure that your created variable is *create cord1 0 if you want it to be a number. (or whatever number you want it to start at.)
That’s how it reads in my *create list. Wood is the same way, but that’s having no problems
@Nocturnal_Stillness I’ll remove the “” from some things, see if that makes a difference. I’ve never had a problem with them before but i’m also new to the choicescript ide
Yeah, definitely make it *create cord1 0. And do that to all the variables you want to add/subtract from. That will solve a lot of things.
And then, when you have your *if statement, check *if blah = 0 rather than *if blah = “0”, and of course change all of your *set lines to *set blah +10 instead of *set blah “+10.” Oodles of errors will clear up this way. Maybe not the specific one we’re after here, but still oodles down the road.
Same exact issue popped up. Nothing changed
& when I’ve set up things like that before, where it adds something, i never put:
*set variable “+10”
because it always screws it up, and makes it Variable +10 instead of Variable 10
Edit: It’s only happening with the *else statement part of that choice now
Edit 2: Changed the *else to *if ((((axe1 = “none”) or (axe2 = “None”)) or (fknife1 = “None”)) or (fknife2 = “None”)) or (bknife = “None”)), same exact issue
Is there a reason you’re setting item1, item2 etc. to “yes” and “no” instead of true/false? It would make your life much easier if you used boolean variables.