![]() |
Non-consumable Condition for Items
I've created an item called, "The Fruit That Keeps Giving", with the intention of making it an item that can be used forever. However, if I don't check the "consumable" box, it doesn't allow the item to be used at all. Is there a fix for this?
|
This could possibly work:
Create a new item function (just find which of the others you were looking to imitate) in functions/functions_items.php but don't call the line $delitem = $item->remove(); in it. Be sure to also reference the item function in classes/class_privateitem.php. Then go attach that function to the item. You may need to make it appear consumable, but because the function doesn't include that line, it shouldn't? Let me know how that goes...? :happyc: |
I will have to try that. Thanks for the help. I'll definitely let you know how that goes!
|
I finally got around to trying it and that worked! Thank you so much!
|
Great! :meow:
|
All times are GMT -5. The time now is 04:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.