Onairda Posted February 6, 2021 Posted February 6, 2021 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 ! Quote
1 ManokStreZ Posted March 4, 2021 Posted March 4, 2021 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 Quote
0 n0stalgia Posted February 6, 2021 Posted February 6, 2021 { 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),", ) Quote
0 botka4aet Posted March 4, 2021 Posted March 4, 2021 (edited) 7 hours ago, ManokStreZ said: cant find "item_group.conf" in my rathena https://github.com/rathena/rathena/blob/master/db/re/item_group_db.txt also read how add - https://github.com/rathena/rathena/blob/master/doc/item_group.txt Edited March 4, 2021 by botka4aet Quote
0 ManokStreZ Posted March 5, 2021 Posted March 5, 2021 16 hours ago, botka4aet said: https://github.com/rathena/rathena/blob/master/db/re/item_group_db.txt also read how add - https://github.com/rathena/rathena/blob/master/doc/item_group.txt Try Follow guide Quote
0 botka4aet Posted March 5, 2021 Posted March 5, 2021 Did you add group here - https://github.com/rathena/rathena/blob/master/src/map/itemdb.hpp ? Quote
Question
Onairda
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.