Exactly what is line 1444 in the script for you?
Due to the customization options, that line is not the same for everyone (it is an empty line for me 😀 ).
I will release a demo tomorrow, because I think it is really needed for this script.
I also just realized that I actually updated this script, but forgot to upload it when I did it. 😀
I will upload the updated script tomorrow too. Not much will change, so don't expect a huge feature update. 😛
For me, line 1444 is:
return true if AFFIXES[id][:enc_info][3].include?(@enc_item[0])
Either way, I really appreciate it that you're releasing a demo soon, and hopefully from there I'll be able to figure out what I ended up doing wrong.
Well, with a little delay, but the demo is now available with the new version!
I changed the setup format for the enchants, it feels less confusing now.
Yeah, right, this means everyone who used the previous versions will have to setup their enchants again, sorry! >.>
I had to redo the enchant settings for the demo too, that's the main reason of the delay for the demo.
Made around 150 affix and their enchant settings, so it should be enough to get the correct way of setting them up.
They are sorted in an organized way and follow the exact same order in both scripts (Vlue's and mine).
I kinda forgot my own advice and sorted them by categories instead of prefix/suffix based lists, but it is still easy to use the script calls with the current order.
Presented a way of shortening your prefix/suffix lists, make sure to check it out! 🙂
And finally, the script is now split up into multiple parts, because I had enough of scrolling miles up and down in the script. 😛
Info on other changes can be found in the change log.
Nice script, but there's a bug. When an item is used in menu, a new window is poped up and you can choose who would drink the potion, after you choose the right actor, the potion is used, its number come down to 0, but the poped up for choosing actor does not close, although you cannot use the potion again. What you can do is only to press X and quit the window. Is it possible to close the window automatically when the quantity of an item reaches 0?
What's more, by default of your configuration, the potion with afixes that might provide you tp does not work, I try it in battles, whenever an actor drinks a potion of tp, the tp of that actor dores no change. This can be fix by changing the amount of tp value to recover, say 10.0 instead of 0.1.
Yes, the configuration for the TP affixes were incorrect, sorry about that!
Turns out it uses numbers from 0 to 100 instead of float numbers from 0 to 1 to count the percentages.
I assumed the latter because that is how HP and MP potions works for percentage effects.
About the actor window not closing, that is how the default menu acts, it has nothing to do with my script. Regardless of what item you use, it will not close itself automatically when the amount of item reached zero. You can probably ask for a modification in the script request section of the forum regarding this issue (which I might do for you 😛 ).
Thanks for helping, but I have another problem with your script. To hide the enchant on the list, until the player has at least 1 required item for it, I set Show_All = false in your demo. Then I enter the game, and talk to the enchanter, the game crashes...
I'm making my affixes so complicated like Diablo, and I don't wanna show them all on the list, which can be a nightmare for players to find the enable enchantment.
Whoops, nice find!
Thanks for reporting!
I uploaded the fixed main script version in the opening post (v 1.5).
Only the main code part is changed, so you can simply download that and replace your current main script with the new one.
I suppose you got the crash when the player got no enchants available to choose from (so, the item requirements were not met for any of the enchants). This should be fixed now.
I was lost at trying to enchant an item using magic spells.
What I'm trying to do, by using the Magic Units and Draw Magic scripts is use a certain number of collected spells to enchant weapons and armor. But I have no idea how to assign that to a skill or have it done via an enchanting altar. All I see is a bunch of code, note tags, and no known method through which to implement it through an event.
I don't understand much about how scripts work and my knowledge of eventing is very limited. Can someone leave some instructions here?
You can open the enchant scene with the 'enchant_scene' script call.
Script calls are used in the events.
It is explained in the manual. It is also shown in the demo.
I doubt that I can explain it more clearly, sorry.
I don't know what are you trying to do exactly, or what those scripts you mentioned do, but I won't plan on doing anything with skills in this script.
Just when I didn't think Vlue's system could get any better....... 🤘 😮 🤘
You my friend are awesome!!!
Hi there, sorry to bump after such a long time, but there is an issue with the script : when I create a new item/weapon/armor, its icon/name don't show on existing saves, same for its value, set to 0, I have to start a new game for the game to consider it.
Could you help ?