Jump to content
  • 0

[Help]How to make a box


Question

Posted

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

Recommended Posts

  • 0
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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