Jump to content
  • 0

Create new box Like old blue box


Question

Posted

Hello Everyone,

 

Good day!

 

Can you please provide a guide on how I can create a new box that when it open it generate random items like OBB ? .

I tried to put on id IG_NEWEBOsX in db/const.txt

and put it inside miy item-db-usable.yml but nothing works. 

 

thanks !

5 answers to this question

Recommended Posts

  • 1
Posted
On 2/6/2021 at 10:14 AM, n0stalgia said:

{
    Id: 99999
    AegisName: "Random_Potion_Box"
    Name: "Random Potion Box"
    Type: "IT_USABLE"
    Buy: 10000
    Weight: 200
    BuyingStore: true
    Trade: {
        noselltonpc: true
    }
    Script: <" getrandgroupitem 99999,1; ">
},

add this to your  "item_group.conf"
Random_Potion_Box: (
    ("Red_Potion",3),
    ("Yellow_Potion",3),
    ("Orange_Potion",3),",
)

cant find "item_group.conf" in my rathena

  • 0
Posted

{
    Id: 99999
    AegisName: "Random_Potion_Box"
    Name: "Random Potion Box"
    Type: "IT_USABLE"
    Buy: 10000
    Weight: 200
    BuyingStore: true
    Trade: {
        noselltonpc: true
    }
    Script: <" getrandgroupitem 99999,1; ">
},

add this to your  "item_group.conf"
Random_Potion_Box: (
    ("Red_Potion",3),
    ("Yellow_Potion",3),
    ("Orange_Potion",3),",
)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...