Added lua function for finding/creating/destroying items in a soldier's inventory

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9132 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2021-07-08 19:23:26 +00:00
parent 3f4da5fad5
commit 8d112e5191
3 changed files with 119 additions and 2 deletions
+3 -1
View File
@@ -2053,7 +2053,9 @@ public:
void DrugAutoUse();
OBJECTTYPE* GetObjectWithItemFlag( UINT64 aFlag );
void DestroyOneObjectWithItemFlag( UINT64 aFlag );
bool DestroyOneObjectWithItemFlag( UINT64 aFlag );
bool DestroyOneItemInInventory( UINT16 ausItem );
bool HasItemInInventory( UINT16 ausItem );
// Flugente: can we fill a blood bag from this guy ?
BOOLEAN IsValidBloodDonor();