Commit Graph

1201 Commits

Author SHA1 Message Date
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
bertrandda
91997d9342 README: Update minetest.net downloads link to avoid redirection 2017-11-11 21:35:56 +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