Commit Graph

326 Commits

Author SHA1 Message Date
357cc3aada Merge remote-tracking branch 'upstream/master' 2024-09-15 07:59:24 +02:00
Niklp
22955b413a
Fix "player still online" check of armor.unequip (#146) 2024-05-01 07:24:49 +02:00
Niklp
1fcbf64d53
Replace 3d_armor_trans.png w/ engine provided blank.png (#143) 2024-04-04 07:25:05 +02:00
Niklp
20917da061
Fix armor radiation values were not not summed up (#139) 2024-03-22 22:35:43 +01:00
Niklp
7bd77a7b80
Call custom on_punched functions w/ hitter = nil too (#141) 2024-03-19 12:54:42 +01:00
Niklp
25369e5165
Don't assume hitter ~= nil in on_punchplayer callback (#138)
* Don't assume `hitter ~= nil` in on_punchplayer callback

* Use early return
2024-03-17 09:11:03 +01:00
BuckarooBanzay
f430395b64 resolve player object in async function again (different globalstep)
fixes #132
2024-01-15 10:15:49 +01:00
David Leal
467709c935
Use player_api functions instead of default (#129) 2023-12-26 18:34:43 +01:00
Jaidyn Ann
e0b6112320
Tweak Esperanto translation (#128) 2023-12-19 07:13:04 +01:00
babb15262d Merge remote-tracking branch 'upstream/master' 2023-11-22 23:00:52 +01:00
Olivier Dragon
9a687fbb51
Remove individual mod LICENSE.txt (#122)
and add full license texts for LGPL2.1 and CC-BY-SA 3.0
2023-10-29 19:13:53 +01:00
Buckaroo Banzai
3660e50312
init-cleanup (#115)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2023-10-26 10:39:55 +02:00
Dirkfried
aef125a0ca
fix small typo (#111) 2023-08-20 19:36:32 +02:00
Wuzzy
7d251784e7
German translation update (#110) 2023-08-13 14:57:32 +02:00
Buckaroo Banzai
6eb492b09c
add nil check in armor.damage (#109) 2023-08-04 16:35:02 +02:00
19b8ea4028 Merge commit '053c30b' 2023-06-04 23:00:43 +02:00
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
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
fluxionary
e75c0bedcc
remove pointless dependency on bakedclay (#90) 2022-12-10 19:45:21 +01:00
OgelGames
7f20e5dcb7
add fake player check (#86) 2022-11-20 16:44:50 +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
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
1869d4b0c3 Merge remote-tracking branch 'upstream/master' 2022-05-27 18:25: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
c95eb77a4e Merge remote-tracking branch 'upstream/master' 2022-03-05 11:19:05 +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
6757013da2 Merge remote-tracking branch 'upstream/master' 2021-11-26 21:30: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
5845d3682d Merge remote-tracking branch 'upstream/master' 2021-08-01 18:50:16 +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
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
2d280a5a1e Merge remote-tracking branch 'upstream/master' 2021-06-26 19:09:48 +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
9417629f51 Merge remote-tracking branch 'upstream/master' 2021-06-20 17:01:50 +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
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
3ca25f7ec4 Merge remote-tracking branch 'upstream/master' 2021-03-12 12:08:30 +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