diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-01-18 23:42:36 -0700 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-01-18 23:42:36 -0700 |
commit | d962dd16544e7b53ef6e8cf3b619811fd3b58e9a (patch) | |
tree | 9b862f459ecdeaa20773de21bd1a9d6ed7665108 /node_builders.lua | |
parent | 5a30fe40e30b20290ad349d5ec0a4eeb69569381 (diff) |
Add a bunch of achievements via optional dependency on the Awards mod
Diffstat (limited to 'node_builders.lua')
-rw-r--r-- | node_builders.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node_builders.lua b/node_builders.lua index dfabd9f..1d2e89c 100644 --- a/node_builders.lua +++ b/node_builders.lua @@ -236,6 +236,7 @@ minetest.register_node("digtron:builder", { minetest.log("action", string.format("%s uses Digtron to build %s at (%d, %d, %d), displacing %s", player:get_player_name(), item_stack:get_name(), buildpos.x, buildpos.y, buildpos.z, oldnode.name)) --flag this node as *not* to be dug. nodes_dug:set(buildpos.x, buildpos.y, buildpos.z, false) + digtron.award_item_built(item_stack:get_name(), player:get_player_name()) return true else --failed to build, target node probably obstructed. Put the item back in inventory. |