Skip to content

Boxes/chests Or W/e

Featured Replies

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 :)

Solved by SweeTs

  • Author

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

  • Solution

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

  • Author

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

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

 

Id, amount, chance;

Edited by SweeTs

  • Author

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

 

Id, amount, chance;

sorry, my bad :) close it

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.