Commit Graph

1559 Commits

Author SHA1 Message Date
5c48c76aa2 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
f21bab2ff9 Split underground biome to correspond to surface biomes
In preparation for biome-defined: dungeon materials, cave liquids,
stone type, ores, decorations.
'_ocean' biomes now extend to y = -255 to be deeper than default
mgv5 oceans, and to create 'shallow underground biomes'.
Remove unnecessary biome lists for gravel and silver sand blob ores,
as those are already defined to only appear in default:stone.
2019-04-19 21:23:26 +01:00
0291c6b210 Moss growth ABM: Add inner and outer cobble stairs, simplify code 2019-04-06 21:35:48 +01:00
b20725026e flowers: Light check optimisation in mushroom spread 2019-03-31 22:20:28 +01:00
8678265125 Dungeon loot: Avoid empty 'if' branch to satisfy lua check 2019-03-31 22:26:33 +02:00
df387e2394 Dungeon loot: Don't crash on unknown items
fixes #2228
2019-03-31 22:26:32 +02:00
88d79881b8 Add food groups to blueberries (#2335) 2019-03-31 22:20:47 +02:00
efd090228d fire: Document flammable group, a little code cleanup 2019-03-30 20:33:08 +00:00
dfe6fd6560 Restrict waving liquid shader to normal water 2019-03-27 02:17:32 +00:00
dd3f3b2032 Use group:stick in recipes (fixes #2306) 2019-03-24 10:59:34 +01:00
8b5e0a914b Dungeon loot: Avoid empty 'if' branch to satisfy lua check 2019-03-23 23:16:41 +00:00
e3cd961a15 Fix beds being undiggable after laying down 2019-03-23 23:12:44 +00:00
eaf6eac723 Mapping kit recipe: Use "group:stick" instead of "default:stick" 2019-03-18 22:20:24 +00:00
02e2cab375 Dungeon loot: Don't crash on unknown items
fixes #2228
2019-03-17 13:59:10 +01: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
891f00e9db Flowers: Remove stack max definition (#2324) 2019-03-05 11:59:23 +01:00
b38b5b2357 Enable colored Luacheck output on Travis CI
This also removes the deprecated `sudo: false` option, as Travis CI
is phasing out the container-based infrastructure.
2019-02-24 19:46:48 +01:00
196f206d3e Remove corals.mts credit 2019-02-18 19:57:30 +00:00
1ca25eec9d Kelp, coral sounds: Add missing 'footstep'. Use quiet 'dig', 'dug'
Footstep sounds as sand or cubic coral nodes.
Dig and dug sounds as leaves but much lower gain to be suitable for
underwater.
2019-02-16 21:18:01 +00:00
b92f7431ef Fix sfinv hotbar offset 2019-02-16 20:51:33 +00:00
7f687777a6 Beds: Do not require red wool to craft beds 2019-02-10 21:38:58 +00:00
6b2887e3bf Limit sign length to 512 (~6 lines of 80 char or so).
Players can enter unlimited text into the field, causing lag and
potentially locking up clients. I have not found any negative effects
server side, other than the large storage needed to store the long
text.
2019-02-07 23:57:42 -08: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
ad6c2cf035 Dye: Remove type="shapeless" from single-item recipes 2019-02-06 19:07:48 +00:00
2033b2cc65 'permafrost_with_stones/moss' drops itself instead of permafrost
Previously they were not collectable or creatable.
A simple temporary solution for MTG 5.0.0.
2019-02-05 00:24:04 +00:00
bfde214c52 Add screenshot.png, and more info to game.conf 2019-02-05 00:07:06 +00:00
6e0e2b8be9 Textures: Update permafrost to new dirt, improve stones, add stones side 2019-02-03 19:14:13 +00:00
64a923f7fb Fix sfinv not updating on creative grant/revoke 2019-02-03 11:45:45 +00:00
2ff9058a62 Beds: Fix formspec size, no prepend 2019-01-26 14:00:01 +01:00
a2c9523bce Update small pines in schematic_tables.txt
Update was missing from 7fa03c7a9b
2019-01-06 23:48:57 +00:00
7fa03c7a9b Fix small pine leafdecay: New schematics, new leafdecay radius
Fix small pine leafdecay: New schematics, new leafdecay radius
2019-01-04 04:12:07 +00:00
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
ccf03ea404 Remove extra empty strings in craft recipes (#2281) 2019-01-02 12:40:32 +01:00
6688ddf6d4 Add large cactus seedling
Alter 'large cactus' schematic to place another force-placed cactus node,
to replace the cactus seedling on growth.
Make schematic 5x7x5 to solve rotation, placement and protection check
issues.
Add a y-slice probability for height variation.

Growth time is tuned to not make this a faster way to obtain cactus nodes
compared to normal cactus farming.
Seedling texture by Extex101.

Use sapling/seedling description in protection intersection message in
'sapling_on_place' function.
2019-01-02 02:18:50 +00:00
da10af919e Doors: New handle and hinges for glass door 2018-12-22 00:33:37 +00:00
bae58b3806 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
ec248d3cb0 Remove now-unused 'puts out fire' group 2018-12-08 04:00:38 +00:00
667e130c52 Prevent crash if some mod inadvertently allowed doors to rotate 2018-12-06 23:29:43 +00:00
1fa8180e7f Add sfinv.get_page() 2018-11-28 14:14:33 +00:00
068e0b167f Remove double inner/outer in stairs descriptions 2018-11-16 19:50:53 +01:00
21f5eaade0 Add plantlike_rooted coral 2018-11-15 00:49:16 +00:00
5f61379757 Fix sRGB profiles for obsidian glass stair textures 2018-11-09 18:53:23 +00:00
ad486bc863 New glass, glass stair/slab, and glass door textures 2018-11-02 17:22:54 +00: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
58f6994e08 Liquid sources: Backface-cull sides and base. Remove unused special tiles
Fixes most z-fighting caused by underwater nodeboxes.
Special tiles were for 'new style water' (lowered water level) which was
removed a few years ago.
2018-10-27 13:57:16 +01:00
cf0e49fb4a Chests: Fix crash on empty key metadata 2018-10-18 05:45:35 +01:00
382e2acd9b Spawn mod: Avoid respawn conflict with beds mod (#2240) 2018-10-14 02:36:40 +01:00
b042106fdc Stairs: Remove combine slabs code 2018-10-11 19:33:33 +01:00
f583d90c94 Fence rails: Allow connections to walls 2018-10-11 19:31:35 +01:00
ab1a79b13c Add blueberry bushes 2018-10-09 20:54:22 +01:00