add block.has_tag, item.has_tag

This commit is contained in:
MihailRis
2025-08-30 23:46:45 +03:00
parent 8bdf31d7bb
commit 185b6cc661
7 changed files with 41 additions and 6 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include <glm/glm.hpp>
#include <string>
#include <vector>
#include <set>
#include "data/dv.hpp"
#include "typedefs.hpp"
@@ -73,7 +74,7 @@ struct ItemDef {
ItemFuncsSet funcsset {};
bool emissive = false;
std::vector<int> tags;
std::set<int> tags;
} rt {};
ItemDef(const std::string& name);