Jump to content
  • 0

Maximum number of item


nunesb

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  11/30/12
  • Last Seen:  

How to stop someone from having more than 20 yggs or 40 ygg seeds in all the game ?

Generic script:

countitem(607) + [countitem(608)]/2 = must be equal to or less than 20

[countitem(608)]/2 because two seeds is one Ygg btw

Edited by nunesb
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  43
  • Reputation:   15
  • Joined:  06/24/12
  • Last Seen:  

You can configure it on db/item_stack.txt, there's no need of script to this task.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  11/30/12
  • Last Seen:  

Ah obrigado ;)

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