Commit Graph

1331 Commits

Author SHA1 Message Date
Paramat ee72bc722c
Boats: Use driver name string instead of objectref 2018-07-15 21:50:07 +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
Paramat 5c8bd34957
Boats: Properly use 'dtime' for consistent responsiveness
Previously, boat responsiveness varied greatly depending on server
lag and singleplayer / multiplayer.
'dtime' is the time from the last execution of the boat entity
'on step' function, so must multiply acceleration and yaw change.

Retune acceleration, turn rate and drift deceleration.

Make reversed turn only happen with significant backwards speed.
2018-07-07 21:00:31 +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 ecea5364f1 Update carts from boost_cart
Better pathfinder algorithm, allows tuning the lag spike compensation.
Smoother movement (when it's laggy).
Set the player animation to stand on attach.
Remove driver when they leave.
Only update velocity when it's necessary.
2018-07-07 02:08:36 +01:00
Paramat 59dbeebc2f
Boats: Add cruise mode (boat autoforward)
Document controls in README.txt.

Optimise 'get yaw' and 'set yaw' code.
2018-07-03 19:52:28 +01: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
Ezhh 0df2753a68
Make hidden fireflies floodable 2018-06-25 21:29:24 +01:00
Ezhh 0ea6065a09
Add butterflies mod 2018-06-25 21:28:39 +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
Ezhh e9fbd3d75d Add longer log schematics
These use 'spawn_by' to avoid steep slopes.
2018-06-15 07:25:43 +01:00
Paramat abe1b9f559
Spawn mod: Also reposition players on respawn
To avoid respawn position being possibly very distant from new player
spawn position.
2018-06-07 04:14:56 +01:00
Jacob Gustafson e376d57bd2 Add optional bones messages for player and log 2018-06-02 09:54:45 +02:00
Paramat 37b206e49f
TNT: Raise cost of TNT by adding a TNT stick crafting stage
6 gunpowder and 1 paper crafts to 2 TNT stick craftitems.
9 TNT sticks craft to 1 TNT.
TNT stick is not yet usable as an explosive, possibly later.
2018-06-01 23:41:45 +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
Ezhh 145b7bfef3
Place hidden instead of visible fireflies on mapgen 2018-05-25 22:33:03 +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 0b025e6392
Add 'spawn' mod to spawn new players in suitable starting biomes (#2091)
Disabled in mgv6 and singlenode mapgens, by setting, or if
'static_spawnpoint' is set.

Cleanup format of minetest.conf.example.
2018-04-13 02:21:43 +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
sofar 8c71f3d826 Prevent divide by zero (#2106)
This forces all explosions to damage entities within the 1 node
range. If that needs to be disabled, the damage_radius needs to
be set to 0.
2018-04-08 17:57:00 +01:00
Paramat 9c459e77ac
Farming: Deprecate bronze, mese and diamond hoes. Tune steel uses (#2103)
Remove unnecessary "air" fallback recipe for hoes to avoid this showing
in crafting guides.
2018-04-08 17:55:19 +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
Paramat f3ce25fc72
Xpanes: Description 'Iron Bar' -> 'Steel Bars' 2018-03-28 12:09:44 +01:00
sfan5 7e9000b502
Fix creative mode check again 2018-03-25 14:05:25 +02:00
sfan5 fb0217042b Fix creative mode check in fireflies mod 2018-03-25 13:47:20 +02:00
Ezhh 465d8cae3e
Hide fireflies during day time 2018-03-22 20:33:54 +00: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
ezhh d4a007c051 Fireflies: Reduce density in non-mgv6 mapgens 2018-03-05 23:08:29 +00:00
paramat 1afb8f249e Creative: Fix width of arrow textures 2018-03-05 23:06:15 +00:00
paramat 3afcd68e9b Ores: Remove region overlaps. Make some regions deeper 2018-03-05 23:05:59 +00:00
ezhh c2001b3b52 Fireflies: Add dedicated mgv6 register_decoration 2018-02-27 01:17:43 +00:00
paramat 63ebdfd139 Waterlily: Place as Y-offset simple decoration 2018-02-27 01:16:48 +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
paramat 70d91bc64d Revert "Boats: Prevent entering 'ignore' nodes"
This reverts commit 7754555707.
Due to recent engine commit boats now collide with 'ignore' nodes.
2018-02-26 18:47:18 +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
Tim 283636bfdb Bones: Iterate player inventory lists dynamically (#1229)
Avoid hard-coded player inventory lists.
Expose `bones.player_inventory_lists` for mods to look up or change,
which player inventory lists are being dropped or placed into bones.
2018-02-20 19:15:03 +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
paramat 495fa32873 Flower spread: Only spread to the same surface node 2018-02-17 09:37:27 +00:00
paramat 7754555707 Boats: Prevent entering 'ignore' nodes
At world edge make boat bounce back into world by inverting speed.
At world base avoid falling into ignore by setting y velocity to 0.
2018-02-17 09:37:22 +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 a587972010 Flower spread ABM: Optimise
Match maximum spread density to maximum mapgen density for flowers.
Place 3 flora nodes at once instead of 1.
Change ABM chance value to 300 to match previous spread rate.
ABM becomes 3 times less intensive.
2018-02-04 02:34:36 +00:00
paramat d5907d5f1e Doors: Avoid crash on nil player in 'can dig door' 2018-02-03 03:54:03 +00:00
ezhh 12f1703537 Add fireflies mod 2018-02-03 03:53:03 +00:00
paramat 8f85ca57f3 Intersects_protection(): Remove from Minetest Game
Add compatibility code with deprecation warning.
2018-02-03 03:46:13 +00:00
TumeniNodes 496a1a24d2 Add obsidian_pane (#2035) 2018-01-31 20:53:49 +01:00
Jat15 5f121b586d Stairs: unbind table groups (#2036)
Unbind table groups for base block, stairs, slabs.
2018-01-31 20:49:27 +01:00
paramat ee6d2f2468 Dungeon loot: Reduce maximum processed rooms to 8 2018-01-23 06:43:49 +00:00
paramat 41a4073d4c Creative: New textures for less distortion
Use 128px textures with a slight blur to reduce distortion caused
by formspec texture scaling.
Cross is shifted slightly up and left to compensate for formspec
button image shift.
2018-01-23 06:43:46 +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
MarkuBu faa088e2c5 Xpanes: Add optional 'use_texture_alpha' parameter to registration 2018-01-02 22:43:42 +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
Diego Martínez 5b57815af1 creative: Add missing tooltips. 2017-12-22 22:57:24 +01:00
Diego Martínez dfe74948e2 creative: Use icons for buttons. 2017-12-22 22:57:24 +01: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
Reedych 5134510356 Replace setpos with set_pos in sethome 2017-12-16 05:10:35 +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
paramat 0132bfe41e Stairs: Improve inner/outer stair descriptions. Code cleanup 2017-12-11 15:58:25 +00:00
paramat 2824e4bb7c Binoculars: Update to use 'zoom_fov' player property
In survival mode, zoom is disabled, the binoculars item is needed to
allow a zoom with a 10 degree FOV, realistic for compact binoculars.

Creative mode or per-player creative privilege allows a zoom with a
15 degree field of view (the default MT engine zoom FOV).
2017-12-04 02:54:20 +00:00
ezhh ed83e30d68 Default: Make burntimes more rational and consistent 2017-11-27 01:52:02 +00:00
paramat 2c5670563a Flowers: Add black tulip, green chrysanthemum
Adds a direct resource of green dye, and a flower resource of black dye.
Completes the colour sequence: red, orange, yellow, green, blue, violet.
Makes all base dyes cultivatable and sustainable, without the presence
of coal.

Add the new flowers to the world with the same density variation as the
others, but obviously with different noise seeds. Results in more flowers
in a world and more variety of flower combinations.
2017-11-27 01:51:33 +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
raymoo 8b5ad0f028 Creative: Make the placenode registration check for non-player placers 2017-11-11 21:34:30 +00:00
raymoo 319b9eeeaf Creative: Make handle_node_drops override work for non-player diggers 2017-11-11 21:34:05 +00:00
paramat d4e1bd053e Player API: Set eye height property for new player model
Correct the collisionbox height.
2017-11-06 15:40:14 +00:00
paramat 9d9e9b6709 Stairs: Set world-aligned textures for all stairs and slabs
Fix 'stair_images' code to avoid 'stair_images' being empty in some
situations.
Change stairs back to nodeboxes to make world-aligned textures work.
2017-11-04 23:43:30 +00:00
SmallJoker dbfe435abf Bookshelf: Count written and empty books 2017-11-04 23:43:02 +00:00
paramat 08c60cfc30 Binoculars: Only set property if necessary to reduce mesh reloading 2017-11-03 16:26:00 +00:00
paramat 9596d00a18 Player model: Remove vertical stretch of body and limbs, remove cape
Previously, body and limbs were stretched vertically by 1.125, creating
rectangular pixels on side faces. Head was unstretched.
Remove stretch of body and limbs, leaving the head unchanged.
No other change would excessively shorten the model, so also scale up
the model slightly, by * 1.05, such that the reduction factor for height is
equal to the increasing factor for width. This minimises the changes to
height and width.

Remove cape support.

Update the collisionbox to match.

Add missing license.txt.
2017-11-03 16:25:54 +00:00
sfan5 49cc4c7c63 Add loot to dungeons (#1921) 2017-10-27 13:34:41 +02:00
paramat 36df80fc45 Binoculars / Map mods: Clarify key-activation of items in descriptions
Map mod:
Tune cyclic update interval.
Re-add HUD flags update on item 'use'.
2017-10-24 07:34:15 +01: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
SmallJoker 454e0da531 Carts: Better wiggle prevention 2017-10-23 04:38:43 +01:00
SmallJoker 5870fd48f6 Carts: Replace old, deprecated function names 2017-10-23 04:38:28 +01:00
SmallJoker 47d6fbf884 Creative: Cache inventory items on load 2017-10-23 04:37:10 +01:00
James Stevenson 7c3854de27 Chest sounds: Shorten open/close sounds 2017-10-23 04:35:37 +01:00
paramat cc371ac726 Add binoculars mod with binoculars item to allow zoom
Uses the new player object property 'can zoom'.
In survival mode, use of zoom requires the binoculars item in
inventory.
Zoom is automatically allowed in creative mode and for players with
the 'creative' privilege.
The binoculars.update_player_property() function is global so can be
redefined by a mod for alternative behaviour.
2017-10-13 05:32:18 +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
tenplus1 3ff296961e TNT: Add tnt.boom defaults
This adds def, def.radius and def.damage_radius defaults to the
tnt.boom() function if they aren't specified on call.
2017-10-10 22:55:49 +01:00
Lars Hofhansl 12a971660d Creative: Do not give creative priv to admin 2017-10-07 18:48:18 +02:00
paramat b6626f76b5 Map mod: Remove confusing 'use', reduce update interval
Clarify README.txt.
2017-10-03 02:59:55 +01:00
paramat e40f25f1fb Minimap: Add 'map' mod with mapping kit item to enable minimap
In survival mode, use of the minimap requires the mapping kit item.
Minimap radar mode is always disabled in survival mode.

Minimap and minimap radar mode will be automatically enabled in creative mode
and for any player with the 'creative' privilege.

The 'map.update_hud_flags()' function is global so can be redefined by a mod for
alternative behaviour.
2017-10-02 21:23:55 +01:00
SmallJoker 3611af1dda Bones: Return bones when taking the last ItemStack 2017-10-02 11:01:01 +02: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
tenplus1 2d8207a924 Flowers: Add waterlily right-click checks
Check for on_rightclick functions of nodes when holding a waterlily.
2017-09-25 15:58:59 +01:00
rubenwardy a4b94a3347 Sfinv: Remove possibility of infinite loop when homepage doesn't exist 2017-09-25 15:57:55 +01:00
rubenwardy db08c0d721 Sfinv: Rename navigation tabs to reduce chance of a conflict 2017-09-25 15:57:11 +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
sfan5 bf8404fcf7 Doors: Same prediction change for trapdoors
Forgot this in the last commit, thanks @Fixer-007
2017-09-12 00:28:29 +02:00
sfan5 edba1dcb02 Doors: Disable client dig prediction for protected doors 2017-09-11 21:35:28 +02:00
tenplus1 fe67ffda7c TNT: Add explode_center flag
Add 'explode_centre' flag which when false explodes as normal and when true runs on_blast on centre node as well as dropping items.
2017-08-26 22:14:44 +01:00
tenplus1 bcf98df5fa Mushroom spread: Optimise and make overridable
Move mushroom spread ABM action into a global and overridable function.
Optimise spread code.
Reduce spread range to reduce spread through walls.
2017-08-25 23:07:19 +01:00
paramat 08727bcd69 Farming: Make cotton look like cotton, add crafted string item
Remove string -> cotton alias.
2017-08-18 18:48:25 +01:00
Hybrid Dog f928780946 Register fence: Allow setting nodedefs to 'false' 2017-08-18 18:46:44 +01:00
tenplus1 bb084294ce TNT: Allow a custom explosion sound to be used 2017-08-18 18:41:15 +01:00
rubenwardy 20687a6301 Make ice slippery 2017-08-14 19:06:54 +01:00
Rui b431ae1c77 Carts: Fix player position (#1872) 2017-08-13 13:47:13 +02:00
Rui fe710c99a6 Boats: Fix player position (#1871) 2017-08-13 13:47:01 +02:00
tenplus1 c5e97867f3 TNT's tnt:boom cleanup (#1868)
The tnt:boom node doesn't actually need the on_construct and on_timer functions to remove the node after 0.4 seconds as the tnt_explode function already does this beforehand.
2017-08-13 13:46:30 +02: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
SmallJoker 67c01a44c2 Beds: Do not crash when placing in an unknown node 2017-08-10 10:08:24 +02:00
paramat 77c9408721 Player API: Integrate settable player step height
Split some long lines.
Some nearby code cleanup.
2017-08-09 11:27:37 +01: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
paramat b4abb07572 Player_api: Integrate settable player collisionbox 2017-08-06 01:54:47 +01:00
danielmeek32 271b2befaa Player API: Apply model default textures when passing nil to 'set_textures' 2017-08-06 01:53:53 +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
SmallJoker 8f1f3760f0 Carts: Check for last pathfinder predition too
Minor fix to reduce cart jitter slightly
2017-07-30 19:55:36 +02: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
SmallJoker fa4c77feba TNT: Only burn visually connected powder (#1857) 2017-07-29 18:09:15 +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
SmallJoker a1d35f3d69 Creative: Prevent unauthorized item access (#1840) 2017-07-22 20:16:25 +02:00
Ezhh c2f3c99cad Correct farming/stairs dependency (#1838) 2017-07-22 16:11:40 +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
Fixer 1aafcdd7e0 Stairs: Add tin block stairs and slab 2017-07-08 14:51:24 +01: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
TumeniNodes b66a61a10f Stairs: Add inner and outer corner stairs
With thanks to MarkuBu for the original PR and GreenXenith for the stair models.
2017-07-08 14:50:17 +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
Foz 0f7d0bfd7a TNT: Track TNT owner in metadata for protection mods
It is useful for protection mods to know who owns an exploding
TNT block. This allows the blocks destroyed by the TNT to be
limited to the same ones the owner could destroy without using
TNT.

TNT placed within a protected area by the area owner, and later
ignited by another player will destroy within the protected area
nodes the igniter may not otherwise be able to interact with. Any
player could significantly increase the size of an explosion by
placing more TNT in an adjacent unprotected area if the original
TNT block was placed withing 1 node of such a boundary. This
feature sounds dangerous, but we are talking about TNT. Players
should use it carefully.
2017-07-02 11:30:39 +01:00
SmallJoker c51ebcb74a Carts: Do not connect rails with gunpowder (#1812) 2017-07-02 10:32:10 +02:00
paramat bae17cd88c Flowers: More flowers 2017-07-01 04:29:49 +01:00
Johannes Fritz 7b46d3b6af Stairs: Add backface culling to stair meshes
If backface culling is not specified for a tile in 'images' it is set to true.
Slabs already have backface culling due to being defined as nodeboxes (which
are then converted to meshnodes).
2017-07-01 04:22:11 +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
John Cole 36d024a716 Allow mossy cobble slabs to combine (#1791) 2017-06-22 20:38:02 +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
tenplus1 0157175346 Creative: Add 'creative' privilege for survival servers
This adds a 'creative' privilege to survival servers which OPs can bestow
on admin or competent builders to give access to the creative inventory.
2017-06-14 20:47:11 +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
ezhh 15ba96467d Descriptions: Make capitalization consistent 2017-06-14 20:26:33 +01:00
red-001 da7e8e4810 Books: Add nil value checks to the book formspec handler 2017-06-14 20:26:17 +01:00
paramat 175a9f8ff5 Stairs: Use one recipe matching inventory appearence
No longer have 2 recipes for stairs, choose the one that matches the appearence
in inventory (stair rising toward the right).
Helps to reduce recipe count now that an increasing number of stairs are
being registered.
2017-06-14 20:26:17 +01:00
Wuzzy b91e047868 Stairs: Allow crafting slabs and stairs into full blocks again 2017-06-14 20:25:26 +01:00
DS-Minetest 7e9c5a3576 Doors: Avoid white particles when digging wooden trapdoor
Alter the wooden trapdoor side texture, replacing the white area with a
repetition of the wood pixels.
It is now consistent with the steel trapdoor side texture.
2017-06-08 15:52:31 +01:00
paramat c714d43319 Flowers: New texture for yellow dandelion
Derived from the white dandelion texture.
Uses the flower head colours of the previous yellow dandelion.
2017-06-08 15:52:00 +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
ezhh 758d5010b8 Fire: Disable fire by default in multiplayer 2017-05-15 17:39:59 +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
sfan5 6737952fbf Fix merging mistake (crash in "stairs") 2017-05-01 21:26:10 +02:00
Tim 519d166ce3 Stairs: Add snowblock and ice stairs and slabs 2017-05-01 19:48:54 +01:00
Fernando Carmona Varo be9121214c TNT: Gunpowder (and tnt.burn) will trigger the on_ignite of nodes
The previous behaviour is kept as fallback for compatibility, for when the on_ignite
is not defined in the node.
2017-05-01 19:38:38 +01: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 4ec0fd974b Doors: place sound when placing a door.
Due to door items being the thing that's placed, we need to
explicitly play a sound when placing a door.

Fixes #1363
2017-04-28 21:52:59 -07: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
Auke Kok ae7206c006 Remove dye craft recipe conflict.
We have enough gray recipes, but brown is more difficult.

Fixes #1710
2017-04-26 20:19:59 -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