Commit Graph

12 Commits

Author SHA1 Message Date
rubenwardy b4a4a1fd74 Improve API: add awards.get_award_states() 2021-01-10 16:25:20 +00:00
Alexand(er|ra) Yst 4e8d175714 Fixed a couple typos.
- The Mesecons-related award claimed to be awarded when placing mesecon wires, but instead was coded to be awarded when placing pipes from Pipeworks. Fixed code to match description.
 - The Basic-Materials-related award claimed to require crafting flint and steel one hundred times, but instead was coded to require crafting oil extract five hundred times. Fixed description to match code.
2020-06-16 07:47:41 +00:00
Alexand(er|ra) Yst c7b60be880 player:getpos() is deprecated and calling it causes the game to halt if deprecated_lua_api_handling is set to "error" in minetest.conf. Call player:get_pos() instead to prevent the game from halting. 2020-04-19 19:05:06 +00:00
Beha ce58720493 Fix group total, fix item increment count argument, add player checks, resize award icon, fix log output 2020-04-05 16:00:33 +00:00
Beha d542042a50 Interpret group ratings of zero as not in group.
The MT API docs instruct to interpret `nil` and `0` as the same rating.
2020-04-04 17:40:48 -04:00
Beha 7e3064ef93 Check for valid players in default triggers instead of crashing. 2020-04-04 17:03:45 -04:00
Beha 9d98f950b8 Fix `eat` trigger to actually notify awards on item eat. 2020-04-04 15:35:14 -04:00
rubenwardy da3d9b3980 Add awards for death, pipeworks, and mesecons 2019-09-15 18:14:58 +01:00
Sirrobzeroone 8f46d5b37d Add icons for awards 2019-08-20 11:28:15 +01:00
rubenwardy 38b7d9aa91
Fix progress exceeding target 2018-09-14 10:55:55 +01:00
rubenwardy 805720b4af
Fix sfinv page not updating on award unlock 2018-09-13 17:39:52 +01:00
rubenwardy 29a1b97b38
Improve code structure and awards formspec size 2018-09-13 17:33:04 +01:00