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
NathanielFreeman
a3cba570c4
locale es fix
2020-12-27 17:17:10 +01:00
Sirrobzeroone
3ddcbae968
Fix for #34 - Divide Armor Wear by # Pieces
...
See Details contained in #34
Note1: I split out the fix for Issue 13 and it had been applied
Note2: I will also do a seperate pull request for Issue 30
From what I udnerstand smaller specific pull requests allow for reversion of specific additions and features much more easily. Please do correct me if I have the wrong end of the stick on this.
2020-12-26 20:25:55 +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
hlqkj
6242cebb20
Added moreores to optional dependencies
2020-12-17 09:06:00 +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
Sirrobzeroone
3b97763fdc
temporary workaround for #24
2020-12-11 10:23:05 +01:00
Sirrobzeroone
713b0c81d4
Documentation and Screenshot Update ( #26 )
...
* New screenshot
* Examples Added
* formatting
* Delete README.txt
* formatting
* Update README.md
2020-12-03 08:38:41 +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
OgelGames
3f1a952afb
Fix not being able to place armor on anvil ( #19 )
...
* fix not being able to place armor on anvil
* check for node on_rightclick on armor equip
2020-10-01 20:09:31 +02:00
OgelGames
7f63df230c
fix armor equip/unequip ( #17 )
2020-09-24 14:08:17 +02:00
Giov4
294338d3b0
Added the possibility to wear the armor on rightclick ( #16 )
...
* Added the possibility to wear the armor on rightclick
* Added equip, unequip and get_weared_armor_elements functions
Co-authored-by: Giov4 <brancacciogiovanni1@gmail.com>
2020-09-22 07:45:39 +02:00
Giov4
9459400474
Italian translation corrections + armor:remove_all ( #15 )
...
* Added armor:remove_all function
* Corrected README.txt
* Corrected italian translation
* Simplified Italian translation further
* CRUSHFIX: Replaced self.function with self:function
Co-authored-by: Giov4 <brancacciogiovanni1@gmail.com>
2020-09-19 13:30:39 +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
Olivier Dragon
979516c13d
Update French translation
2020-08-31 07:41:59 +02:00
Olivier Dragon
ec5de28dc2
Update translations to MT v5 format
...
using the script https://github.com/minetest-tools/update_translations
2020-08-31 07:41:59 +02:00
Olivier Dragon
0af7280e64
Update translations to MT v5 format
...
using the script https://github.com/minetest-tools/update_translations
2020-08-31 07:41:59 +02:00
2b535ee887
Change bouton inventaire en version legacy
2020-06-14 23:18: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
dbc6ccf089
Add missing fuel recipes for wood and cactus armor.
...
Fixes https://github.com/stujones11/minetest-3d_armor/issues/174
2020-04-30 08:18:29 +02:00
orbea
acd8b2647d
Don't damage armor when drowning, eating or starving.
2020-04-30 08:15:37 +02:00
orbea
a6b89e7929
Fix count when armor is destroyed.
2020-04-29 11:10:11 +02:00
orbea
c3a755518e
Silence png warnings.
...
Closes https://github.com/mt-mods/3d_armor/pull/1
2020-04-09 07:22:39 +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
fccd4d8b15
Merge branch 'preserve_immortal' of https://github.com/SmallJoker/minetest-3d_armor
...
PR: https://github.com/stujones11/minetest-3d_armor/pull/170
2019-12-17 14:36:05 +01:00
Thomas Rudin
e5b2cf3a34
new armor and shield textures
2019-12-15 19:03:25 +01: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
SmallJoker
a05eae3782
Preserve immortal group for per-player damage
2019-10-07 20:12:58 +02:00
Brian Rahardi
2ac90f8d19
drop invalid item instead of erase it
2019-07-16 09:40:28 +07:00
Panquesito7
4adc602704
Update api.lua
2019-06-17 13:03:27 -05: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
47ecef46f7
Update licenses
2019-05-27 20:30:03 +01:00
stujones11
1d22612664
Bump version to 0.4.13
2019-03-05 20:01:01 +00:00
stujones11
3fe7dd2249
Replace deprecated getpos call
2019-03-05 19:40:54 +00:00
stujones11
be9579a365
Offset models for minetest 5.0.0
2019-03-05 19:30:38 +00:00
Jordan Irwin
b6283f3f0f
Fix some default settings values in README
2019-03-05 19:27:37 +00:00
sys4-fr
5da2f3060a
Ajoute les textures MFF
2019-02-10 00:47:13 +01:00
sys4-fr
941bfc27f9
Ajout message de chargement du mod dans le journal "action"
2018-12-24 01:57:58 +01:00
sys4-fr
f991b676f4
Activation du HEAL_MULTIPLIER et affichage de stats supplémentaires
...
- Stats speed+jump+gravity affichées dans Unified Inventory
2018-12-04 22:51:53 +01:00
BrunoMine
4c032e8c7e
Add Portuguese Translations
2018-11-09 17:50:10 +00:00
JDiaz
945e816b55
Locale es.po created
2018-10-23 18:02:46 +01:00
JDiaz
10ded06705
Create es.po
2018-10-23 18:02:46 +01:00
JDiaz
43a69ad853
Locale es.po created
2018-10-23 18:02:46 +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
codexp
838867a6bc
add russian locale
2018-07-22 20:53:38 +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
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
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
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
SmallJoker
7d30bc25a3
Allow replacing similar armor in the same slot
2018-05-22 18:40:24 +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
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
7226dd6174
Add Malay translation
2018-02-07 17:39:38 +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
stujones11
d979815a49
Fix libpng sRGB profile warnings
2017-10-20 19:38:22 +01:00
Hamlet
cca523f193
Italian locale
2017-08-18 13:21:30 +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
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
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
ea29ec6f6f
Register armor after mod compat tests, fixes #106
2017-05-10 20:33:49 +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
664d9fbfef
Increase fleshy level of wood and cactus leggings
2017-04-19 19:42:12 +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
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
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
888fbacb49
Prevent potentially bogus warning
2017-04-11 21:26:06 +01:00
stujones11
50453aa5a6
Fix warnings
2017-04-11 20:55:28 +01:00