Commit Graph

77 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
Lars Müller 624dafc12b
Fix crash on exit of bed formspec if not sleeping (#2826) 2021-02-11 12:30:37 +01:00
sfan5 08b13c9efb Fix deprecated alpha / use_texture_alpha use 2021-02-07 11:48:05 +01:00
Wuzzy 9d419bfac6
Update translation templates 2021-02-06 15:07:07 +01:00
Lars Müller 6a9cbcad82
Beds: Preserve player physics (#2789) 2021-02-01 23:00:05 +01:00
Maksim e6aec880de
Use Minetest 5.3 'minetest.is_creative_enabled' API (#2795) 2020-12-13 18:59:19 +01:00
Rafsanjani Atallah 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
Daretmavi 2953bf2bd6
Slovak translations (#2772) 2020-11-05 19:47:48 +01:00
SmallJoker 331bbae058
Fix deprecated get_player_velocity and set_physics_override calls (#2770) 2020-11-04 21:42:35 +01:00
An0n3m0us 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
Muhammad Rifqi Priyo Susanto 8c01a5b288
Add Indonesian translations (#2693) 2020-06-29 18:41:50 +02:00
updatepo.sh 8855490b7f Update translation templates 2020-06-26 14:41:30 +02:00
David Leal 81c5b6b399
beds: Use `player_api` functions instead of `default` (#2654) 2020-04-23 22:19:58 +02:00
IFRFSX 91ac075cff
Update Chinese Translation, Add Traditional Chinese Translation (#2596) 2020-03-02 21:53:12 +01:00
Paramat 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
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
An0n3m0us d9f8c6cc43 Escape translated text in 'beds' mod formspec 2019-11-22 21:47:47 +00: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
SnicklePickles ce1eaeebbe Grammar updates README.txt 2019-10-01 21:47:58 +02:00
Wuzzy 106c36da33 Add translation templates and German translation 2019-09-22 13:42:40 +02:00
sfan5 b4c7522248
Fix more translation strings (#2487) 2019-09-18 20:38:27 +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 e3cd961a15
Fix beds being undiggable after laying down 2019-03-23 23:12:44 +00:00
sofar 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
Paramat 7f687777a6
Beds: Do not require red wool to craft beds 2019-02-10 21:38:58 +00:00
12Me21 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
SmallJoker 2ff9058a62 Beds: Fix formspec size, no prepend 2019-01-26 14:00:01 +01:00
TumeniNodes 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
beyondlimits 876a9ca5d2 Beds: Fix input checking for "Force night skip" 2018-07-03 19:50:16 +01:00
SmallJoker 255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
bell07 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
DTA7 a2d7678ffd Add nil checks for placer 2017-11-15 23:16:28 +00:00
paramat 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
SmallJoker 67c01a44c2 Beds: Do not crash when placing in an unknown node 2017-08-10 10:08:24 +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
Auke Kok 78c632ebd4 Allow interaction with nodes while wielding these items.
- beds
- boats
- carts
- key/skeleton key
- seeds

All these had on_place handlers that did not allow nodes with
an on_rightclick() handler to be used first (if not using
sneak). This code is taken from the torches mod and applied
everywhere.

This allows all these items to e.g. be inserted into the `frame`
mod's item frames.
2017-02-28 18:16:12 -08:00
Baptiste Pouget 57eb906047 Add support for custom bed sounds 2017-01-12 12:42:38 -08:00
paramat 58038a7941 Snappy group: Remove beds and cactus from group 2016-12-05 01:41:41 +00:00
paramat 09a229b412 Update 'nodeupdate()' to 'check_for_falling()' API 2016-11-22 05:55:36 +00:00
Auke Kok 75caa9167c 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
cx384 23ba2d3a0c Add and edit fuel registrations
Edited fuels: fences, wooden ladder.
New fuels:
boat, paper, book, dry shrub, stick, vessels shelf, wooden tools,
wooden door, trapdoor, fence gates, farming crops, stairs, slabs, beds.
2016-11-02 13:04:25 +00:00