1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-16 18:05:22 +02:00

Move cook result properly to ContentFeatures

This commit is contained in:
Perttu Ahola
2011-11-16 01:34:09 +02:00
parent f107967fdc
commit 37a5f8a30b
6 changed files with 19 additions and 29 deletions

View File

@@ -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