- Mar 12, 2017
-
-
Auke Kok authored
-
- Mar 10, 2017
-
-
paramat authored
Usage and tool break sounds were played at 'pointed_thing.above' which can be nil if not pointing at anything or at an entity. This caused sounds to be played to all players on a server non-positionally. Fallback to player pos for sounds if 'pointed_thing.above' is nil. Replace 'pt' variable with 'pointed_thing' in 'register_tool'.
-
paramat authored
Currently jungletrees and junglegrass use sidelen 80 for simplicity, but this results in a more uneven distribution of decorations. A more even distribution helps keep rainforest darker with a more unbroken canopy. This is also more consistent. 80 is based on the default mapchunk size, all other decorations use sidelen 16 or smaller to divide into any mapchunk size.
-
paramat authored
Denser jungletree for darker rainforest: Highest 'jungletree' nodes now prob 255. Add a 5th lower branch layer. Increase lower branch layer y-slice prob to 191. Aspen: Extend trunk upwards by 1 node to reduce leafdecay radius to 2. Pine: Make lower trunk 1 node longer so that lowest branches are more often higher off the ground, also to make pines taller. Appletree: Make 2 opposite branches prob 255, the other 2 prob 127, to avoid trees with 1 or 0 branches. Therefore also add random rotation.
-
- Mar 07, 2017
-
-
paramat authored
Increase to 5 ladders from 7 sticks. More generous to help with vertical travel. Divide the log core volume of 14 * 14 * 16 cubic pixels by the volume of a ladder node with two 2 * 2 * 16 side pieces and four 2 * 1 * 16 rungs (cut down to length 14), to get 12.25 ladders per log. The recipe of 7 stick items is 7 / 16 = 0.4375 logs. Ladders per 7 stick items = 0.4375 * 12.25 = 5.36.
-
rubenwardy authored
Thank you to @ForbiddenJ for finding cause of the issue.
-
tenplus1 authored
If 'node_box' is nil 'node_box.type' causes a crash.
-
Diego Martínez authored
Add desert and silver sand-related blocks, and stairs.
-
- Mar 05, 2017
-
-
Diego Martínez authored
Also fixes the failing travis checks.
-
paramat authored
-
- Mar 01, 2017
-
-
octacian authored
Utilizes the new key-meta (as with nodes) and the ability to set the description of an itemstack with the `description` meta key. Includes code to convert old metadata to new key-meta.
-
Auke Kok authored
- beds - boats - carts - key/skeleton key - seeds All these had on_place handlers that did not allow nodes with an on_rightclick() handler to be used first (if not using sneak). This code is taken from the torches mod and applied everywhere. This allows all these items to e.g. be inserted into the `frame` mod's item frames.
-
- Feb 28, 2017
-
-
paramat authored
Moist rainforest plant litter. Textures by npx.
-
octacian authored
Utilizes several new features allowing the description of an item to be changed using the `description` meta key. This also moves keys from using the old single-value itemstack metadata system to the new node-like metadata system.
-
- Feb 25, 2017
-
-
paramat authored
-
paramat authored
Return to previous parameters interval = 1, chance = 2. Compensates for the increase in default active block radius. Large amounts of lava cooling at once is known to overload sound creation, producing error messages.
-
paramat authored
As part of the original plan for a new lightcurve. With the old lightcurve lights were so dim all light sources had light source level 13 or 14 to compensate, resulting in almost no difference between torchlight and a maximum brightness light. The new lightcurve makes all light sources effectively much brighter by spreading visually-bright light further, torches are now slightly too bright. So now we can reduce the light source level of torches while actually making them effectively brighter than with the old lightcurve. This also creates a desirable difference between torchlight and a maximum-brightness light source.
-
MarkuBu authored
This implements a node-timer based leafdecay mechanism, and exposes an API to use it in mods. The API is documented in game_api.txt. `default.register_leafdecay(leafdecaydef)` `leafdecaydef` is a table, with following members: { trunks = { "default:tree"}, -- nodes considered trunks leaves = { "default:leaves", "default:apple"}, -- nodes considered leaves radius = 3, -- activates leafdecay this far from the trunk } The algorithm will drop `leaves` items in the area if no `trunks` are found in the `trunk_radius` sized area around the position of the leaf. If a node listed in `leaves` has a group `leafdecay_drop > 0`, then the item is dropped, otherwise the item is removed but not dropped. The algorithm also implements a value `default.leafdecay_speed` (default 15) which can be modified to increase or decrease of the leaf decay. The algorithm will vary the actual speed a bit to introduce randomness. Leaf decay is randomized by 0.1 seconds to reduce the chance that decay happens many times on the same second interval. This requires nodetimer_interval to be set to values lower than 1.0 to have an effect. The leaves will decay between 2 and 10 seconds after digging the trunk, and happen at non-integer second intervals. -- The API was added by sofar.
-
- Feb 21, 2017
-
-
Thomas--S authored
* rename to default.can_interact_with_node() * pass pos instead of meta * change order of arguments
-
- Feb 12, 2017
-
-
SmallJoker authored
-
paramat authored
Plantlike drawtype no longer applies 'visual scale' twice, so now we use the actual scale factor desired. Remove unnecessary 'visual_scale = 1.0' lines.
-
octacian authored
Avoid z-fighting visible from below. Raise the nodebox base 1/64th of a node.
-
- Feb 11, 2017
-
-
rubenwardy authored
-
- Feb 09, 2017
- Feb 02, 2017
-
-
paramat authored
Now that biomes are being specified for blob ores we need a separate set of blob ore registrations for mgv6 which has no Biome API biomes defined. Various minor improvements to mapgen.lua.
-
- Feb 01, 2017
- Jan 27, 2017
-
-
rubenwardy authored
-
- Jan 26, 2017
-
-
paramat authored
-
number Zero authored
-
rubenwardy authored
-
- Jan 22, 2017
-
-
paramat authored
Now that the missing 'default_dig_snappy' sound has been added we can remove the dirt dig sound from the table. All nodes that use the leaves defaults table have group 'snappy' so 'default_dig_snappy' now becomes their default dig sound.
-
Martin Doege authored
Removes the "iCCP: known incorrect sRGB profile" error messages on the console when starting minetest_game by stripping offending color profiles.
-
- Jan 20, 2017
-
-
Auke Kok authored
-
- Jan 16, 2017
-
-
Auke Kok authored
This reverts commit 5e4a6e8a, and commit 60cf3f85. The original door API rewrite I posted had all rotation disabled using the correct on_rotate() handler returning `false`. Two subsequent changes attempting first to enable simple rotation and second disabling that again changed the callback handler to a boolean `false`, which is incorrect use in the screwdriver API, and actually allows rotation. The proper way to disable rotation for facedir nodes it to use a full callback handler that does `return false`.
-
- Jan 15, 2017
-
-
paramat authored
-
Lars Hofhansl authored
TNT removes flammable nodes from the destruction radius and should remove flames within it too because they lose their fuel and would be removed by ABM later anyway.
-
- Jan 12, 2017
-
-
Baptiste Pouget authored
-