Commit Graph

83 Commits

Author SHA1 Message Date
8158926862 Check for attachments before attaching player to bed (#2862) 2021-05-08 11:30:57 +02:00
c6171a8f29 Add Esperanto translation (#2739)
Co-authored-by: Jason Cartwright <cartwrightjason49@gmail.com>
2021-04-17 15:08:37 +02:00
2c9733ac45 Add Lojban translation (#2835) 2021-02-23 20:00:46 +01:00
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
73ea8e2e91 Update Spanish translation (#2824) 2021-02-15 21:54:48 +01:00
46136bbf19 Update German translation (#2821) 2021-02-12 20:55:27 +01:00
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
624dafc12b Fix crash on exit of bed formspec if not sleeping (#2826) 2021-02-11 12:30:37 +01:00
08b13c9efb Fix deprecated alpha / use_texture_alpha use 2021-02-07 11:48:05 +01:00
9d419bfac6 Update translation templates 2021-02-06 15:07:07 +01:00
6a9cbcad82 Beds: Preserve player physics (#2789) 2021-02-01 23:00:05 +01:00
e6aec880de Use Minetest 5.3 'minetest.is_creative_enabled' API (#2795) 2020-12-13 18:59:19 +01:00
0232288d5e Fix some mistakes in the Indonesian translations (#2758) 2020-12-13 18:58:37 +01:00
DS
226e2d4c12 Add missing not_in_creative_inventory group where appropriate (#2764) 2020-11-11 15:29:43 +00:00
2953bf2bd6 Slovak translations (#2772) 2020-11-05 19:47:48 +01:00
331bbae058 Fix deprecated get_player_velocity and set_physics_override calls (#2770) 2020-11-04 21:42:35 +01:00
268f869e67 beds: Various bug fixes (#2566)
· Fixes players sleeping in an occupied bed (Wuzzys code)
· Fixes 'sleepwalking' by checking players velocity (Wuzzys code)
· Fixes sleeping player flying off the bed when damaged and flying far away from the bed after death
· Fixes sleeping player being immobilized and bed undiggable after death
2020-09-02 18:32:06 +02:00
8c01a5b288 Add Indonesian translations (#2693) 2020-06-29 18:41:50 +02:00
8855490b7f Update translation templates 2020-06-26 14:41:30 +02:00
81c5b6b399 beds: Use player_api functions instead of default (#2654) 2020-04-23 22:19:58 +02:00
91ac075cff Update Chinese Translation, Add Traditional Chinese Translation (#2596) 2020-03-02 21:53:12 +01:00
9bf64b61c2 Fix simple bed height, make player lay down just above it, not inside it 2020-02-08 03:11:44 +00:00
DS
176ddba176 Reset spawn position on bed destruction 2020-01-26 18:59:44 +01:00
da39bae50e Add zh_CN translation 2020-01-22 19:09:38 +01:00
710605687b Add Malay translation 2019-11-30 17:31:40 +01:00
10dce79451 Add Swedish translation 2019-11-30 17:31:29 +01:00
d9f8c6cc43 Escape translated text in 'beds' mod formspec 2019-11-22 21:47:47 +00:00
6fea665fcc Add Russian translation (#2525) 2019-10-24 21:54:20 +02:00
93a49f082c Italian translation (#2491) 2019-10-12 14:30:37 +02:00
a00ff24df9 Spanish Translation (#2505) 2019-10-10 21:19:20 +02:00
0f369b43fe French translation (#2514) 2019-10-10 21:18:25 +02:00
ce1eaeebbe Grammar updates README.txt 2019-10-01 21:47:58 +02:00
106c36da33 Add translation templates and German translation 2019-09-22 13:42:40 +02:00
b4c7522248 Fix more translation strings (#2487) 2019-09-18 20:38:27 +02:00
bb9279ccb8 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
9b226c7045 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
e3cd961a15 Fix beds being undiggable after laying down 2019-03-23 23:12:44 +00:00
b853c8a509 Beds: Properly count players in beds
This is a rebased and slightly rewritten version of #2125.
2019-03-10 01:43:49 +00:00
7f687777a6 Beds: Do not require red wool to craft beds 2019-02-10 21:38:58 +00:00
14cc07bfd3 Beds: Make on_rotate function check new param2 instead of rotation mode
The on_rotate function now checks the new param2 value to determine if a rotation is valid, rather than checking the rotation mode.
This is so screwdriver-like items with different rotation modes will not be able to rotate the bed into invalid orientations.
2019-02-08 01:53:55 +00:00
2ff9058a62 Beds: Fix formspec size, no prepend 2019-01-26 14:00:01 +01:00
5ccf965825 Beds: Use mod textures instead of default_wood.png
No longer use default_wood.png for one side of the bed head and
one side of the bed bottom node.
Add a new texture for the underside of both beds.
2018-10-29 22:08:25 +00:00
876a9ca5d2 Beds: Fix input checking for "Force night skip" 2018-07-03 19:50:16 +01:00
255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
5692c15b4d Disallow digging a bed if in use
Use a new table beds.bed_position to check if a bed is in use.
2018-06-19 22:07:01 +01:00
a2d7678ffd Add nil checks for placer 2017-11-15 23:16:28 +00:00
809e5933c4 Beds: Strip colour bits from param2 in 'get look yaw'
Based on code by github user 'hdak1945git'.
Fixes a crash when 'colorfacedir' param2 is used for beds.
2017-09-28 20:49:34 +01:00
67c01a44c2 Beds: Do not crash when placing in an unknown node 2017-08-10 10:08:24 +02:00
eec1c5a03b Settings: Use new settings object 2017-05-24 07:18:26 +01:00
077316b4cd Use creative.is_enabled_for for creative mode if possible (#1558) 2017-03-29 21:02:26 +02:00