diff options
author | Mark Holmquist <marktraceur@gmail.com> | 2011-08-16 02:14:49 -0700 |
---|---|---|
committer | Mark Holmquist <marktraceur@gmail.com> | 2011-09-23 18:13:53 -0700 |
commit | 85f119e1e6cc958a54eaf8468f2a302aa8c60dbe (patch) | |
tree | 289ee051ee5eeba1174147229f111ce109ac9e68 /src/mapnode.h | |
parent | 789c88509c1eab8407d3451d55eb31f65150e54a (diff) | |
download | minetest-85f119e1e6cc958a54eaf8468f2a302aa8c60dbe.tar.gz minetest-85f119e1e6cc958a54eaf8468f2a302aa8c60dbe.tar.bz2 minetest-85f119e1e6cc958a54eaf8468f2a302aa8c60dbe.zip |
Adding (most) of the sapling functionality. It has yet to work, since MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index 3ad67aaf6..88e7a0d0a 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -145,6 +145,10 @@ struct ContentFeatures // Inventory item string as which the node appears in inventory when dug. // Mineral overrides this. std::string dug_item; + + // Extra dug item and its rarity + std::string extra_dug_item; + s32 extra_dug_item_rarity; // Initial metadata is cloned from this NodeMetadata *initial_metadata; |