Author Topic: [XP] Troop Treasures  (Read 2632 times)

Offline ThallionDarkshine

  • Ethereal Devastator
  • ****
  • Posts: 274
  • LV: 56
  • Gender: Male
    • View Profile
[XP] Troop Treasures
« on: December 14, 2012, 03:04:41 AM »
Troop Treasures
Authors: ThallionDarkshine
Version: 0.1
Type: Treasure Add-on
Key Term: Enemy Add-on


You ever have a troop filled with many small creatures at the start of your game? You want them to give you exp and gold, but assigning individual rewards would give the player way too much exp/gold. Enter Troop Treasures. This script allows you to setup treasures by encounter, in addition to normal rewards.


  • Add as many item drops as you want, each with its own drop chance
  • Configure rewards by encounter, as well as by monster


It would just be a picture of the battle result window, and you all can imagine that, right?


None yet.


(click to show/hide)


To add a new treasure, go to this line:
Code: [Select]
def self.troop_treasures(troop_id)Insert treasures using this template:
Code: [Select]
when TROOP_ID then return [EXP_DROP, GOLD_DROP, ITEMS_ARRAY]To insert an item into the items array, use this template:
Code: [Select]
[DROP_CHANCE, ITEM_TYPE, ITEM_ID, ITEM_AMOUNT]The item types are as follows:
  0 - Item
  1 - Weapon
  2 - Armor


Might be issues with some CBSs.

Credits and Thanks

  • ThallionDarkshine

Author's Notes