Commit Graph

771 Commits

Author SHA1 Message Date
Yves Quemener bb9279ccb8 Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
Paul Ouellette 7269711911 Furnace: Improve fuel item replacement support
The output returned by `get_craft_result` has a replacements table that
contains any replacement items that could not be placed in the input
(due to the input stack having a count > 1). Put these replacements in
the dst list or drop them on the furnace.
2019-08-20 21:15:28 +02:00
coil 3a3f71aa50 Verify object is player before checking privs (#2448)
This prevents a crash when a 'nil' digger is passed by the engine to
minetest.node_dig.
2019-08-19 19:24:19 +02:00
Paul Ouellette e5ebb36cd5 Furnace: Fix "output full" infotext 2019-08-11 16:28:02 +02:00
TumeniNodes a5bde8e9ba Default: Use " " instead of ' ' for item names 2019-07-31 00:16:44 +01:00
Paramat 6716fc74ec
Add patches of bare 'dry dirt' to savanna
Tune noise to appear roughly where long dry grass is least dense and shortest.
2019-07-30 03:55:17 +01:00
TumeniNodes c32b8adaa3 Add 'dry dirt' and 'dry dirt with dry grass' nodes for savanna biome 2019-07-26 17:50:44 +01:00
Paramat d16612c1cb
Add new, longer 'default_grass_side' texture
Update side texture to match the new top texture.
3/4 side coverage instead of 1/2,
2019-07-22 02:18:20 +01:00
sfan5 9b226c7045 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
sfan5 37710866f0 Switch dungeon type detection to biome name
see #2400, also removed a now unused alias
2019-07-16 22:26:35 +02:00
TumeniNodes bfb84da39c Add new 'default_grass' texture 2019-07-15 17:43:05 +01:00
Paramat 3bca295da8
New lighter, greyer permafrost texture 2019-07-13 23:35:25 +01:00
SmallJoker 95aaec6670 Allow opening chests when wielding corals
Code simplification by combining the on_place functions.
2019-07-12 20:01:27 +01:00
luk3yx 3d530e0c25 intersects_protection(): Fix compatibility code 2019-07-03 19:10:39 +02:00
Paramat e7be81242b
Define dungeon nodes in biome definitions (#2400)
Icesheet ice dungeons now have ice stairs.
Remove some now-unnecessary sandstone mapgen aliases, one
remains as it is required by the dungeon loot mod.
Re-arrange mapgen aliases to separate those needed for mgv6.
2019-07-01 21:58:47 +01:00
rubenwardy a6a719967a Use 9-slice background in formspec theme 2019-06-24 00:10:13 +01:00
SmallJoker 0f771a27c3 Allow overriding default.after_place_leaves and default.grow_sapling 2019-06-07 20:35:24 +01:00
Paramat ca7c131133
Large cactus schematic: Don't force-place root node
This schematic is used for sapling-grown large cacti, so should not
destroy the sand node below, as sand nodes are in short supply in
some situations.
Like trees, only force-place the node that replaces the sapling.
2019-06-07 20:34:13 +01:00
acmgit 61bfac0fa2 Prevent potential crash caused by moss growth ABM 2019-06-02 18:50:20 +01:00
An0n3m0us e19f42d648 Add groups for tools and mushrooms (#2378) 2019-06-01 21:10:30 +02:00
Paramat aee5ba64f9
Make cave liquids biome-determined
No longer use the hardcoded engine cave liquids.
Water only in '_ocean' biomes, water and lava in '_under' biomes.
2019-05-18 21:22:19 +01:00
Paramat 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
HybridDog 0291c6b210 Moss growth ABM: Add inner and outer cobble stairs, simplify code 2019-04-06 21:35:48 +01:00
tenplus1 88d79881b8 Add food groups to blueberries (#2335) 2019-03-31 22:20:47 +02:00
Paramat dfe6fd6560
Restrict waving liquid shader to normal water 2019-03-27 02:17:32 +00:00
Paramat 196f206d3e
Remove corals.mts credit 2019-02-18 19:57:30 +00:00
Paramat 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
Auke Kok 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
Paramat 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
random-geek 6e0e2b8be9 Textures: Update permafrost to new dirt, improve stones, add stones side 2019-02-03 19:14:13 +00:00
Paramat 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
Paramat 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
Paramat 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
Paramat ec248d3cb0
Remove now-unused 'puts out fire' group 2018-12-08 04:00:38 +00:00
Ezhh 21f5eaade0
Add plantlike_rooted coral 2018-11-15 00:49:16 +00:00
SmallJoker ad486bc863 New glass, glass stair/slab, and glass door textures 2018-11-02 17:22:54 +00:00
Paramat 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
SmallJoker cf0e49fb4a Chests: Fix crash on empty key metadata 2018-10-18 05:45:35 +01:00
TumeniNodes f583d90c94 Fence rails: Allow connections to walls 2018-10-11 19:31:35 +01:00
random-geek ab1a79b13c Add blueberry bushes 2018-10-09 20:54:22 +01:00
Paramat 24900f7da5
Fence rail: Only connect to fences. Update map mod README recipe
Fence rail: Only connect to 'group:fence'.
Update map mod README crafting recipe documentation.
2018-09-25 19:42:19 +01:00
Ezhh e10e0f94d6
Remove cave ice from creative inventory 2018-09-21 18:52:55 +01:00
Paramat 689f0c5478
README.txt files: Change 'LGPL 2.1' to 'LGPLv2.1+'. Remove 'WTFPL' 2018-08-22 01:23:00 +01:00
Paramat f4f90520ec
Add new dirt texture by random-geek 2018-08-21 20:41:26 +01:00
Paramat 20b433881b
New wider apple tree schematic
Precisely reduce trees and logs per mapchunk division to compensate.
2018-08-20 23:56:00 +01:00
Paramat 70c0181b59
Pine bush: Do not force-place needles nodes 2018-08-04 20:26:30 +01:00
Paramat ab3b1a35f5
sfinv, player_api mods: Fix and cleanup README and license files
sfinv:
Move license information to create the missing license.txt file.
Make README consistent with other Minetest Game mods.

player_api:
Add missing texture and sound credits to README.
Update and add extra license information.

default:
Remove credit for 'player_damage.ogg' sound.
2018-07-31 10:55:28 +01:00
Paramat 506eca22bc
Make apple log shorter, to be no longer than appletree trunk 2018-07-24 16:14:52 +01:00
Paramat 57db3f748c
Default: Credit schematics and licence as media 2018-07-14 22:52:12 +01:00
TumeniNodes 9318c71659 Biomes: Add pine bush to taiga and snowy grassland
Replaces 'bush' in snowy grassland.
2018-07-13 01:17:07 +01:00
Paramat d4b0b73ae0
Move chests to a new file. Update credits for chests and torches
Move chests code out of nodes.lua and into a new file.
Credit torch code, and chest and torch models in README.txt.
Remove 'torches' mod text from torch.lua.
Minor cleanups in README.txt.
2018-07-10 23:02:22 +01:00
Paramat ef7bd43829
Remove coral air-death ABM 2018-07-10 03:51:41 +01:00
Paramat 513609dcfd
Fence rails: Add fence rail textures
Minor clean up of README.txt, including deletion of credits for removed
torch textures.
2018-07-08 22:22:07 +01:00
TumeniNodes 7e1b07fddd Add fence rails
Dedicated fence rail textures coming in a follow-up PR.
2018-07-07 19:03:33 +01:00
SmallJoker 255031fc91 Replace deprecated function calls 2018-07-01 20:44:03 +01:00
Ezhh e9fbd3d75d Add longer log schematics
These use 'spawn_by' to avoid steep slopes.
2018-06-15 07:25:43 +01:00
Paramat e74e091e78
Biomes: Make beaches snowy in snowy biomes 2018-06-01 22:39:50 +01:00
Paramat ed1d64d8aa
Snow: Make players sink into 'default:snow' by 3/16 node 2018-05-31 03:14:46 +01:00
Paramat b389f38120
Kelp: Add 'paramtype = light' to avoid black plantlike extension 2018-05-19 18:57:01 +01:00
Paramat 64470dc786
Biomes: Add vertical biome blends (#2120)
Alter a few biome y-limits for consistency.
2018-05-15 22:27:39 +01:00
Ezhh 3d709dfa1d Enable regrowth of apples
Apples only regrow where they first appear on trees, either on mapgen or when grown from saplings (meaning apples that were placed by players won't regrow).
Once the tree is cut down in full (leaves removed), regrowth will stop.
New apples only grow in daylight, and take the same time as a sapling to grow.
2018-05-11 16:42:28 +01:00
Paramat ace7ec953e
Biomes: Add tundra lowland with permafrost, stones, moss and snow
Move previous tundra to highland and remove the snowblocks that are
unsuitable for a fairly dry biome, use snow slabs instead.
2018-05-04 23:05:47 +01:00
Ezhh b52ea3de15
Remove commented lines from biome definitions 2018-04-30 22:14:23 +01:00
Paramat aedd209440
Use stratum ore to add the missing sandstone types
Add silver sandstone strata to 'cold desert' biome.
Add sandstone and desert_sandstone strata to 'desert' biome.
2018-04-29 07:15:11 +01:00
Paramat bbb88e6387
Rebalance bronze and steel tools, swap ore depths
Reduce bronze tool capabilities to be between stone and steel.
Swap depths of iron ore and tin / copper ores for corresponding
progression.
2018-04-20 20:13:16 +01:00
Paramat 8d8f2f79d0
Ore distribution: Deeper iron, diamond and mese block, tune gold (#2107)
Iron at y = 0 was far too easy to find.
Adjust gold lower region to be twice the depth of highest level, like
all other ores.
Diamond at y = -500 was too easy to progress to.
Make diamond and mese block deeper to create a depth progression from
mese crystal to diamond, to reflect tool progression.
This all creates a satisfying 2^n depth progression, with lower regions
being at twice the depth of highest levels.
2018-04-12 00:51:56 +01:00
tenplus1 11b3407671 Add food_* groups to default edibles (#2089) 2018-04-04 10:59:15 +02:00
Andrew Ward b0e55c52c8
Add formspec theming, remove sfinv's dependency on default 2018-03-28 18:28:26 +01:00
Ezhh c0557b2c23
Add names for register_decoration 2018-03-18 00:25:16 +00:00
Paramat c2209c120e Add new pine needles texture by Splizard 2018-03-13 20:02:18 +00:00
paramat 160dc21bc1 Pine trees: Add small pine tree and mix into coniferous forests
Use noises to create a varying mix in coniferous forest biomes:
Areas of large pines only, areas of small pines only, mixed areas.
While also having areas of high and low tree densities.
Saplings grow into large or small pines with equal chance.
2018-03-11 00:18:13 +00:00
paramat ac50b3e3ce Icesheet biome: Add 'default:cave_ice' node to enable caves in land ice
Has 'is_ground_content = true'.
Drops 'default:ice'.
2018-03-11 00:18:07 +00:00
paramat 3afcd68e9b Ores: Remove region overlaps. Make some regions deeper 2018-03-05 23:05:59 +00:00
paramat 702070accb Floatland biomes: Add forest, tune beach height 2018-02-27 01:16:43 +00:00
SmallJoker 04a46d0671 Rename intersects_protection to is_area_protected 2018-02-27 01:16:37 +00:00
Ezhh 280f1b1c39 Put y_max above y_min in mapgen registrations (#2051)
Switch y_max and y_min for flowers, fireflies and default
2018-02-25 12:25:34 +01:00
paramat 094ad004a4 Schematics: Various improvements
Acacia bush: Create a unique form different to normal bush, with more
leaf nodes at top than at base.
Acacia tree: Maximum height increased by 1 node. 2 extra nodes of
height variation.
Jungle tree: Add an extra node of height variation. Y-slices moved
downwards to be more balanced between trunk and branches, makes
branches more common.
Pine tree: Increase maximum height by 1 node. Add an extra node of
height variation.

Update sapling 'on place' protection checks for acacia and pine trees.
2018-02-19 07:16:24 +00:00
paramat b90aabec80 Rainforest: Add emergent jungle tree and sapling
Height 20 to 32 nodes.
Dependent on chunksize >= 5.
Base limited to maximum altitude y = 32.
Craft sapling from 9 jungle saplings.
2018-02-19 07:16:16 +00:00
ezhh 1e9c61f241 Kelp: Improve placement/removal and extend selection box 2018-02-07 22:53:35 +00:00
paramat 7f3e9e65b3 Add marram grass for coastal sand dunes
Use noise with 1 octave and flag 'absvalue' to create sand paths
in dunes.
2018-02-07 22:52:26 +00:00
paramat ca81e9b8c6 Coniferous litter: Improve textures
Greyer, lighter, reduce lines, remove dark patches.
Shorter and more consistent side texture.
2018-02-04 02:34:42 +00:00
paramat 8f85ca57f3 Intersects_protection(): Remove from Minetest Game
Add compatibility code with deprecation warning.
2018-02-03 03:46:13 +00:00
paramat a6aa68d5b4 default:dirt_with_snow: Re-add to soil group
Previously, saplings were not growing if the dirt they are on turned to
'dirt with snow' before growth.
Also for consistency with other dirt nodes.
2018-01-23 06:43:40 +00:00
paramat 223562d687 Dry shrub: Use plantlike meshoption for bushy appearence
Adjust selectionbox width for a better fit and consistency with other
grasses.
2018-01-02 22:45:47 +00:00
paramat f52085a40f Biomes: Make coastal grassy dune biomes larger 2018-01-02 22:45:39 +00:00
Ekdohibs bd0c627a20 Furnace: Fix being able to cook items without enough fuel
This was triggered when too much time had elapsed when timer was called.
Also, fix timer resolution giving free fuel time.
2018-01-02 22:41:50 +00:00
ezhh d1ece74652 Resize junglegrass selection box 2017-12-24 20:50:51 +00:00
paramat d1db66bf4f Ferns: Add 3 sizes for coniferous forest biome
Remove flowers from coniferous forest.
Add 'dirt with coniferous litter' to farming mod overrides.
2017-12-24 20:50:44 +00:00
paramat 8ab7c54d76 Biomes: Add 'dirt with coniferous litter' node for coniferous forest 2017-12-24 00:33:21 +00:00
paramat 62d5d5954e Book textures: Reset colour profiles to remove warnings 2017-12-20 20:46:41 +00:00
paramat d603707e1a Dirt sounds: Remove extreme sub frequencies, trim for zero amplitude starts 2017-12-20 20:46:33 +00:00
paramat 21b3c841bd Default texture licenses: Move some to CC BY-SA 3.0. Remove WTFPL 2017-12-11 15:58:32 +00:00
paramat 0c841771a7 Book textures: Replace with more original textures 2017-12-11 15:58:32 +00:00
ezhh ed83e30d68 Default: Make burntimes more rational and consistent 2017-11-27 01:52:02 +00:00
ForbiddenJ b75a17984a Default: Expose open_chests and chest_lid_obstructed 2017-11-27 01:50:37 +00:00
DTA7 a2d7678ffd Add nil checks for placer 2017-11-15 23:16:28 +00:00
paramat 3ae382c913 River water renewability: Add comments to nodes.lua and bucket mod 2017-11-11 21:37:27 +00:00
SmallJoker dbfe435abf Bookshelf: Count written and empty books 2017-11-04 23:43:02 +00:00
paramat 3f14d1012d Footstep sounds: 5 new sounds
Original recording by Ryding.
http://freesound.org/people/Ryding/
Found by Anth0rx, edited by paramat.

Add and use 'default.node_sound_snow_defaults()' function.
2017-10-24 04:21:34 +01:00
Coder12a 045abbd6d7 Books: Convert \r to \n
Some files or editors may use \r instand of \n like notepad++. If you copy
text written in notepad++ and pasted into the book. The book will only have
one page.
2017-10-23 04:39:44 +01:00
James Stevenson 7c3854de27 Chest sounds: Shorten open/close sounds 2017-10-23 04:35:37 +01:00
paramat eb5a5b56e1 Decorations: Add kelp to cool and temperate shallow ocean
Original texture by tobyplowy, colourised by paramat.
2017-10-10 22:57:10 +01:00
paramat 74ed63f46b Ores (non-mgv6 mapgens): New distributions
Make deeper, to compensate for ease of travel using 3D noise tunnels.
Make depth more progressive with value:

Ore, upper limit

Coal 64 no change
Iron 0 no change
Tin -32 > -64
Copper -16 > -128
Gold -64 > -256
Diamond -128 > -512
Mese crystal -64 > -512
Mese block -1024 no change

Make y of 1st density increase deeper but following a similar logic to before:

Ore, upper limit

Coal 0 no change
Iron -64 no change
Tin -128 no change
Copper -64 > -256
Gold -256 > -1024
Diamond -256 > -1024
Mese crystal -256 > -1024
Mese block -2048 new

Add second, denser layer of mese blocks with a decrease of separation and
increase in density equal to mese ore layers.
2017-09-25 15:55:22 +01:00
danielmeek32 f33cc02080 Chests: Fix locked chest protection against explosions (#1886)
Fixes #1885
2017-09-20 20:08:17 +02:00
tenplus1 c5c9e423ca Chests: Fix open chest after player leave (#1884)
This should fix the chest staying open when a player disconnects while inside.
2017-09-20 20:08:06 +02:00
paramat 4ccafd1518 Biome registration: Update due to revert of mgv7 'biomerepeat' option 2017-09-17 06:18:47 +01:00
Hybrid Dog f928780946 Register fence: Allow setting nodedefs to 'false' 2017-08-18 18:46:44 +01:00
rubenwardy 20687a6301 Make ice slippery 2017-08-14 19:06:54 +01:00
TumeniNodes 8817d1c696 default_desert_cobble.png with darker mortar (#1859) 2017-08-13 13:45:39 +02:00
Jens Rottmann d883012491 Trivial: Make furnace info text look nicer
Furnace inactive (Item: Not cookable; Fuel:
Empty)

--> becomes -->

Furnace inactive
(Item: Not cookable; Fuel: Empty)
2017-08-13 00:08:43 -07:00
ForbiddenJ 3294a2a515 Torches: Make liquids drop torches as items
Liquids that are 'igniters', such as lava, will drop the torch without
a flame-extinguish sound, as the torch item will burn up after a few
seconds with a sound and smoke particles.

All other liquids cause a flame-extinguish sound.
2017-08-07 02:38:31 +01:00
paramat 57577596d6 Floatland biomes: Simplify to grassland
Make the placeholder biomes grassland to make the shape of the floatland
terrain more visible.
2017-08-06 01:54:47 +01:00
rubenwardy 5d19fd6923 Separate player code into new mod 2017-08-01 03:57:29 +01:00
paramat 7ffd176f48 Lava cooling: Increase interval to 2
An excessive load has been reported caused by the node searching, so even
when no lava is present.
2017-08-01 03:57:10 +01:00
TumeniNodes 71dff2ac4a Default: Correct dimensions of default_clay_brick.png (#1858)
Resize default_clay_brick.png from 16x17px to 16x16px, as mentioned in issue #1855
2017-07-29 18:09:27 +02:00
elinor-s c81165b2c8 Default: Increase the maximum level of the diamond axe to 3 (#1854)
This is the maximum level of the other diamond tools and makes the
number of uses similar to them.
2017-07-29 18:09:05 +02:00
DS 996f168aa3 Default: Reexport the player model (#1848) 2017-07-26 20:06:29 +02:00
Ezhh 40ed77185e Improve node descriptions (#1834) 2017-07-23 10:26:10 +02:00
paramat 48baf1acb5 Floatland biomes: Update due to mgv7 biomerepeat option
Only register floatland biomes if mgv7 'biomerepeat' flag is false.
Simplify floatland biomes to coniferous forest and ocean.
Make 'mgv7_floatland_level' and 'mgv7_shadow_limit' parameters global
values for mods to use to register their own floatland biomes.
2017-07-22 01:07:06 +01:00
TeTpaAka 886537ef50 Player model: Remove vertical 1 node offset
Required due to the settable player collision box engine feature.
Change for MT/MTG v0.5.0 that breaks compatibility with old clients.
2017-07-21 02:13:09 +01:00
SmallJoker e5189760b3 Default: Expose the formspec getter functions (#1783) 2017-07-16 14:31:34 +02:00
Paramat 1d5bc15f9a Crafting: Remove duplicate reversed recipes (#1777)
For axes and hoes only use one recipe that matches the appearance of the texture and in inventory.
2017-07-16 14:31:21 +02:00
paramat 0cdee1d8f5 Saplings: Reduce grow time to ABM equivalent
Previous times were chosen using statistical maths, but reports suggested
this was too long.
I tested by timing an ABM acting on 100 nodes, with interval and chance equal
to the old sapling ABM.
50 at 4m59s.
99 at 24m58s.
100 at 26m58s.
So choose a grow time between 5 and 25 min for tree and bush saplings.
If 'can grow' is false at grow time the timer is reset to 5 min.
2017-07-08 14:51:03 +01:00
paramat 57979686d9 Mapgen: Completely separate mgv6 ore registrations
This allows us to preserve mgv6 ore distribution while giving us the freedom
to alter ore distribution for other mapgens.
Other mapgens are larger scale and have 3D noise tunnels which make vertical
travel easier, so ores can be deeper.
Other mapgens have registered biomes which allows us to limit ores to certain
biomes.
2017-07-02 11:33:48 +01:00
DS-Minetest 2e413b521a Add backface_culling to open chests and fencegates 2017-07-02 11:32:34 +01:00
paramat bdc09d2313 Floatland biomes: Add ocean biomes to fix missing sandstone
Update biome lists for blob ores.
2017-06-28 11:18:53 +01:00
F.K.Z 2c666891a8 Furnace formspec: Replace deprecated 'current_name' with 'context' 2017-06-28 11:17:40 +01:00
Ezhh 3d1fc42f66 Make sapling, leaves and fence descriptions consistent (#1795) 2017-06-25 11:19:12 +02:00
paramat 120e96938d Chests: Check 'def' of node above chest to avoid crash
In 'chest_lid_obstructed(pos)' check for nil 'def' to avoid a crash caused by
an unknown node above the chest.
2017-06-16 04:11:33 +01:00
red-001 502720b14d Books: Also limit the max size of the title
This limits the max size of the full title of the book to `80` letters and
the size of the part thats displayed in the tooltip to `35` letters.
2017-06-16 04:11:00 +01:00
red-001 b3f17cda9f Books: Limit the size of books
Really large books just waste hard drive space and the engine is not designed to
handle that much data in item metadata, this can cause strange things to happen.
2017-06-14 20:28:40 +01:00
red-001 da7e8e4810 Books: Add nil value checks to the book formspec handler 2017-06-14 20:26:17 +01:00
vorunbekannt75@web.de 626cd8e9c7 Default: Revert "Default: Shorter and better ABMs"
This reverts commit e523c3a296 to re-enable
the overriding and redefinition of these global functions.
2017-06-08 10:35:54 +01:00
sfan5 f855beeda5 Use transparency for unused part of mese post top texture
The color autogeneration algorithm of minetestmapper otherwise
causes this node to appear as solid black.
2017-06-06 12:54:42 +02:00
MrIbby 18956c7f69 Change "Junglewood" to "Jungle Wood" 2017-06-03 11:55:13 -04:00
Michael Bargatin a8a60d33a3 Resize book textures from 16x17 to 16x16 2017-06-03 11:54:39 -04:00
paramat eec1c5a03b Settings: Use new settings object 2017-05-24 07:18:26 +01:00
theFox6 e523c3a296 Default: Shorter and better ABMs (#1739)
Action of some abm's call functions directly, instead of calling the function inside a function.
2017-05-20 14:32:52 +02:00
sfan5 b25317fc64 Remove set_inventory_formspec in default, remove delay in sfinv 2017-05-18 09:54:18 +01:00
Vanessa Ezekowitz d104b9b10f Chest: Redo new chests to use single-tile textures where possible
This keeps the filenames the same, but adds a new "inside" double texture
for the open chest.
Use regular drawtype for closed chest and delete the "cube.obj" model.
X-flip the right-side texture for the closed chest.
2017-05-18 09:45:56 +01:00
tenplus1 63b3542d00 Chests: Revert inventory name
Revert the new 'default:game' inventory back to the old 'main' and use the
lbm to restore the contents of the chest.
Change the name of the conversion LBM to ensure it is run again on already
converted chests.
2017-05-15 13:47:03 +01:00
cx384 5bd44c21ef Change the selection_box of bush stems (#1733)
This is needed because you can't place a node above a bush stem when you are pointing at the bush stem.
2017-05-13 12:49:04 +02:00
Auke Kok c7d558c09e Chest open model: UV map fix.
The back side had a UV mapping issue which caused the bottom
rear part to "shrink" when opened.
2017-05-07 20:47:17 -07:00
Auke Kok 55f81d0802 Fix nil deref issue with people hitting chests too often. 2017-05-07 20:47:17 -07:00
SmallJoker a533434b58 Chests: Keep old textures for mod compability
Prevents generating ugly looking dummy images for mods that weren't updated yet.
2017-05-07 20:46:49 -07:00
Ezhh 08706313f4 Add option to disable lavacooling (#1726) 2017-05-07 18:25:53 +02:00
Auke Kok 011ad78b42 Improve Chest appearance - opening chests.
Adds a mesh model that appears when a chest is opened. The chest
stays visibly open as long as the player keeps it open. When the
player closes the formspec, the chest returns back to the closed
shape. While opening and closing, a sound plays.

A second person inspecting the chest will trigger a second sound
open. However, only after the last player closes the chest, does the
chest actually visually close and is the sound close played. This
keeps mesh updates to a minimum.

While it's possible that a server shutting down may cause chests
to remain open, this does not affect the chests' working matter,
and opening or closing them should fix them.

Old chests are converted to the new style by LBM. I previously
had them converted on open but this was unreliable, and LBMs
don't have that problem.

Open chests cannot be dug up. This prevents people from keeping
a chest open and digging it out as well, since closing a chest
would place a chest back (swap) at the spot. We could protect
against this, but it still messes up the client and causes a lot
of "missing node inventory" error messages otherwise. It's
unlikely but possible that a player lagging out causes a chest
to stay "open" and thus unremovable by digging, but there are
other ways of dealing with that - a server restart fixes that
issue.

If the lid of the chest is obstructed, the sounds continue to play,
but the lid isn't opened. Obstructed means that a node is present
above the chest lid, however, we ignore several node types like signs,
torches (not 3d) and wallmounted nodeboxes (typically signs) since
they don't pose any major obstruction in almost any case, and are
typically found above chests. Additionally, the selection box of the
opened chest does not include the lid, and so one can still interact
with e.g. a sign behind an open lid.

Due to the fact that chests now have 7+ textures, we can no longer
use materials (limit: 6) to texture the chest, and so there is now
a single UV mapped image that applies both to open and closed chests.
While this does mean texture pack makers need to create it, this
is extremely simple and consists of a simple cut'n'paste over the
template and should be really easy to do. Only one texture file is
now then used for both open and closed chests.
2017-05-01 19:36:35 +01:00
Auke Kok 67b13a5942 Fix books getting erased on page button use.
Changing the book page caused the entire itemstack meta to
get wiped due to improper calling of meta:from_table().

Fixes #1711
2017-04-28 21:52:39 -07:00
rubenwardy 2917562728 Fix owner not being checked on write to book 2017-04-27 02:28:23 +01:00
paramat c2d1a5ed4b Tin: Tune mapgen, bugfix, fix texture credits
Previously i had matched ore density to moreores, but this density was
too high and out of balance with MTGame, reduce density to be similar
to copper ore.
The 2 levels of underground ore were overlapping, fix.
Textures are actually by kilbith, update credits.

Also credit kilbith for bronze, copper, gold and steel blocks, credits
had not been updated at the time.
2017-04-23 23:05:31 +01:00