sietse11 Posted January 5, 2014 Posted January 5, 2014 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
Euphy Posted January 5, 2014 Posted January 5, 2014 Have you tried with item type 11? Those shouldn't disappear after use (ex. Reins of Mount, id 12622). 1
GmOcean Posted January 7, 2014 Posted January 7, 2014 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.
Cydh Posted January 7, 2014 Posted January 7, 2014 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.
AnnieRuru Posted January 7, 2014 Posted January 7, 2014 (edited) 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 January 7, 2014 by AnnieRuru
Lighta Posted January 7, 2014 Posted January 7, 2014 let just add a note stating that you need to delete it yourself ?
sietse11 Posted January 21, 2014 Author Posted January 21, 2014 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 cursorfor 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. 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 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.
Euphy Posted January 21, 2014 Posted January 21, 2014 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. 1
Recommended Posts