mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
CraftItem rework and Lua interface
This commit is contained in:
@@ -123,6 +123,8 @@ public:
|
||||
// If all fits, eats item and returns true. Otherwise returns false.
|
||||
virtual bool addToInventory(InventoryItem *item)
|
||||
{return false;}
|
||||
virtual void addToInventoryLater(InventoryItem *item)
|
||||
{}
|
||||
virtual void setHP(s16 hp)
|
||||
{}
|
||||
virtual s16 getHP()
|
||||
|
Reference in New Issue
Block a user