Commit Graph

1225 Commits

Author SHA1 Message Date
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