Modding Help How to create loot/reward bags with essence

Discussion in 'Starbound Modding' started by Coolguy123, Jul 27, 2018.

  1. Coolguy123

    Coolguy123 Void-Bound Voyager

    I am trying to create a new reward bag different from the vanilla one that would give the player a random amount of essence.I want to add this to my other mod (Figurines table) because it seems to OP to just set a fixed amount of essence for a boss action figure...
    What i think i need:
    Folders
    1. items(active(the loot bag part that i dont know how to do)
    2. treasure(treasurepool.treasurepools)
    I tried copying the fracking universe one and change it but if someone knows the code i would happily take it :3
    Should i say how big of a n00b i am ( with lua code of course)?

    Hopefully the attachment works.
     

    Attached Files:

  2. projectmayhem

    projectmayhem Ketchup Robot

    what doesnt work with it?
     
  3. Coolguy123

    Coolguy123 Void-Bound Voyager

    Sorry for being late:
    The problem is that the items don't spawn after i click the essence bag so i just get an empty reward....
     
  4. projectmayhem

    projectmayhem Ketchup Robot

    Log in, Use one, post your error log. that will most likely have the issues in it
     

Share This Page