Commit Graph

198 Commits

Author SHA1 Message Date
rubenwardy
9c74a3f85a Update docs v3.4.0 2021-01-10 16:30:05 +00:00
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
Beha
8a34ea8055 Add awards.add_defaults setting to control adding default awards.
Useful for games not based on MTG but using some of its mods.
2020-04-04 13:47:20 -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
Max
1ffa8f10ac Add missing german translations 2019-01-26 15:26:53 +00:00
rubenwardy
fb1670abc6
Fix typo in documentation for craft trigger v3.3.0 2018-09-14 10:59:59 +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
rubenwardy
b856aea54d
Fix typo in custom trigger type example 2018-08-22 15:26:24 +01:00
rubenwardy
570fd3a206
Fix incorrect description documentation 2018-08-22 15:19:38 +01:00
CrazyDave
417ac0fe46 Fix mistakes in award definition documentation 2018-08-22 15:17:14 +01:00
BrunoMine
1ab08d68c9 Add portuguese translations 2018-08-03 12:35:18 +01:00
SmallJoker
32150bdd66 Fix crash for invalid award index selection 2018-07-15 13:17:06 +01:00
rubenwardy
8c0bb00b1a
Improve documentation v3.2.0 2018-06-14 00:20:30 +01:00
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
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