One of my planned final fantasy systems. I also might make a role shift system like in ff13
Based on the system from final fantasy 12, This system allows you to add rewards for selling items. In the maps example: If you sell 2 adamants, and 2 diamonds, the shop I placed now has 1 light orb availible.
Registering items is easy, just call the following function:
function AddMaterial takes integer matA, integer matB, integer rwrd , integer NeededA, integer NeededB, unit shop returns nothing
matA is your first material's rawcode
matB is your second material rawcode
rwrd is the resulting items rawcode
NeededA is the amount of material A's that need to be sold
NeededB is the amounf of material B's that need to be sold
unit shop is the specific shop the reward is added to. Please note that if you want an item to appear at multiple shops, you have to call the function for each shop..
I did not add a way to remove item registries
Please excuse the screenshot, I couldn't find a relevant picture, and was too lazy to make a screenshot
Keywords:
Final, fantasy, 12, material, system, items, rewards, simple, rpg