Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

FFXII Loot System

I recently started playing FFXII again and I realised how much I like the Loot system, for those who don't know of it....

wikipedia ":3nkrkokc said:
Final Fantasy XII largely reforms the system of earning gil, the currency of the Final Fantasy games. Instead of gil, most enemies drop "loot", which can be sold at shops. This ties into a new battle mechanic which rewards the player with improved loot for slaying a particular type of monster multiple times in a row. Selling different types of loot also unlocks a Bazaar option in shops, which provides items at a lower cost, or items exclusive to the Bazaar.

Anyways I was wondering if anyone would know how to make a loot system with just events ( I am no scripter).

Any Help at all is appreciated.
 
But how would I give the enemies random item drops eg ( Rare: X Potion, common:  High Potion very common: potion) and how would I make the shop system..., and Bazzar...
 
I know somebody's made a script for enemies dropping multiple items, but I can't think of who off the top of my head.

As for the rest of it, I can't think of a way to do that with events (and I'm no scripter). I mean, unless you wanted to sell the items -outside- of a shop, through conversation with a random NPC--that would be really easy to keep track of how many things you've sold, and checking requirements for Bazaar items and whatnot. But I can't think of a way to do that in a shop with just events. Sorry.

Maybe someone else knows.
 
I decided awhile ago to feature a similar loot system in my project. It just doesn't make sense for wild animals to drop coins. Instead, they are going to drop various body parts and other trinkets that are worth small amounts of gold.


Two features I think would be cool for projects using loot systems would be:

1) A subsection in the items menu where all the Loot-type items will go. Could be done easily using an existing item sorting script.
2) A button in shop windows that lets you sell all of your Loot-type items with a single push. I don't know of any such script, but I imagine it wouldn't be too difficult.
 
Ocean's Dream would hate this thread  :lol:

Anyway, this cannot be accomplished with events, it requires a little bit of scripting. There is already an additional enemy loot script floating somewhere in the script archives, so I suggest looking for that. Then, you will need to keep track of how much of each loot you sell, so an additional script would be needed for that. I may try to work on one this weekend.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top