1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-16 09:55:22 +02:00

Add a short_description to be used by mods (#8980)

This commit is contained in:
DS
2020-10-09 20:11:21 +02:00
committed by GitHub
parent b2f3f66385
commit f3ae45b2b2
11 changed files with 102 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ struct ItemStack
std::string getItemString(bool include_meta = true) const;
// Returns the tooltip
std::string getDescription(IItemDefManager *itemdef) const;
std::string getShortDescription(IItemDefManager *itemdef) const;
/*
Quantity methods