Commit Graph

51 Commits (6bd059915cb43dbdae6f022aae27062fc52e1219)

Author SHA1 Message Date
ExeVirus 6bd059915c
Safe texture compression (#2808)
Only a single program was used to safely compress all textures in MTG.

 * `optipng -o7 -zm1-9 -nc -strip all -clobber %%f`

The key command used is -nc, which stops color mode changes. I.e. any RGBA textures will remain RGBA textures, with none being changes to 8-bit indexed mode.

utils/optimize_textures.sh performs this compression automatically, assuming optipng is installed.
2021-02-12 20:55:18 +01:00
Wuzzy 9d419bfac6
Update translation templates 2021-02-06 15:07:07 +01:00
Maksim e6aec880de
Use Minetest 5.3 'minetest.is_creative_enabled' API (#2795) 2020-12-13 18:59:19 +01:00
auouymous 7ae983b669
Don't replace protected liquids with bones (#2790) 2020-12-08 22:20:16 +01:00
Daretmavi 2953bf2bd6
Slovak translations (#2772) 2020-11-05 19:47:48 +01:00
Muhammad Rifqi Priyo Susanto 8c01a5b288
Add Indonesian translations (#2693) 2020-06-29 18:41:50 +02:00
IFRFSX 91ac075cff
Update Chinese Translation, Add Traditional Chinese Translation (#2596) 2020-03-02 21:53:12 +01:00
Zaoqi da39bae50e Add zh_CN translation 2020-01-22 19:09:38 +01:00
Muhammad Nur Hidayat Yasuyoshi (MNH48) 710605687b Add Malay translation 2019-11-30 17:31:40 +01:00
Aresiel 10dce79451 Add Swedish translation 2019-11-30 17:31:29 +01:00
Andrey2470T 6fea665fcc Add Russian translation (#2525) 2019-10-24 21:54:20 +02:00
Hamlet 93a49f082c Italian translation (#2491) 2019-10-12 14:30:37 +02:00
JDiaz a00ff24df9 Spanish Translation (#2505) 2019-10-10 21:19:20 +02:00
DrHackberry 0f369b43fe French translation (#2514) 2019-10-10 21:18:25 +02:00
Wuzzy 106c36da33 Add translation templates and German translation 2019-09-22 13:42:40 +02:00
sfan5 e4adb01fbf
Fix and improve translation strings (#2471) 2019-09-12 19:03:10 +02:00
Yves Quemener bb9279ccb8 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
sfan5 9b226c7045 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
Paramat 8af8dc49a0
Remove uses of default.gui_bg/bg_img/slots
Keep their definitions, to not break mods, but move them to legacy.lua.
2019-01-03 01:57:13 +00:00
SmallJoker 255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
Jacob Gustafson e376d57bd2 Add optional bones messages for player and log 2018-06-02 09:54:45 +02:00
Tim 283636bfdb Bones: Iterate player inventory lists dynamically (#1229)
Avoid hard-coded player inventory lists.
Expose `bones.player_inventory_lists` for mods to look up or change,
which player inventory lists are being dropped or placed into bones.
2018-02-20 19:15:03 +01:00
SmallJoker 3611af1dda Bones: Return bones when taking the last ItemStack 2017-10-02 11:01:01 +02:00
paramat eec1c5a03b Settings: Use new settings object 2017-05-24 07:18:26 +01:00
zaoqi 077316b4cd Use creative.is_enabled_for for creative mode if possible (#1558) 2017-03-29 21:02:26 +02:00
tenplus1 0cbb516ae2 Bones: Search for nearby 'air' for fallback bones placement
When a player dies on ladders or rope then a space can not be found at or
above player, so this change looks around player for a space to place bones.
2016-09-10 05:19:15 +01:00
paramat 6171fb43f0 Change WTFPL to MIT (part 3)
Relicense WTFPL media to CC BY-SA 3.0.
Various corrections and edits.
2016-09-07 04:44:53 +01:00
paramat e9d26e2ee3 Licenses: Change WTFPL to MIT (part 1)
Part 1: All mods except default and xpanes.
Add license.txt files.
Add missing README.txt files.
Check and update copyright years for all contributors.
Improve text format and make more consistent.
2016-09-05 05:54:33 +01:00
Tim 76211624ac Use minetest instead of core namespace, discourage via luacheck 2016-08-09 03:47:27 +01:00
paramat 4fba897a96 Bones: Improve bones textures
Add mouth, remove jaw shadow, shade eyesockets.
Darker shading for spine and rotate texture using ^[transform2
instead of inverting texture.
Use 'node sound gravel defaults' for sounds.
2016-08-01 01:20:27 +01:00
tenplus1 2df7ce20dd Bones: Ability to change bones mode. Tidy up code
Add 'bones_mode' setting to minetest.conf -> Modes: bones, drop, keep
Remove table 'bones'
Add minetest.conf.example description
Remove protection check from may_replace
2016-07-27 21:37:49 +01:00
Tim 4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
paramat 07141b4a2e Bones: New textures 2016-07-10 21:08:01 +01:00
Auke Kok 54b87e955d TNT: Add on_blast to all nodes with an inventory
Adds a minor helper function that allows efficient retrieval of
several inventories from a node inventory. We use this helper to
quickly retrieve the items in chests, vessel shelves, book shelves
and furnaces, and return these with the nodes itself to the TNT caller.

The TNT caller then performs the entity physics, and we don't need
to do anything else.

We disable TNT doing anything with bones.

We expose a bug in the code that drops the items - metadata was lost
entirely. This patch corrects that by properly copying the metadata
and creating the drops list inclusive metadata.
2016-04-26 22:33:59 +01:00
Rui 8fdcfea9f9 Allow for shift+clicking inventory from bones 2016-03-21 06:17:33 +00:00
James Stevenson d90a081722 Rename argument to priv check
Fixes crash when punching bones not owned by you, and may resolve https://github.com/minetest/minetest_game/issues/940
2016-03-18 02:35:38 +00:00
Auke Kok 2fb40be409 Add "protection_bypass" priv.
The access privilege allows players that have it to bypass protection
on locked doors/trapdoors, chests and bones.

The priv also allows bypassing any minetest.is_protected() check,
including digging nodes and placing them. It is meant for world
moderators to clean up and fix map issues.

Original patch by red-001. Split up and rebased/rewritten by sofar.

This patch requires https://github.com/minetest/minetest/pull/3800
2016-03-13 04:48:57 +00:00
MT-Modder 0410b5e0ca Allow non-players to dig bones. 2016-03-03 00:37:01 +00:00
paramat 8e51f318b3 Rename to Minetest Game
Rename in game.conf and documentation
Update game_api.txt documentation for bucket API and tree functions
Fix tab, space and comment formatting in game_api.txt
Rename in mod READMEs
2015-09-30 23:33:12 +01:00
LeMagnesium 93a2c40ebc Adding bones' drop feature Before, when you died, you got to punch you bones to get back your stuff, the bones block was not dropped. However, a lot of people wants to use them for decorations/building, and have to install a dedicated mod since 0.4.10-release. With this commit, a bones block containing an inventory is dropped/added to inventory (if enough room) when the bones block is removed. Then, when a player places a bones block by himself, he will dig it like any other basic node (eg. default:tree), not just punch it.
Thanks for reading.
2015-09-29 21:01:34 +01:00
Tim 75ea7e3160 Bones mod fixes
1. don't delete protected nodes, 2. time out in loaded chunks, 3. don't crash when dying in certain nodes (like default doors or sign_lib signs)
2015-02-12 22:10:15 +01:00
Craig Davison 07dcae7258 Add fancy inventory for bones 2015-01-17 16:05:19 +01:00
David Gumberg e106fd51ca Compress all textures losslessly using optipng and advpng 2014-07-05 16:06:00 +02:00
SmallJoker a32751800c Add furnace protection, eat some lines of codes
This adds protection for furnaces (when the area is protected, so it the
furnace).
Also made the codes a bit shorter..
2014-07-05 16:01:28 +02:00
SmallJoker d47201f813 Add punch to pickup, drop instead of delete
These changes allow players to punch up old bones or their own.
If there is no area for bones, drop the items instead of delete.
Notify the player where he died, so he can find them again.
2014-07-05 16:01:19 +02:00
Zheyu Shen 253af00743 Don't create bones if the player's inventory is empty 2014-06-25 15:46:45 -04:00
PilzAdam 179f4c3f91 Use louder footstep sound as dug_node 2013-06-13 14:36:11 +00:00
Mitori Itoshiki c3c5f8a228 New sounds 2013-06-12 22:38:40 +00:00
Sfan5 c2ce3d032e Pngcrush all Textures 2013-05-25 16:20:35 +02:00
PilzAdam 31a74ede18 Replace minetest.env: with minetest. 2013-05-25 00:40:03 +02:00