e8f938bd2c
Merge remote-tracking branch 'upstream/master'
2021-07-16 23:31:01 +02:00
Jordan Irwin
ac7615212b
Reduce skin_mod visibility ( #53 )
2021-07-13 20:50:22 +02:00
bcdd82980b
Merge remote-tracking branch 'upstream/master'
2021-03-25 21:37:40 +01:00
SmallJoker
e75af55f7e
Fix translation nonsense in minetest.log
...
.. and document the armor warning when used with skinsdb
2021-03-24 19:21:39 +01:00
bda0db7c04
Merge remote-tracking branch 'upstream/master'
2021-03-06 16:49:10 +01:00
tenplus1
42f7dac4d0
Update fire and water protection ( #42 )
...
Update fire protection to use register_on_player_hpchange instead of overriding node damage, move water protection into different globalstep.
2021-02-07 09:47:23 +01:00
Sirrobzeroone
e7abacc94e
Add armor set and armor set bonus setting ( #41 )
...
- Add settingtypes of:
- armor_set_elements
- armor_set_multiplier
- Add check to armor.registration_armor for "_materialname", print msg to debug if not found
- Complete change to how an armor set is calculated
- Set elements linked to settingtypes no longer hard linked to num armor.elements
- Set multiplier linked to settingtypes no longer hard coded
- Readme.MD updated:
- Addition of the 2 new settingtypes
- Addition of "Armor Material" topic
2021-01-11 15:34:28 +01:00
BuckarooBanzay
724a3df50f
call "set_player_armor" on respawn
2020-12-23 15:40:44 +01:00
Sirrobzeroone
33e9ac8e23
Minor improvement to fix #13
...
Picked up while testing #34 and #30 that this needed to be adjusted from hitter name to hitter is player.
Hitter name was resolving to true even when mob was attacking...nil being counted as a value.
I should have picked this up before and not sure how I missed this.
2020-12-23 15:31:51 +01:00
Sirrobzeroone
06aaaf4bca
whitespace removal
2020-12-20 21:26:33 +01:00
Sirrobzeroone
d515480370
fix for #13
...
Tested PVP inside and outside protected - passed as expected
Tested PvsM inside and outside protected - passed as expected
2020-12-20 21:26:33 +01:00
Sirrobzeroone
291f0eb23a
Torch Damage Switchable ( #29 )
...
Turn torch fire damage off if fire damage/protection enabled
Minor fixes to README.MD after further testing.
2020-12-13 13:07:39 +01:00
Maksim
5958b312ac
Fix detached inventory vulnerability ( #23 )
2020-11-03 22:22:14 +01:00
Thomas--S
7436fcdffe
Improve API for third party mods ( #21 )
...
* Add `armor:update_skin(player_name)` function (useful for skin mods)
* Add option to prevent physics override (useful for Techage Jetpack mod)
* Add documentation
2020-10-12 07:47:57 +02:00
Olivier Dragon
7fc9966945
Move armor.get_translator to API
2020-08-31 07:41:59 +02:00
Olivier Dragon
4dc9a81ec2
Change intllib for v5 minetest.get_translator
2020-08-31 07:41:59 +02:00
BuckarooBanzay
0da0088889
Merge branch 'master' of https://github.com/Panquesito7/minetest-3d_armor
2020-05-01 16:30:35 +02:00
orbea
acd8b2647d
Don't damage armor when drowning, eating or starving.
2020-04-30 08:15:37 +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
OgelGames
f3ad7ec6f1
add armor breakage alerts
...
something I've wanted for a while...
2019-12-28 23:13:41 +11:00
BuckarooBanzay
d2608351f6
extend bone search radius
...
hopefully fixes https://github.com/pandorabox-io/pandorabox.io/issues/364
2019-12-09 11:04:11 +01:00
afee335dc2
Merge branch 'master' of yunohost:mtcontrib/minetest-3d_armor into dev
2019-10-12 14:35:06 +02:00
Brian Rahardi
2ac90f8d19
drop invalid item instead of erase it
2019-07-16 09:40:28 +07:00
Panquesito7
e248752ee4
Use newer functions from MT/MTG 5.0.0+
...
These commits create more compatibility with MT/MTG 5.0.0+.
However, these commits (may) break compatibility with the 0.4-series.
2019-06-16 15:17:21 -05:00
stujones11
3fe7dd2249
Replace deprecated getpos call
2019-03-05 19:40:54 +00:00
sys4-fr
941bfc27f9
Ajout message de chargement du mod dans le journal "action"
2018-12-24 01:57:58 +01:00
Eugen Wesseloh
c96ba7ef34
Cleanup locales ( #155 )
...
* use localization function in formspecs
* remove unused translations
* remove F keyword from updatepo tool
* add tool readme
2018-07-26 20:05:50 +01:00
tenplus1
c0d45ceaa1
show fire: value
...
this fixes the Fire: value in formspec so it shows a number instead of "Fire: armor_fire".
2018-06-18 20:21:58 +01:00
stujones11
6f99803d2d
Return invalid items in singleplayer mode
2018-06-02 20:46:44 +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
83f3e01efa
Run callbacks based on validated inventory
2018-05-23 20:15:09 +01:00
SmallJoker
7d30bc25a3
Allow replacing similar armor in the same slot
2018-05-22 18:40:24 +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
micheal65536
59b26b37f9
Fix item duplication vulnerability
2018-02-11 16:12:22 +00:00
fat115
ae448c150c
added complete intllib support (i18n)
...
added french translation
2017-08-08 18:09:27 +01:00
AntumDeluge
cc26d04345
Replace deprecated function 'intllib.Getter':
...
- Check first for 'intllib.make_gettext_pair', otherwise continue using
function 'intllib.Getter'.
2017-07-09 14:29:11 +01:00
AntumDeluge
38d79b91a1
Replace deprecated methods:
...
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
- 'setting_set' with 'settings:set'
2017-06-21 17:48:18 +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
ea29ec6f6f
Register armor after mod compat tests, fixes #106
2017-05-10 20:33:49 +01:00
stujones11
a11b3302e1
Move armor initialization back out of the api
2017-04-19 21:53:13 +01:00
stujones11
7566ecccee
Initialize armor after all on_joinplayer callbacks have run
2017-04-16 16:52:49 +01:00
stujones11
99bc8cf2d3
Reverse order of stack and index in callbacks for consistency
2017-04-15 20:44:05 +01:00
stujones11
065815eec1
Include stack index it armor item callbacks
2017-04-15 17:54:39 +01:00
stujones11
de2c47f334
More protection from un-initialized player crashes
2017-04-13 19:47:43 +01:00
stujones11
888fbacb49
Prevent potentially bogus warning
2017-04-11 21:26:06 +01:00
stujones11
b45fbd0f2a
Log warning if initialization fails and validate armor.def for UI
2017-04-11 20:42:58 +01:00
stujones11
9ffcc19fd7
Improve player initialization and increase default delay
2017-04-11 19:34:06 +01:00
stujones11
7cfd744ff3
Respect flammable group when fire is protection enabled
2017-04-09 17:34:22 +01:00