mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add ItemStack:get_description() to get tooltip (#8847)
This commit is contained in:
parent
efbac7e446
commit
008b80fe1c
6 changed files with 33 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue