mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Add ItemStack:get_description() to get tooltip (#8847)
This commit is contained in:
@@ -47,6 +47,8 @@ struct ItemStack
|
||||
|
||||
// Returns the string used for inventory
|
||||
std::string getItemString() const;
|
||||
// Returns the tooltip
|
||||
std::string getDescription(IItemDefManager *itemdef) const;
|
||||
|
||||
/*
|
||||
Quantity methods
|
||||
|
Reference in New Issue
Block a user