Commit Graph

1077 Commits

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