Jump to content
  • 0

Boxes/chests Or W/e


Question

Posted

hey, I cant find the xml file or something that holds the info on the boxes/chests or w/e items. I mean like you get an item from a monster, its a box or smth, and you can open it, and you get an item from it. dunno how to explain it but I think its somewhere in the files and I cant find it :)

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

It's easy. Check the Reagent Pouch xml structure and do the same ;)

 

Item xml

        <set name="handler" val="ItemSkills" />
        <set name="item_skill" val="2174-1" />

==>

 

skill xml

    <skill id="2174" levels="3" name="Ingredient Bag">
        <table name="#extractableItems">
            6019,2,30;6013,2,30;6014,1,20;6016,1,20 <--- here, it's level 1 skill
            6017,2,10;6020,2,20;6014,1,35;6016,1,35
            6012,1,20;6018,2,20;6019,2,20;6013,1,40
        </table>
        <set name="capsuled_items_skill" val="#extractableItems" />
        <set name="operateType" val="OP_ACTIVE" />
        <set name="skillType" val="EXTRACTABLE" />
        <set name="target" val="TARGET_SELF" />
    </skill>
Edited by SweeTs
  • 0
Posted

I formulated the question wrong probably :/ How do I create a box (item for inventory) that opens and gives you different items when you open it

  • 0
Posted

is there a way to make different chances in getting those items from extraction? like there's 90% chance that u get 1m adena's and 10% that u get 2m. just wondering

  • 0
Posted (edited)

You should pay more attention for the 'config'.. 6019,2,30;

 

Id, amount, chance;

Edited by SweeTs
Guest
This topic is now closed to further replies.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock