Upon going through the modifications I have to make for my scripts and ideas to work with Herc, I encountered different kinds of shops and other features.
However, stubborn as I am, I wonder if it is possible to modify clif.c to add/modify the current currencies for an item from our item database?
Taking the source for the Cash/Point shop, I see that currency is being declared, but due to my lack of programming skills I can't think of a way to point it to a new value, namely one from the item database.
Is anyone able to push me in the right direction? I've already located the most likely point of origin to modify for this to be possible, the spoiler below contains the cash shop code from clif.c.
Note: I have done my search and did find this as an option, however I like to expand my horizon and get things done how I have them in mind. Potentially providing a change for others to use. I'm not too lazy to search, just too stubborn to accept workaround to be a valid solution.
Greetings,
Upon going through the modifications I have to make for my scripts and ideas to work with Herc, I encountered different kinds of shops and other features.
However, stubborn as I am, I wonder if it is possible to modify clif.c to add/modify the current currencies for an item from our item database?
Taking the source for the Cash/Point shop, I see that currency is being declared, but due to my lack of programming skills I can't think of a way to point it to a new value, namely one from the item database.
Is anyone able to push me in the right direction? I've already located the most likely point of origin to modify for this to be possible, the spoiler below contains the cash shop code from clif.c.
Thanks in advance.
Note: I have done my search and did find this as an option, however I like to expand my horizon and get things done how I have them in mind. Potentially providing a change for others to use.
Edited by TranquilityI'm not too lazy to search, just too stubborn to accept workaround to be a valid solution.
Share this post
Link to post
Share on other sites