mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Move cook result properly to ContentFeatures
This commit is contained in:
parent
f107967fdc
commit
37a5f8a30b
6 changed files with 19 additions and 29 deletions
|
@ -209,6 +209,7 @@ struct ContentFeatures
|
|||
std::string dug_item;
|
||||
// Extra dug item and its rarity
|
||||
std::string extra_dug_item;
|
||||
// Usual get interval for extra dug item
|
||||
s32 extra_dug_item_rarity;
|
||||
// Initial metadata is cloned from this
|
||||
NodeMetadata *initial_metadata;
|
||||
|
@ -227,6 +228,7 @@ struct ContentFeatures
|
|||
u32 damage_per_second;
|
||||
NodeBox selection_box;
|
||||
MaterialProperties material;
|
||||
std::string cookresult_item;
|
||||
|
||||
/*
|
||||
Methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue