1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-16 06:50:18 +01:00
Commit Graph

65 Commits

Author SHA1 Message Date
Andriy
bff7596364
Update Ukrainian translation (#3070) 2023-11-04 16:40:07 +01:00
Wuzzy
99a7193095
Teach screwdriver to rotate 4dir nodes (#2992) 2022-10-01 21:19:42 +02:00
Romain
06daee4c6d
Correct some Esperanto translations (#2910) 2022-07-25 13:26:49 +02:00
Wuzzy
d7dd15782c
Use add_wear_by_uses to fix incorrect uses counts (#2959) 2022-06-04 18:43:21 +02:00
mrkubax10
b57700a75b
Add polish translation (#2926) 2022-05-29 16:20:42 +02:00
baytuch
a5547a3a76
Add ukrainian (uk) translation (#2921)
Co-authored-by: sfan5 <sfan5@live.de>
2022-01-30 00:35:28 +01:00
ROllerozxa
c8a1454e2b
Fix and update Swedish translation (#2920) 2022-01-29 18:35:45 +01:00
nogajun
31f7d57889
Add and fix Japanese translation (#2904) 2021-10-31 19:17:21 +01:00
SmallJoker
c6171a8f29
Add Esperanto translation (#2739)
Co-authored-by: Jason Cartwright <cartwrightjason49@gmail.com>
2021-04-17 15:08:37 +02:00
Wuzzy
2c9733ac45
Add Lojban translation (#2835) 2021-02-23 20:00:46 +01:00
Ronoaldo Pereira
b6377a7c0e
Added Brazilian Portuguese translation (#2834)
Added the Brazilian Portuguese translation to all mods in the Minetest Game.
2021-02-23 20:00:02 +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
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
An0n3m0us
e19f42d648 Add groups for tools and mushrooms (#2378) 2019-06-01 21:10:30 +02:00
Paramat
689f0c5478
README.txt files: Change 'LGPL 2.1' to 'LGPLv2.1+'. Remove 'WTFPL' 2018-08-22 01:23:00 +01:00
DTA7
a2d7678ffd Add nil checks for placer 2017-11-15 23:16:28 +00:00
Alex Ford
8d43b984fc Screwdriver: Allow non-native rotations if supported by targeted node
This also allows custom actions (such as using the screwdriver as a wrench).
2017-04-11 03:58:13 +01:00
zaoqi
077316b4cd Use creative.is_enabled_for for creative mode if possible (#1558) 2017-03-29 21:02:26 +02:00
Auke Kok
ecf160d93d Screwdriver: simplify logic, allow wallmounted rotation.
- Allow rotation of wallmounted nodeboxes (signs) since they are
  now rotating properly.
- Instead of testing `ndef` several times, do it once, correctly.
- Simplify exception logic for nodes that have `on_rotate` set.
- For simplicity, return itemstack, always.
- Remove a useless nil check.
2017-03-20 00:12:16 +00:00
Auke Kok
d5e19d70c2 Screwdriver: drop nodes if no longer attached.
This should be fairly cheap and pops off items if needed.
2017-03-12 10:20:19 +00:00
Dániel Juhász
efb81d188e Correct rotation of attached nodes, and rotate colored nodes 2017-03-12 10:20:19 +00:00
Auke Kok
297192dd39 Screwdriver: use table lookup for facedir rotations.
The table was generated using the old code. A table lookup
should be faster than lots of math and branches.

Allows us to drop `nextrange()` as well.
2017-03-12 10:20:19 +00:00
Auke Kok
f14b0a6ff5 Screwdriver: allow simple wallmounted rotation.
Allows rotating things like signs and torches. Axis rotation
rotates over all 6 faces, face rotation flips upside down to
flat on floor only, and of course in the 4 horizontal directions.

Made the code a bit more modular to account for different rotation
schemes. Should be easier to extend from here on to other needs,
and the functions can be reused by other mods for convenience.
2017-03-12 10:20:19 +00:00
tenplus1
6d67badcac Screwdriver: Fix crash
If 'node_box' is nil 'node_box.type' causes a crash.
2017-03-07 06:37:33 +00:00
Diego Martínez
496521f4a1 Fix some warnings.
Also fixes the failing travis checks.
2017-03-05 09:27:53 +00: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
7d70d25eeb Licenses: Change WTFPL to MIT (part 2)
Add license.txt files.
Update and improve README.txt files.
Corrections to part 1.
2016-09-06 04:45:23 +01:00
Tim
20fa037313 Screwdriver: disallow rotation with on_rotate = false
Other screwdriver mods, or mods that cause rotation, might operate without the screwdriver mod loaded and have `screwdriver.disallow` unavailable.
This allows nodes to default to full-disallow rather than full-rotation in such a situation.
2016-08-05 20:41:24 +01:00
tenplus1
51891122f2 Changes to Screwdriver to add new drivers.
A few screwdriver changes so that mod makers can add new screwdrivers with different wear levels.  Tried and tested with new diamond screwdriver :)
2016-03-22 15:45:39 +00:00
tenplus1
20053d6b52 Fix bug rotating unknown node
This fixes a bug what crashes game when rotating an unknown node.
2016-03-13 04:49:15 +00:00
Auke Kok
82299b94dc Verify node type is facedir.
This prevents nodes that are not of the "facedir" paramtype2,
as these are generally not expected to be able to rotate. Mods
and other methods may still manipulate param2 of these nodes
as expected.

Addresses #712
2015-12-25 15:37:17 +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
Novatux
eae3740d85 Fix missing argument for on_rotate 2015-05-14 16:07:19 +02:00
Novatux
2824562dc9 Add screwdriver callbacks, and code them for doors and beds 2015-05-14 10:24:56 +02:00
jeanpatrick.guerrero@gmail.com
5518c277f3 Textures Update 2015-01-25 10:48:42 +01:00
Craig Davison
a9ac480dcd Set number of screwdriver uses to 200 2014-12-21 22:36:20 +01:00