Fenriswolf
Member
I have recently started working with the PrexCraft Script,
of which the original topic can be found here:
viewtopic.php?f=11&t=11261
Now I have come across this problem which I can't seem to solve myself.
I created some recipes for the skill Blacksmith and I learned this trade to my characters.
And everything works so far. But when I try to use the following code, I get an error.
I use the code as you can see in the screenshot below.
And then I get this error:
I tried to change some things in the event as well as in my script, but the error keeps popping up as soon as I talk to the event.
I would really appreciate some help. It is probably something small in the event I made or it might be something in the script itself.
If needed I will post my copy of the script here, since I might have accidentally messed something up in the script (although I doubt it).
of which the original topic can be found here:
viewtopic.php?f=11&t=11261
Now I have come across this problem which I can't seem to solve myself.
I created some recipes for the skill Blacksmith and I learned this trade to my characters.
And everything works so far. But when I try to use the following code, I get an error.
Code:
# trade_check() : name, level
# - this will return true or false, depending on if the arguement 'level' is
# less than or equal to the 'trade skill'.
I use the code as you can see in the screenshot below.
And then I get this error:
Code:
Script 'Crafting' line 717: ArgumentError occurred.
comparison of Fixnum with String failed
I tried to change some things in the event as well as in my script, but the error keeps popping up as soon as I talk to the event.
I would really appreciate some help. It is probably something small in the event I made or it might be something in the script itself.
If needed I will post my copy of the script here, since I might have accidentally messed something up in the script (although I doubt it).