Commit Graph

430 Commits

Author SHA1 Message Date
Kyrah Abattoir
1d8509e75b
Implements item groups soulbound and cursed (#105)
* Implements item groups soulbound and cursed:
Soulbound armors respawn with their owner.
Cursed armors cannot be unequipped by the player.
(disabled in creative mode)

* Prevents a cursed armor from getting unequipped by right clicking another piece of armor.
2023-05-31 14:59:20 +02:00
flux
053c30b8b1 don't trigger armor:punch when max_hp decreases 2023-04-20 07:36:24 +02:00
tenplus1
dc7fbce09a
Change Fire Protection Function (#100)
* Tweak Fire Protect

This change tweaks the fire protection function so that it no longer needs to override nodes and hence rely on additional dependencies like ethereal mod.

* Remove ethereal and fire dependencies

Remove fire and ethereal dependencies as they are no longer needed since fire protection doesn't override items inside those mods.

* Re-add Torch Damage

This re-adds torch damage of 1 per second if fire protection is enabled.

* Remove nether dependency

Nether dependency isn't required as well.
2023-02-05 17:44:17 +01:00
fluxionary
72970b3da1
add animations for use w/ the emote mod (#98) 2023-01-14 21:44:41 +01:00
Buckaroo Banzai
52f0e6a0ed
Update LICENSE.md
fixes #93
2023-01-12 15:32:21 +01:00
ROllerozxa
400745dd0c
Swedish translation (+refresh translations and remove outdated meta) (#97)
* Refresh translations
* Add Swedish translations
* Remove outdated depends.txt and description.txt
2022-12-25 18:23:49 +01:00
Zweihorn
68d724176e
Update README.md (#94)
Update reflects on:
- outdated modpack version deleted as redundant
- MT 5+ version
- the specific "armors as modpack" refactorization

The latter was a little caveat for me as MT server admin as I was not aware of this major change in the modpack design. After an update no armor was available to anybody as all new mods get disabled (entry set to false) by default.
2022-12-19 08:45:53 +01:00
Zweihorn
2ef66d3132
typo correct (#92)
and avoid polution of MT ContentDB with fake mod "etherial" instead of "ethereal"
2022-12-17 11:51:25 +01:00
fluxionary
e75c0bedcc
remove pointless dependency on bakedclay (#90) 2022-12-10 19:45:21 +01:00
fluxionary
92d036c5a7
remove reference to smartshop image (#88) 2022-11-26 21:38:10 +01:00
OgelGames
7f20e5dcb7
add fake player check (#86) 2022-11-20 16:44:50 +01:00
Feroli
04b45deec8
Add and fix Brazillian Portuguese translation (#85) 2022-11-16 20:10:09 +01:00
fluxionary
bfa3a2b6d1
more exhaustive attempt to display a wielded item w/ wieldview (#84)
* more exhaustive attempt to display a wielded item w/ wieldview
2022-11-13 20:55:31 +01:00
jolesh
41301a4663 Added Esperanto translation
used the update translation script to determine which strings are still used
2022-11-04 07:44:47 +01:00
EmptyStar
eebee34fa0
Preserve fall_damage_add_percent when setting player armor (#81) 2022-09-07 22:01:18 +02:00
Jordan Irwin
c7ee559a4c
Update LDoc helper scripts for separating armor into mods (#80) 2022-09-07 21:58:12 +02:00
Crystalwarrior
9444afd722
Refactor armors to be mods rather than hardcoded into API (#78)
* Begin work on "armors as modpack" refactor letting anyone to enable/disable any armors they want as mods rather than obscure settings

* Fix some steel armor mishaps, remove pointless dependency on "default"

* Move admin armor into mod

* Make wood armor into a mod

* More consistent steel description text etc.

* remove wood references from 3d_armor api locale

* remove admin armor reference from 3d_armor locale template.txt

* Remove steel textures from api

* Bronze armor as mod

* Fix admin, wood armor missing local S translator var
Fix wood locale missing template.txt

* Fix bronze missing locale

* Cactus as mod

* Crystal into mod

* Diamond into mod

* Mithril and Gold as mods

* Register armor fix

* Nether as mod

* Clean-up, add optional depends for mod armors, remove armor.lua from 3d_armor

* Fix badly named mod.conf for admin, gold, nether armors
Fix attempt to register crafting recipe even though the armor is disabled via setting

* Fix steel and wood having bad globals for crafting section, turned them to locals

* Fix brazilian translation getting deleted
Fix cactus armor locales being incorrectly named
2022-09-06 21:06:27 +02:00
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
8dcbc42525
LDoc: link to favicon (#62) 2021-08-01 14:41:16 +02:00
Buckaroo Banzai
c0f303abc1
remove name attribute from modpack.conf
contentdb validation fails otherwise
2021-07-31 15:29:28 +02:00
Jordan Irwin
46c599333e
Exclude some files & directories from archives & releases (#61) 2021-07-31 14:03:33 +02: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
bell07
38fc2cff2b
Fix typo in wieldview (#56)
* Fix typo in wieldview
fixes #55
2021-06-26 20:21:15 +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
BuckarooBanzay
371285a903 adjust fire protection label position
fixes #50
2021-05-24 09:59:54 +02:00
SmallJoker
f07f0507e2 Silence warnings when ui is not enabled 2021-04-15 19:03:21 +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
sys4-fr
44111db4d7
Add use_texture_alpha to avoid warnings from 3d_armor_stand (#44)
Co-authored-by: sys4 <bricassa@sys4.fr>
2021-03-06 17:36:02 +01:00
NathanielFreeman
31aa979215 3darmor sfinv spanish translation 2021-03-01 17:31:50 +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
Sirrobzeroone
5642819ba5 fix for #30
2 line update so that shields when used no longer affects the base armor.config.level_multiplier and hard sets this to 0.9 and overriding whatever value maybe set under the UI for this seeting.

Tested in combination with #34 but no issues detected
2020-12-26 20:24:30 +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