mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Add ability to override item images using meta (#12614)
This commit is contained in:
parent
8c2c7fadbf
commit
4158b72971
13 changed files with 200 additions and 151 deletions
|
@ -51,6 +51,12 @@ struct ItemStack
|
|||
std::string getDescription(const IItemDefManager *itemdef) const;
|
||||
std::string getShortDescription(const IItemDefManager *itemdef) const;
|
||||
|
||||
std::string getInventoryImage(const IItemDefManager *itemdef) const;
|
||||
std::string getInventoryOverlay(const IItemDefManager *itemdef) const;
|
||||
std::string getWieldImage(const IItemDefManager *itemdef) const;
|
||||
std::string getWieldOverlay(const IItemDefManager *itemdef) const;
|
||||
v3f getWieldScale(const IItemDefManager *itemdef) const;
|
||||
|
||||
/*
|
||||
Quantity methods
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue