Jump to content
  • 0

[Help]How to make a box


Sick

Question

Hi guys!I don't know if i'm in the right section because the box i want to make i think requests client side files too and that's why i'm here to ask you about it...

So.I want to make a box that when you open it,it gives you random things like blessed scrolls or rb jwls or something like that with different chances

Is there anyone who can tell me how to do that?

Thanks in advance :)

Link to comment
Share on other sites

Recommended Posts

  • 0

Here a basic example to create a custom coin, I hope you can solve your problem, the method is the same, just see how it's done and modify it as you wish.

 

game/data/stats/items

<item id="22568" type="EtcItem" name="Custom Coin">
        <set name="icon" val="icon.etc_pig_adena_i00" />
        <set name="material" val="paper" />
     <set name="is_tradable" val="true />
        <set name="is_dropable" val="false" />
     <set name="is_sellable" val="true" />
        <set name="is_stackable" val="true" />
    </item>

 

EtcItemgrp.dat:

 

2    22568    0    3    5    3    0    DropItems.drop_pig_coin_m00            DropItemsTex.drop_pig_coin_t00                0    0    0    0    0    1    0    0    icon.etc_pig_adena_i01                    -1    0    18    0    0    0                            1        1            1                    ItemSound.itemdrop_etc_book        2    0    0

 

itemname-e.dat:

 

22568    Custom Coin        a,Custom coin of our server, use it to get special rewards.\0    -1    0    0                        a,    0    0        a,    0    0    0    0    0    0    0    0    0    0    a,    1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...