Commit Graph

212 Commits

Author SHA1 Message Date
rubenwardy
d67d19ec50 Improve sorting algorithm
Fixes #28
2018-04-05 16:44:22 +01:00
rubenwardy
4764568f6d Fix off-by-one error in counted_key award types 2018-04-05 16:21:44 +01:00
rubenwardy
ee4931ae6e Add assert to awards.player() 2018-04-05 13:06:09 +01:00
rubenwardy
51ccb8c1b6 Fix crash caused by typo in method name
Fixes #51
2018-04-05 09:48:35 +01:00
rubenwardy
7f156db0df Add check for nyancat mod before registering the award
Fixes #44
2018-04-04 23:05:25 +01:00
rubenwardy
0017a174bd Change license to MIT 2018-04-04 22:57:27 +01:00
rubenwardy
0574d0375e
Merge dev branch into master 2018-04-04 22:15:43 +01:00
rubenwardy
07997a54f4 Readd awards 2018-04-04 21:11:40 +01:00
rubenwardy
f84e6d8db5 Fix conversion error 2018-04-04 21:04:54 +01:00
rubenwardy
f571f9d6eb Add support for death reasons 2018-04-04 20:55:33 +01:00
rubenwardy
6c79a2f73f Use mod_storage and add converter for awards.txt 2018-04-04 19:01:33 +01:00
rubenwardy
f7956d97e2 Add default_def for trigger prototype 2018-04-04 18:39:06 +01:00
rubenwardy
cca278024d Remove datakey and use trigger names instead 2018-04-04 18:36:47 +01:00
rubenwardy
eaab883e71 Readd triggers 2018-04-04 18:35:28 +01:00
rubenwardy
28c59340ea Implement conted_key trigger type 2018-04-04 18:30:47 +01:00
rubenwardy
d82972b448 Update README.md 2018-04-04 18:02:43 +01:00
rubenwardy
72cc346c35 Rename awards.def to awards.registered_awards 2018-04-04 17:43:44 +01:00
rubenwardy
5de9dcb797 Move api_helpers.lua in api.lua 2018-04-04 17:42:12 +01:00
rubenwardy
7c5fd79b57 Clean up formspec related code 2018-04-04 17:37:43 +01:00
rubenwardy
c579f862b6 Reduce awards.player() calls 2018-04-04 17:32:37 +01:00
rubenwardy
eeee4a8398 Clean up player data validation 2018-04-04 17:23:46 +01:00
rubenwardy
ef19940edc Add trigger definitions rather than register function 2018-04-04 17:01:55 +01:00
rubenwardy
8b024accdd Add register_trigger_counted for homogenous events 2018-04-04 16:03:34 +01:00
rubenwardy
dd2a5d2d1f Remove formspec notification 2018-04-04 15:46:11 +01:00
rubenwardy
2c4da0b88a Add luacheck 2018-04-04 15:36:27 +01:00
Oscar
81aa0f1c82 Fix broken achievement image (On The Way) 2017-10-05 19:04:02 +01:00
EdwardThorsten
81590b5773 Fix deprecated setting call 2017-10-02 09:11:51 +01:00
rubenwardy
3854565fa2 Update readme.md 2017-06-16 21:38:41 +01:00
xisd
096fe16c97 Update and make minor corrections to the French translation 2017-02-25 22:15:23 +00:00
xisd
3dd7a5e66a Add French translation. 2017-02-23 22:48:13 +00:00
Diego Martínez
9a02873b59 Add Spanish translation. 2017-02-23 22:48:13 +00:00
Diego Martínez
e919355bec Add helper script to update translations. 2017-02-23 22:48:13 +00:00
Diego Martínez
ccd9a01424 Update catalogs. 2017-02-23 22:48:13 +00:00
Diego Martínez
1049280eeb Update to new intllib API. 2017-02-23 22:48:13 +00:00
xisd
7fd56ac3d0 Resize formspec and HUD to fit bigger strings 2017-02-19 17:21:37 +00:00
rubenwardy
c994978683 Update sfinv support to match stable version 2016-12-27 19:23:46 +00:00
Wuzzy
38c504e938 Add eat trigger, extend existing triggers, add 9 awards (#35)
* Add eat trigger and 2 new awards
* Add mushroom eating awards
* Add support for counting any eat/dig/craft/place
* Update readme
* Add 4 builder awards
* Update German locale
* Update dependencies
* Fix mistake in German translation
* Revert removal of background
2016-11-15 01:57:01 +01:00
rubenwardy
ab7206e150 Fix mod not working with mod security and intllib 2016-11-14 21:13:32 +00:00
Wuzzy
f4a5eb25f6 Fix mod not working with mod security and intllib 2016-11-09 02:42:36 +01:00
Wuzzy
43da09620e Fix bugs when mod is run outside of Minetest Game (#34) 2016-11-06 11:05:13 +00:00
Wuzzy
ae01ea01dd Show error messages when there are no awards 2016-09-10 15:38:01 +01:00
Wuzzy
a04f3df1e2 Check for existance of default mod 2016-09-10 15:20:38 +01:00
Wuzzy
90bf9b061a Add notification sound
License of default sound: CC-0
Source: https://www.freesound.org/people/Kastenfrosch/sounds/162482/
2016-09-01 16:32:05 +01:00
Wuzzy
0e48cd8675 Add German translation 2016-09-01 16:22:37 +01:00
Wuzzy
ed09abd868 Automatic line breaks for long award desc. 2016-09-01 16:22:37 +01:00
Wuzzy
13eb5dcdae Add optional default description for triggers 2016-09-01 16:22:37 +01:00
Wuzzy
67946bf0c4 Improve strings and make them translatable 2016-09-01 16:21:41 +01:00
Wuzzy
50349917e5 Remove outdated /cawards command for real 2016-09-01 16:37:05 +02:00
Wuzzy
963c5772df Fix crash when opening awards after clearing 2016-09-01 16:36:42 +02:00
rubenwardy
92c43d1c04 Fix style issues 2016-08-30 01:05:43 +01:00