Add removeitem(item_id, quantity) to Perl/Lua. (#1156)

- Perl: quest::removeitem(item_id, quantity);
- Lua: eq.remove_item(item_id, quantity);
This commit is contained in:
Alex
2020-12-29 19:21:47 -05:00
committed by GitHub
parent 21a1a7bed7
commit a920d449ff
4 changed files with 65 additions and 0 deletions
+1
View File
@@ -227,6 +227,7 @@ public:
int collectitems(uint32 item_id, bool remove);
int collectitems_processSlot(int16 slot_id, uint32 item_id, bool remove);
int countitem(uint32 item_id);
void removeitem(uint32 item_id, uint32 quantity = 1);
std::string getitemname(uint32 item_id);
void enabletitle(int titleset);
bool checktitle(int titlecheck);