Commit Graph

177 Commits

Author SHA1 Message Date
Methacrylon
7a7ddc88af Add test award for punch entity 2018-06-14 08:09:21 +02:00
Methacrylon
d25e638cfb Add kill_mob and punch_entity triggers; it's now possible to create awards for killing mobs and punching entities 2018-06-14 07:54:44 +02: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
0ae58ad0c3 Fix locked awards not taking difficulty into account 2018-04-17 22:37:09 +01:00
rubenwardy
7d462c6aa5 Add difficulty multiplers to default mod awards 2018-04-17 22:29:13 +01:00
rubenwardy
f0052386c8 Add award difficulty multipler 2018-04-17 22:25:53 +01:00
rubenwardy
08f654cf94 Remove debug prints
Fixes #57
2018-04-17 22:10:40 +01:00
rubenwardy
3fc12eb689
Update README.md 2018-04-06 22:12:56 +01:00
rubenwardy
98fca7914b
Add on_unlock() documentation 2018-04-06 22:11:08 +01:00
rubenwardy
37275963df Fix notification positioning
Fixes #55, also fixes @Fixer-007
v3.1.0
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
a5768efbc0 Fix awards disabling
Fixes #33
2018-04-05 17:24:42 +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
2f49d895ed Fix typo in previous commit 2018-04-05 16:48:33 +01:00
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 v3.0.0 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