Jump to content

Suggestion - Item type for useable items without consumption


sietse11

Recommended Posts


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   7
  • Joined:  02/10/13
  • Last Seen:  

My suggestion is this,

0 = Usable : healing2 = Usable : other3 = Misc4 = Weapon5 = Armor6 = Card7 = Pet Egg8 = Pet Equipment10 = Arrow/Ammunition11 = Usable : delayed consumption (items with script "pet" or "itemskill")18 = Another delayed consume that requires user confirmation before using item.

Add an item type to create useable items that wont be consumed to this list. For instance,

36 = Usable delayed consumption that won't be consumed upon use (items with script "pet" or "itemskill")

 

Personally I'd use this for gm skills without giving gm's access to all skills and rental items

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Have you tried with item type 11? Those shouldn't disappear after use (ex. Reins of Mount, id 12622).

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Then I think perhaps the issue here, would be that Item Type 11, is slightly misleading lol. A delayed consumption gernally speaking means that it will be consumed eventually and if you're like me, then you probably assumed it meant it would be consumed after X/1000 seconds have passed lol. Could we perhaps just change the description so that it states, Item that will not be consumed upon use.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

11, for me, it sounds like "if u use this item, it will trigger delay time before consume same item", lol, sounds like item_delay.txt -_- or "when u use this item, the effect of the item will be worked after x time, not instantly worked". yeah sounds strange like that for me. :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

item type 11 -> IT_DELAYCONSUME

actually I think it fits the description

item type 11 is actually meant for itemskill

if you change wing of fly (601) into item type 2 (IT_USABLE), this item will no longer working

meaning, itemskill is only work on item type 11

run this query and you'll find most of them has itemskill with it

select * from item_db_re where type = 11;

the reason it says delay consume is because of the targeting cursor

for example Fire Scroll (690)

when you use it, the cursor comes out, but the item haven't consumed yet

it only consumed after the target is valid ( you can't cast on players in non-pvp map ... etc )

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

let just add a note stating that you need to delete it yourself ?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   7
  • Joined:  02/10/13
  • Last Seen:  

item type 11 -> IT_DELAYCONSUME

actually I think it fits the description

item type 11 is actually meant for itemskill

if you change wing of fly (601) into item type 2 (IT_USABLE), this item will no longer working

meaning, itemskill is only work on item type 11

run this query and you'll find most of them has itemskill with it

select * from item_db_re where type = 11;
the reason it says delay consume is because of the targeting cursor

for example Fire Scroll (690)

when you use it, the cursor comes out, but the item haven't consumed yet

it only consumed after the target is valid ( you can't cast on players in non-pvp map ... etc )

 

 

 

11, for me, it sounds like "if u use this item, it will trigger delay time before consume same item", lol, sounds like item_delay.txt -_- or "when u use this item, the effect of the item will be worked after x time, not instantly worked". yeah sounds strange like that for me. :P

 

 

Have you tried with item type 11? Those shouldn't disappear after use (ex. Reins of Mount, id 12622).

 

 

Oh so sorry people.

I didn't notice any responses here.

You really need to quote me to get my attention /meh

Well, Flywings are item type 11. And they are consumed.

So after all your comments I still don't have my answer.

 

If the item type is for usable items that aren't consumed how come a flywing(601) is consumed?

itemskill "AL_TELEPORT",1;

As you see the script only mentions the lvl 1 teleport

 

Reins of Mount (12622) is also type 11

setmounting();

But as you can see the script doesn't call a skill

 

So there's only two options here.

There's a function to make items use a skill without the prefix itemskill, which I don't know xD

Or there's a file telling itemskill which items to consume. which I also don't know.

 

But the way I understood type11

Items that cast a player/mob skill. Consumed after skill trigger.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

As Annie stated, 'itemskill' will consume items of type 11, and other commands won't - so Fly Wings are consumed, Reins of Mount isn't.

I'll add a note to the item_db documentation, so I'll mark this closed.

  • Upvote 1
Link to comment
Share on other sites

×
×
  • Create New...