Commit Graph

86 Commits

Author SHA1 Message Date
rubenwardy
237525b518
Add support for groups in triggers 2018-06-13 22:52:55 +01:00
heavygale
21e1ce6675 Fix convert_data crash when craft data is missing
Crash occurs when no data for "craft" is available in the old data, fixed with a additional check.
2018-05-31 15:06:56 +01:00
rubenwardy
08f654cf94 Remove debug prints
Fixes #57
2018-04-17 22:10:40 +01:00
rubenwardy
37275963df Fix notification positioning
Fixes #55, also fixes @Fixer-007
2018-04-06 00:24:56 +01:00
rubenwardy
75c01a188a Replace all mentions of achievements with awards 2018-04-05 17:56:01 +01:00
rubenwardy
4e6ade249e Use awards for technical things, and achievements for user facing things
Fixes #18
2018-04-05 17:11:51 +01:00
rubenwardy
e110bbbc7a Add award unlock requirements
Fixes #52
2018-04-05 17:00:48 +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
0017a174bd Change license to MIT 2018-04-04 22:57:27 +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
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
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
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
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
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
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
963c5772df Fix crash when opening awards after clearing 2016-09-01 16:36:42 +02:00
Wuzzy
9b6e93dd9a Announce secret awards as secret awards 2016-08-01 23:46:49 +01:00
Wuzzy
49f251136e Make secret awards darker in list + other tweaks 2016-08-01 23:46:15 +01:00
rubenwardy
9308b95163 Add sfinv support 2016-08-01 22:39:32 +01:00
rubenwardy
f6515c12b8 Stop progress bars going out of bounds
Fixes #21
2016-08-01 21:04:00 +01:00
Wuzzy
5dec2fd60b Make textures follow naming conventions 2016-08-01 20:34:23 +01:00
rubenwardy
b689dc8eaf Add progress bar 2016-08-01 20:27:12 +01:00
rubenwardy
48bb2e9656 Fix craft trigger not taking stack count into account 2016-08-01 17:05:02 +01:00
rubenwardy
1fe166e2c5 Fix prize giving bug 2016-07-29 17:31:13 +01:00
rubenwardy
96746aaf1e Add awards.increment_item_counter() and use it 2016-07-29 17:25:02 +01:00
rubenwardy
f430b4eb68 Move unrelated things from trigger.lua 2016-07-29 17:15:52 +01:00
rubenwardy
92eaa5c876 Add awards.getFormspec() 2016-07-29 16:23:34 +01:00
rubenwardy
628e485900 More changes 2016-07-29 16:03:55 +01:00
rubenwardy
56d08f2f49 Refactor awards.unlock 2016-07-29 16:03:30 +01:00