add block/item tags

This commit is contained in:
MihailRis
2025-08-30 23:26:07 +03:00
parent d59a901ae0
commit 8bdf31d7bb
9 changed files with 53 additions and 1 deletions
+5
View File
@@ -2,6 +2,7 @@
#include <glm/glm.hpp>
#include <string>
#include <vector>
#include "data/dv.hpp"
#include "typedefs.hpp"
@@ -64,11 +65,15 @@ struct ItemDef {
std::string scriptFile;
std::vector<std::string> tags;
struct {
itemid_t id;
blockid_t placingBlock;
ItemFuncsSet funcsset {};
bool emissive = false;
std::vector<int> tags;
} rt {};
ItemDef(const std::string& name);