Commit Graph

152 Commits (b6a6a219dcdc8e01b5ffe683c48ff1e75c78cfd5)

Author SHA1 Message Date
An0n3m0us b6a6a219dc Fix door model UV for open and close (#2372)
Introduce _c and _d door types to correctly render the texture faces for the open and closed state.
2020-04-24 21:04:00 +02:00
An0n3m0us 21a8895629 Sort items into correct categories (#2612) 2020-04-06 15:15:50 +02:00
IFRFSX 8bcd97402d Update Chinese Translation, Add Traditional Chinese Translation (#2596) 2020-03-02 21:53:12 +01:00
sfan5 b293dafcd7 Convert minetest.sound_play uses to ephemeral 2020-02-05 22:24:23 +01:00
Zaoqi f0d2b9646b Add zh_CN translation 2020-01-22 19:09:38 +01:00
Muhammad Nur Hidayat Yasuyoshi (MNH48) f06f12d436 Add Malay translation 2019-11-30 17:31:40 +01:00
Aresiel b943e048ed Add Swedish translation 2019-11-30 17:31:29 +01:00
Andrey2470T 3f2c5d6732 Add Russian translation (#2525) 2019-10-24 21:54:20 +02:00
Hamlet 2fe30a3f70 Italian translation (#2491) 2019-10-12 14:30:37 +02:00
JDiaz 6578b08cbf Spanish Translation (#2505) 2019-10-10 21:19:20 +02:00
DrHackberry f7b941fe16 French translation (#2514) 2019-10-10 21:18:25 +02:00
Wuzzy b25beb84a4 Add translation templates and German translation 2019-09-22 13:42:40 +02:00
sfan5 2877d49f43 Fix trapdoor infotext to correctly describe the type of trapdoor 2019-09-20 20:56:20 +02:00
sfan5 7fce8a74a8 Fix door infotext to correctly describe the type of door 2019-09-20 20:10:58 +02:00
mbartlett21 f01916dfa4 Add option for non-jumpable fences and walls
Add an option, default disabled, to extend the collision boxes upwards.
2019-09-16 21:38:02 +01:00
An0n3m0us e27d38ff94 Add missing infotext to nodes (#2477) 2019-09-14 20:30:26 +02:00
Yves Quemener 9ef596664f Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
TumeniNodes 4abe7657b0 Various mods: Use " " instead of ' ' for item names 2019-08-01 02:40:39 +01:00
sfan5 34168de6f0 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
Paramat b2835df6b0 Fix trapdoor side textures and orientations
Previously, opening a trapdoor caused the side textures to flip.

Fix the incorrect textures.
Also add a texture transform to a tile of the open trapdoor, such
that the closed trapdoor sides use the lower part of the texture
and the open trapdoor sides use the higher part.

Clean up some codestyle issues.
2019-05-03 23:49:07 +01:00
SmallJoker 646e3f7eef Use group:stick in recipes (fixes #2306) 2019-03-24 10:59:34 +01:00
Paramat 04a299a1c4 Doors: New handle and hinges for glass door 2018-12-22 00:33:37 +00:00
Ryan Nolan ec1143ff43 Doors: Allow on_rightclick to be overidden
Allow mods such as protection mods to over ride on_rightclick.
Usecase is creating shared doors without the need for keys.
2018-12-20 22:45:24 +00:00
sofar 90c42347fc Prevent crash if some mod inadvertently allowed doors to rotate 2018-12-06 23:29:43 +00:00
SmallJoker da4d5def4a New glass, glass stair/slab, and glass door textures 2018-11-02 17:22:54 +00:00
paramat 2c61080cfc Doors: Avoid crash on nil player in 'can dig door' 2018-02-03 03:54:03 +00:00
DTA7 dd32f2d71a Add nil checks for placer 2017-11-15 23:16:28 +00:00
sfan5 5fe267ac7b Doors: Same prediction change for trapdoors
Forgot this in the last commit, thanks @Fixer-007
2017-09-12 00:28:29 +02:00
sfan5 2e1fd6e272 Doors: Disable client dig prediction for protected doors 2017-09-11 21:35:28 +02:00
Ezhh cdca768022 Improve node descriptions (#1834) 2017-07-23 10:26:10 +02:00
DS-Minetest 61ac8b0f9e Add backface_culling to open chests and fencegates 2017-07-02 11:32:34 +01:00
Ezhh c89b8c7677 Make sapling, leaves and fence descriptions consistent (#1795) 2017-06-25 11:19:12 +02:00
DS-Minetest e69fae7c0b Doors: Avoid white particles when digging wooden trapdoor
Alter the wooden trapdoor side texture, replacing the white area with a
repetition of the wood pixels.
It is now consistent with the steel trapdoor side texture.
2017-06-08 15:52:31 +01:00
MrIbby 5d096621b2 Change "Junglewood" to "Jungle Wood" 2017-06-03 11:55:13 -04:00
Auke Kok 218d0a1c10 Doors: place sound when placing a door.
Due to door items being the thing that's placed, we need to
explicitly play a sound when placing a door.

Fixes #1363
2017-04-28 21:52:59 -07:00
upsilon 2bf5fd9375 Doors: Ignore permission check if player parameter is omitted
As written in game_api.txt.
2017-04-20 19:54:27 +01:00
Thomas--S f3b4661d3a nodebox -> node_box
Seems like this was a typo
2017-04-12 18:39:42 -07:00
SmallJoker 4f70794d3f doors: Fix craftitem not listed in inventory (#1683)
Fixes bug caused by b847888
2017-04-02 10:01:01 +02:00
zaoqi c80811a49d Use creative.is_enabled_for for creative mode if possible (#1558) 2017-03-29 21:02:26 +02:00
cx384 1eb7606bd1 doors: add groups to the door craftitem 2017-03-29 20:40:56 +02:00
upsilon fd38a456f0 doors: record protection violation if it cannot be dug 2017-03-26 03:06:44 +01:00
Thomas--S 201880e098 Change doors to default.can_interact_with_node() 2017-03-16 09:11:20 -07:00
SmallJoker 8f85cff817 Keys: Update default.can_interact_with_node to new item meta
Completes a forgotten update in 9d3a526
2017-03-12 12:20:31 -07:00
octacian f2b9384eb1 Keys: Show owner in description
Utilizes several new features allowing the description of an item to be changed using the `description` meta key. This also moves keys from using the old single-value itemstack metadata system to the new node-like metadata system.
2017-02-27 19:00:14 -08:00
Martin Doege babe49de8d Textures: Strip color profiles from some textures
Removes the "iCCP: known incorrect sRGB profile" error messages on the
console when starting minetest_game by stripping offending color profiles.
2017-01-22 07:43:12 +00:00
Auke Kok 480ed11001 Revert "Doors: Remove ..." and "Doors: Allow the screwdriver to ..."
This reverts commit 5e4a6e8ac68b92c7394b80bb67839b71b4a4a00b, and
             commit 60cf3f85b6e661482ec2705cadbdc1b04e388d19.

The original door API rewrite I posted had all rotation disabled using
the correct on_rotate() handler returning `false`. Two subsequent
changes attempting first to enable simple rotation and second disabling
that again changed the callback handler to a boolean `false`, which
is incorrect use in the screwdriver API, and actually allows rotation.

The proper way to disable rotation for facedir nodes it to use a full
callback handler that does `return false`.
2017-01-15 17:43:17 -08:00
rubenwardy b902ccf841 Make doors place when shift is held instead of calling on_rightclick
Fixes #1364
2017-01-03 16:54:01 +00:00
Auke Kok 2f7e6962fa Keys: Allow easy sharing of access without commands
This code adds the key concept to minetest_game, and integrates it
with lockable nodes. Currently supported lockable items are the Steel
Door, the Steel Trapdoor, and the Locked Chest.

The goal of this modification is to introduce a fine-grained multi-
player permission system that is intuitive and usable without any
console or chat commands, and doesn't require extra privileges to
be granted or setup. Keys can also physically be conveyed to other
players, adding to gameplay and adding some personality that is
preferable to console commands or editing formspecs.

A skeleton key can be crafted with 1 gold ingot. Skeleton keys can
then be matched to a lockable node by right-clicking the skeleton
key on a lockable node, which changes the skeleton key to a "key".

Gold was chosen as it's currently a not-so very useful item, and
therefore it's likely that players have some, but aren't really
using it for any purpose.

This key can subsequently used by any player to open or access that
lockable node, including retrieving items from Locked Chests, or
putting items in them.

They key is programmed to fit only the particular locked node it is
programmed to. This is achieved by storing a secret value in both
key and locked node. If this secret value doesn't match, the key
will not open the locked node. This allows many keys to be created
for one chest or door, but a key will only fit one node ever. The
secrets are stored in node, and item meta for the key.

If a locked node is removed, all keys that opened it are no longer
valid. Even if a new door/chest is placed in exactly the same spot,
the old keys will no longer fit that node.

Keys can be smelted back in gold ingots if they are no longer useful.

The method of storing a secret in nodemeta and itemstackmeta is secure
as there is no way for the client to create new items on the server
with a particular secret metadata value. Even if you could possible
create such an itemstack on the client, the server does not ever read
itemstackmeta from a client package.

The patch adds an API that allows other nodes and nodes added by
mods to use the same keys as well. The method how to implement this
is described in game_api.txt. The mod should add 2 callbacks to it's
node definition. Example code is given.

Textures are from PixelBOX, thanks to Gambit.
2016-11-25 03:01:14 +00:00
paramat 29ceec1516 Update 'nodeupdate()' to 'check_for_falling()' API 2016-11-22 05:55:36 +00:00
Auke Kok f93a2e2be2 Fix whitespace errors to silence luacheck.
Currently all minetest_game PR's are failing travis since the
upstream luacheck now also warns about whitespace issues, and
there are a few of those in the code. This fixes all of them
so we can yet again rely on luacheck.
2016-11-19 19:39:51 -08:00