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 /util_execute_cycle.lua | |
parent | 5a30fe40e30b20290ad349d5ec0a4eeb69569381 (diff) |
Add a bunch of achievements via optional dependency on the Awards mod
Diffstat (limited to 'util_execute_cycle.lua')
-rw-r--r-- | util_execute_cycle.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util_execute_cycle.lua b/util_execute_cycle.lua index fdb74b8..8972475 100644 --- a/util_execute_cycle.lua +++ b/util_execute_cycle.lua @@ -248,6 +248,7 @@ digtron.execute_dig_cycle = function(pos, clicker) for _, itemname in pairs(items_dropped) do digtron.place_in_inventory(itemname, layout.inventories, oldpos) end + digtron.award_item_dug(items_dropped, clicker:get_player_name()) -- Achievements mod hook local building_fuel_cost = 0 local strange_failure = false @@ -458,7 +459,8 @@ digtron.execute_downward_dig_cycle = function(pos, clicker) for _, itemname in pairs(items_dropped) do digtron.place_in_inventory(itemname, layout.inventories, oldpos) end - + digtron.award_item_dug(items_dropped, clicker:get_player_name()) -- Achievements mod hook + local status_text = "" -- acutally burn the fuel needed |