Commit Graph

22 Commits

Author SHA1 Message Date
c6151abbe9 fix issue nalc/nalc-server-mods#109
Torch name change if placed on wall/ceiling and break torch awards
2022-07-05 15:49:18 +02:00
c27d527cfc Merge remote-tracking branch 'upstream/master' 2021-01-12 21:43:50 +01:00
rubenwardy
37082d1186 Rename background to hud_background 2021-01-10 17:55:42 +00:00
rubenwardy
6dc91cf893 Fix error due to unchecked JSON parsing 2021-01-10 17:17:57 +00:00
rubenwardy
b4a4a1fd74 Improve API: add awards.get_award_states() 2021-01-10 16:25:20 +00:00
8702b6cdd8 Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 2020-06-16 20:49:49 +02: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
baf79bf9bf Merge branch 'master' of yunohost.local:mtcontrib/awards into nalc-1.2-dev 2019-12-21 13:09:58 +01: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
4f5260da5f Corrige la commande /awards.
Corrige l'affige des awards d'un joueur donné.
Empêche le retour de l'inventaire sfinv quand on active ou desactive
les awards d'un joueur.
2019-03-03 22:40:11 +01:00
sys4-fr
89d4a93f3b Ajoute le privilège awards_admin
Modifie la commande /awards en conséquence
2019-03-03 13:24:28 +01:00
sys4-fr
cae2c1ee3b Tente la correction d'un crash 2019-03-02 21:08:02 +01:00
sys4-fr
54db6ce0c0 Suppression de minetest.register_on_craft
Cette fonction a été réécrite dans nalc_awards
2019-03-02 19:49:08 +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