1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2025-11-15 03:05:26 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Zweihorn
04f9123e98 improved load print patch
From the start my prior PR was aiming at compatibility with legacy clients and servers. If you scan the MT forum you will become aware that there seem to be quite many MT 0.4 servers around which are actively used by many players.

However, the best solution may be this example of a new piece of improved code, if I understand the MT Lua code correctly.

```

-- print to log after mod was loaded successfully
local load_message = "[MOD] XXX loaded"
if minetest.log then
	minetest.log("info", load_message) -- aims at state of the art MT software
else
	print (load_message)  -- aims at legacy MT software used in the field
end

```

Hope this helps.
2022-12-21 19:20:04 +01:00
Feroli
04b45deec8 Add and fix Brazillian Portuguese translation (#85) 2022-11-16 20:10:09 +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
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
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
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
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
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
Alexander Weber
70325158e6 Reverts 9ce0ed9f55 / #152
The preview method is skin preview only, without armor. That is wrong for showing on formspec

Sorry for inconveniences. I need to fix the preview handling in player_api_modpack-version in an other way
2018-08-24 18:58:32 +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
bell07
9ce0ed9f55 Use preview method for unified inventory
I found this during porting the 3d_armor to player_api ;-)
2018-07-22 20:51:07 +01:00
number Zero
579d245a00 Fix crash with UI but no technic 2018-02-23 18:00:43 +00:00
stujones11
b4cfdac6f5 Update licenses to current year 2018-02-11 16:57:27 +00:00
fat115
ae448c150c added complete intllib support (i18n)
added french translation
2017-08-08 18:09:27 +01:00
fat115
925b39f577 added tooltip on unified_inventory button 2017-08-08 18:09:27 +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
stujones11
de2c47f334 More protection from un-initialized player crashes 2017-04-13 19:47:43 +01:00
stujones11
b4283f6e60 Fix string concatenation in UI form, resolves #104 2017-04-13 17:21:16 +01:00
stujones11
50453aa5a6 Fix warnings 2017-04-11 20:55:28 +01:00
stujones11
b45fbd0f2a Log warning if initialization fails and validate armor.def for UI 2017-04-11 20:42:58 +01:00
stujones11
23e4d5114f Add support for intllib 2017-03-31 20:12:20 +01:00
stujones11
11ce84873b Add support for non-fleshy damage groups, closes #47 2017-03-26 20:53:04 +01:00
Alexander Weber
f0edb9a710 Inventory compat cleanup
fix inventory_plus after cleanup. Create own register_on_player_receive_fields for this inventory

removed smart_inventory (moved to the inventoy mod), adjusted sfinv

moved sfinv to own mod 3d_armor_sfinv

moved unified_inventory to 3d_armor_ui

moved inventory_plus support to own mod 3d_armor_ip
2017-03-21 14:50:17 +00:00