mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add block.properties, item.properties (experimental)
This commit is contained in:
parent
b40c8c4b4c
commit
cd630463b3
4 changed files with 31 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <glm/glm.hpp>
|
||||
#include <string>
|
||||
|
||||
#include "data/dv.hpp"
|
||||
#include "typedefs.hpp"
|
||||
|
||||
struct item_funcs_set {
|
||||
|
|
@ -25,6 +26,8 @@ struct ItemDef {
|
|||
/// @brief Item name will shown in inventory
|
||||
std::string caption;
|
||||
|
||||
dv::value properties = nullptr;
|
||||
|
||||
itemcount_t stackSize = 64;
|
||||
bool generated = false;
|
||||
uint8_t emission[4] {0, 0, 0, 0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue