Commit Graph

450 Commits

Author SHA1 Message Date
randomei fb86c02e43
russian translation fixes (#142) 2024-03-25 20:01:28 +01: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
Luke aka SwissalpS 7fc313f911
armorstand nodes are not ground content (#134) 2024-02-29 07:39:44 +01:00
SmallJoker 4bac73fc9e
Make all admin armor to protect from drowning (#131) 2024-01-17 10:33:37 +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
fluxionary f3e66701aa
add a protected shared armor stand (#127) 2023-11-28 07:08:29 +01:00
randomei 7a0c456638
Fix broken translations (#124)
* Fix broken translation
2023-11-22 07:29:44 +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
Niklp 1e2760a6cf
Fix ldoc ci (#121) 2023-10-29 19:09:00 +01:00
Dirkfried 1da9d94e7c
Enhance the admin boots (double speed) (#120) 2023-10-28 11:42:48 +02:00
Buckaroo Banzai 3660e50312
init-cleanup (#115)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2023-10-26 10:39:55 +02:00
Niklp c894ba4b0c
Add `initial_properties` to armor stand entity (#116)
* Add `initial_properties` to armor stand entity

* Keep pos param

* fix

* fix crash
2023-10-22 19:21:52 +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
David Leal dfa19cce98 Fix LDoc URL 2023-07-14 08:27:36 +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
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