Commit Graph

285 Commits

Author SHA1 Message Date
tenplus1
e1a262ba20
add feather falling (#73)
* add feather falling

add feather falling

* add feather falling to init.lua

add feather falling routine to globalstep

* add feather falling to readme

add feather falling to readme
2022-04-02 17:16:23 +02:00
BuckarooBanzay
ac445a6cd0 use player_api to register player model 2022-03-25 23:23:25 +01:00
Dirkfried
a9b8bc4ddd
Enhance mithril armor (#70)
* Enhance mithril armor

Mithril armor should be (at least) tougher than diamond armor. Mithril is found rarer and deeper than diamond and mithril tools are already better than diamond tools.

* Enhance mithril shield

Mithril armor should be (at least) tougher than diamond armor. Mithril is found rarer and deeper than diamond and mithril tools are already better than diamond tools.

* Correct armor_use

Now this enhance the durability by a factor 3 (instead of a factor 2) compared to diamond. Which can be justified by the ore generation update in moreores (deeper and rarer (but less scattered)).

* Correct armor_use

Now this enhance the durability by a factor 3 (instead of a factor 2) compared to diamond. Which can be justified by the ore generation update in moreores (deeper and rarer (but less scattered)).

* correct typo
2022-02-05 13:33:41 +01:00
tenplus1
b6651fd396
add fire protection to nether armor (#67)
* add fire protection to nether armor
* add fire protection to nether shield
2021-11-13 11:00:49 +01:00
Buckaroo Banzai
16e2648416
fix nether package typo
reported in https://github.com/minetest-mods/3d_armor/issues/66
2021-11-11 09:42:10 +01:00
lortas
44778d7861
add nether armor and nether shield (#65)
* add texture files for nether based 3d_armor
* add texture files for nether based shield
* perpare for nether armor
* add nether armor
* add translation for nether armor
* add translation for nether armor
* add nether shield
* add nether shield translation
* add nether armor texture preview info
* add nether shield texture preview info
* add nether to settingtypes.txt
* add german translation for armor
* add german translation for shields
* Nether armor stats modified.
* Modify Nether Shield Stats

* Update inline documentation
2021-11-10 10:15:55 +01:00
Jordan Irwin
da78601a77
Some Fixes for HTML Docs Generated by LDoc (#60)
* LDoc: set min-height for "content" element
* LDoc: move generation script to .ldoc directory
* LDoc: add some output messages to gendoc.sh script
* LDoc: copy inventory image textures to reference dir instead of linking to remote files.
* LDoc: hack to compensate for "shields:" prefix being trimmed from item names
* Fix helmet_diamond & chestplate_crystal names in docstrings
2021-07-31 14:03:20 +02:00
Jordan Irwin
c790b20169
Add Support for Generating HTML Documentation with LDoc (#58)
* Add Python scripts to generate temp files that can be parsed by LDoc
* Add config & script for generating HTML docs with LDoc...
* Add Lua docstrings for API & items
* Add workflow for building API reference docs on gh-pages branch
* Add LDoc's default stylesheet
* LDoc: make navigation panel fixed
2021-07-30 16:12:29 +02:00
OgelGames
a897f7e72f
fix callbacks not being called by armor.equip() and armor.unequip() (#59) 2021-07-30 16:02:59 +02:00
Jordan Irwin
ac7615212b
Reduce skin_mod visibility (#53) 2021-07-13 20:50:22 +02:00
Jordan Irwin
1dec1f2153
Add armor.set_skin_mod() to set the skin mod name manually (#51)
Useful for skin mod forks that do not use the same name.
2021-06-23 17:28:29 +02:00
tenplus1
0dffd62fb0
add nether lava to fire protection (#52)
adds nether lava and lava crust to fire protection list.
2021-06-14 11:56:05 +02:00
Jordan Irwin
a0cf12bbd0
Add setting to disable armor visuals on player model (#48)
* Add setting to disable armor visuals on player model
2021-05-27 09:11:04 +02: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
Vanessa Dannenberg
583dfe7b21
Update to work with Unified Inventory since formspec v4 update (#45)
Requires UI git tag "version-2" or commit a7556c50, and Minetest v5.4.0
or later
2021-03-10 09:21:26 +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
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
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