emissive items

This commit is contained in:
MihailRis
2024-01-11 18:02:27 +03:00
parent 213eba6072
commit 05fe86e64c
5 changed files with 25 additions and 9 deletions
+2
View File
@@ -21,6 +21,7 @@ public:
std::string const name;
bool generated = false;
uint8_t emission[4] {0, 0, 0, 0};
item_icon_type iconType = item_icon_type::sprite;
std::string icon = "block:notfound";
@@ -31,6 +32,7 @@ public:
itemid_t id;
item_funcs_set funcsset {};
blockid_t placingBlock;
bool emissive = false;
} rt;
ItemDef(std::string name);