Jump to content
  • 0

Item Group Package


Loke

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  12/20/11
  • Last Seen:  

Hello guys, how to enable item group package in pre-renewal?

thanks in advance.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

2 hours ago, Loke said:

Hello guys, how to enable item group package in pre-renewal?

thanks in advance.

you need to make a custom box in your item db

db/import/itemdb_yml or 
db/pre-re/item_db_useable.yml

example:
 

Quote

- Id: 40000
    AegisName: DEX_Biscuit_Stick_Box11
    Name: Custom Box 
    Type: Cash
    Buy: 10
    Weight: 10
    Flags:
      UniqueId: true
    Trade:
      Override: 100
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: false
    Script: |
       getitem 14003,10; getitem 12210,5; 

save then @reloaditemdb
then edit your iteminfo.lua
 

Quote

 [40000] = {
        unidentifiedDisplayName = "Custom Box",
        unidentifiedResourceName = "Your_Box_sprite",
        unidentifiedDescriptionName = { "..." },
        identifiedDisplayName = "Custom Box",
        identifiedResourceName = "Your_Box_sprite",
        identifiedDescriptionName = { 
            "A box that contains the following",
            "________________________",
            "^0000FFElite Siege Supply Box 10pcs.^000000",
            "^0000FFBubble Gum 5pcs.^000000",    
            "________________________",
            "^0000CCWeight:^000000 1",
        },
        slotCount = 0,
        ClassNum = 0
    },

 

Edited by GM Winter
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.

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...