Commit Graph

60 Commits

Author SHA1 Message Date
orbea
a6b89e7929 Fix count when armor is destroyed. 2020-04-29 11:10:11 +02:00
BuckarooBanzay
f81cb10f20 add luacheck and integration test workflows / fix luacheck errors
partially attends to https://github.com/pandorabox-io/pandorabox.io/issues/444 (the ObjectRef issue)
2020-02-13 12:26:32 +01:00
SmallJoker
a05eae3782 Preserve immortal group for per-player damage 2019-10-07 20:12:58 +02:00
stujones11
1d22612664 Bump version to 0.4.13 2019-03-05 20:01:01 +00:00
stujones11
656bcf30bc Bump version to 0.4.12 2018-06-10 19:39:38 +01:00
stujones11
579e64a5e7 Code tidy 2018-06-02 22:13:41 +01:00
stujones11
f960fc1a41 Only validate armor inventory after user changes 2018-06-02 18:59:32 +01:00
stujones11
1f11a28ad4 More armor callback fixes 2018-05-24 19:06:27 +01:00
stujones11
a5ddc3e60a Move comment :) 2018-05-23 21:40:06 +01:00
stujones11
83f3e01efa Run callbacks based on validated inventory 2018-05-23 20:15:09 +01:00
stujones11
e4b12558d4 Ammendment to 21b5c68505 2018-05-19 21:35:15 +01:00
stujones11
21b5c68505 Validate and clean armor inventory before saving 2018-05-19 20:25:27 +01:00
stujones11
21716ffd31 Display correct heal attribute level, fixes #137 2018-05-13 16:52:29 +01:00
tenplus1
4210cafff3 add POVA support (#138)
* add POVA support

Add support for POVA player overrides.

* add POVA support

Add support for POVA player overrides.
2018-05-07 14:41:40 +01:00
stujones11
b9c8681e14 Bump version to 0.4.11 2018-02-11 17:13:25 +00:00
micheal65536
59b26b37f9 Fix item duplication vulnerability 2018-02-11 16:12:22 +00:00
stujones11
4fc51971d1 Fix registered group level display 2018-01-10 19:16:23 +00:00
stujones11
688e21f285 Bump version to 0.4.10 2017-10-21 17:57:12 +01:00
stujones11
d5896a04e2 Check that player inventory returns a valid table 2017-10-20 20:17:37 +01:00
fat115
ae448c150c added complete intllib support (i18n)
added french translation
2017-08-08 18:09:27 +01:00
stujones11
0454d72c72 Ensure valid inventory table when setting armor 2017-08-01 19:03:17 +01:00
stujones11
9fa95b2e2c Run update callbacks when player visuals change, closes #113 2017-08-01 18:48:06 +01:00
stujones11
43c9984d57 Do not drop armor in uloaded areas 2017-08-01 18:42:04 +01:00
Alexander Weber
db8fb5ebd4 bugfix and small optimization 2017-06-21 17:47:24 +01:00
Alexander Weber
2150fcea8d return the png suffix in get_player_skin for complete texture definition to support more complex textures
Note the armor.get_player_skin() could be redefined in other mods to privide the more complex textures
2017-06-21 17:47:24 +01:00
stujones11
793c74856f Fix nil index in on_damage callback 2017-05-03 17:56:32 +01:00
stujones11
47734969e2 Bump version to 0.4.9 2017-04-28 19:06:38 +01:00
stujones11
1af0bb60f8 Rename on_punch callback to avoid potential conflict with nodes 2017-04-21 18:33:30 +01:00
stujones11
a11b3302e1 Move armor initialization back out of the api 2017-04-19 21:53:13 +01:00
stujones11
4dd7e41749 Add damage method and update README.txt 2017-04-19 19:00:00 +01:00
stujones11
df429ee487 Run inventory equip callbacks before set_player_armor 2017-04-16 19:34:09 +01:00
stujones11
99bc8cf2d3 Reverse order of stack and index in callbacks for consistency 2017-04-15 20:44:05 +01:00
stujones11
a2ec13e28d Only allow armor items in the armor inventory 2017-04-15 18:00:10 +01:00
stujones11
065815eec1 Include stack index it armor item callbacks 2017-04-15 17:54:39 +01:00
stujones11
b741b7426b More player validity checks 2017-04-13 20:34:55 +01:00
stujones11
db312b3245 Code styling 2017-04-13 20:11:15 +01:00
stujones11
de2c47f334 More protection from un-initialized player crashes 2017-04-13 19:47:43 +01:00
stujones11
50453aa5a6 Fix warnings 2017-04-11 20:55:28 +01:00
stujones11
9ffcc19fd7 Improve player initialization and increase default delay 2017-04-11 19:34:06 +01:00
Alexander Weber
6359b0a0ed bugfix: the count was lost 2017-04-10 18:24:27 +01:00
stujones11
20d4728829 Only reciprocate damage of valid tool items 2017-04-09 18:07:53 +01:00
stujones11
7cfd744ff3 Respect flammable group when fire is protection enabled 2017-04-09 17:34:22 +01:00
stujones11
a76a35f177 Fix regression with heal_multiplier config 2017-04-09 16:25:52 +01:00
stujones11
0ec7858937 Add punch damage groups and effects 2017-04-08 21:32:56 +01:00
stujones11
1fdff7adaa Make water protection optional, default true
This can save a `global_step` regisration if neither fire or water
protection are enabled.
2017-03-31 22:03:59 +01:00
stujones11
23e4d5114f Add support for intllib 2017-03-31 20:12:20 +01:00
stujones11
4083782246 Improve get_armor_formspec 2017-03-29 19:31:00 +01:00
stujones11
5911447048 Move shields level reduction to shields mod 2017-03-29 19:13:13 +01:00
stujones11
3aac5c98f4 Fix movement and level bugs 2017-03-29 17:44:40 +01:00
stujones11
fe9664589a Fix potential missing texture bug 2017-03-26 22:46:51 +01:00