mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-06 07:25:26 +01:00
Add ability to override item images using meta (#12614)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user