Commit Graph

1710 Commits (7b028667dcf0c11132e04f319df0b4e90e40e59f)

Author SHA1 Message Date
paramat bd4d2dff1c Farming: Add override for default:dirt_with_rainforest_litter 2017-03-15 22:22:21 +00:00
Auke Kok 61d7c43c83 Skeleton key: Change to use left-click (tool on_use)
Instead of right click, the skeleton key is now a true `tool`
in the sense that it's default left-click action is to create
a key for the locked object.

This is far better than the outcome of the patches we've done
where the only way to create a key for a locked item was to
use sneak+rightclick. Now keys are perhaps a bit more sensible,
left for making keys, right for opening stuff with keys.

Fixes #1625
2017-03-15 22:22:21 +00:00
SmallJoker 780f991a87 Sapling_on_place: Restore after_place_node() calls 2017-03-15 22:18:50 +00:00
Auke Kok 1c78fd346d Sethome: Migrate sethome mod to player attributes.
Migrates settings safely and evacuates the `homes` file
entirely over time.
2017-03-15 22:18:36 +00:00
Milan* 70f14fda58 update submodule ethereal 2017-03-15 11:41:51 +01:00
Milan* 464fee1dee fix mergeconflicts 2017-03-15 11:30:00 +01:00
Milan* 37dbcf9d1f update submodule ethereal 2017-03-15 00:34:48 +01:00
Milan* f1a827e17a update submodule illuna_ethereal 2017-03-15 00:34:23 +01:00
Milan* 28b042ee13 update submodule illuna_extras 2017-03-15 00:33:58 +01:00
Fixer da69fcdf91 TNT: Clarify new TNT receipe
Update readme.txt with new TNT crafting recipe.
2017-03-14 19:05:49 +00:00
paramat 37c81f70b0 Textures: New textures for silver sandstone nodes 2017-03-14 19:05:14 +00:00
Auke Kok 7b90044574 TNT: start fire nodetimers for created fire nodes.
Without this patch, any fire created(placed) by tnt explosions
will remain forever on the map.
2017-03-14 19:03:34 +00:00
Milan* 6a65683b5a add submodule fun_caves 2017-03-13 11:42:36 +01:00
Milan* 853aae28c5 update submodule illuna_ethereal 2017-03-13 10:24:27 +01:00
Milan* b3d42c40a8 update submodule illuna_extras 2017-03-13 09:13:29 +01:00
Milan* 626784702a add submodule illuna_extras 2017-03-13 09:13:13 +01:00
SmallJoker b87ef5ccde Keys: Update default.can_interact_with_node to new item meta
Completes a forgotten update in 9d3a526
2017-03-12 12:20:31 -07:00
paramat 07a5fca432 Leafdecay: Register leafdecay for bush leaves 2017-03-12 10:20:26 +00:00
Auke Kok d5e19d70c2 Screwdriver: drop nodes if no longer attached.
This should be fairly cheap and pops off items if needed.
2017-03-12 10:20:19 +00:00
Dániel Juhász efb81d188e Correct rotation of attached nodes, and rotate colored nodes 2017-03-12 10:20:19 +00:00
Auke Kok 297192dd39 Screwdriver: use table lookup for facedir rotations.
The table was generated using the old code. A table lookup
should be faster than lots of math and branches.

Allows us to drop `nextrange()` as well.
2017-03-12 10:20:19 +00:00
Auke Kok f14b0a6ff5 Screwdriver: allow simple wallmounted rotation.
Allows rotating things like signs and torches. Axis rotation
rotates over all 6 faces, face rotation flips upside down to
flat on floor only, and of course in the 4 horizontal directions.

Made the code a bit more modular to account for different rotation
schemes. Should be easier to extend from here on to other needs,
and the functions can be reused by other mods for convenience.
2017-03-12 10:20:19 +00:00
Auke Kok 0850314d74 luacheck 0.19.0 complains about `unpack()`. 2017-03-11 18:38:56 -08:00
paramat ad118ea98d Flint & steel sounds: Fix bugs caused by nil position
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'.
2017-03-10 19:30:18 +00:00
paramat c52ad140ae Mapgen: Use decoration sidelen 16 for jungletrees and junglegrass
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.
2017-03-10 19:28:43 +00:00
paramat 0f0dd0f6e8 Tree schematics: Alter jungletree, aspen, pine, appletree
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.
2017-03-10 19:28:38 +00:00
Milan* 0e35b613d2 update submodules ethereal, illuna_ethereal 2017-03-09 22:47:20 +01:00
Milan* 19c6231abd update submodule ethereal 2017-03-07 20:26:33 +01:00
Milan* d0ec140fd6 update submodule geomoria 2017-03-07 09:20:55 +01:00
paramat 1f6d633037 Ladder recipe: Make wooden ladder recipe more generous
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.
2017-03-07 06:43:44 +00:00
rubenwardy a16413f96c sfinv: Fix wrong tab being highlighted
Thank you to @ForbiddenJ for finding cause of the issue.
2017-03-07 06:43:18 +00:00
tenplus1 6d67badcac Screwdriver: Fix crash
If 'node_box' is nil 'node_box.type' causes a crash.
2017-03-07 06:37:33 +00:00
Diego Martínez 1d45b27c12 Add desert/silver sandstone-related blocks. (#1596)
Add desert and silver sand-related blocks, and stairs.
2017-03-06 19:03:30 -08:00
Milan* 07a4991896 add submodule integral 2017-03-06 22:09:29 +01:00
Diego Martínez 496521f4a1 Fix some warnings.
Also fixes the failing travis checks.
2017-03-05 09:27:53 +00:00
paramat 28ecb3b261 Dungeons: Use 'block' instead of 'brick' for nodebox stairs 2017-03-05 09:27:44 +00:00
Milan* 3c409b6f7a update submodule ethereal, illuna_ethereal 2017-03-04 22:57:56 +01:00
Milan* eb3980906f add submodule geomoria 2017-03-04 13:05:15 +01:00
Milan* 477abb0a24 update submodule illuna 2017-03-03 09:08:27 +01:00
octacian c68b8274fe Show title and author of book in description
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.
2017-02-28 18:16:55 -08:00
Auke Kok 78c632ebd4 Allow interaction with nodes while wielding these items.
- 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.
2017-02-28 18:16:12 -08:00
Milan* 0ec1989737 update submodule illuna_ethereal 2017-02-28 21:50:24 +01:00
Milan* 9c95f8ef5b update submodule illuna_ethereal 2017-02-28 20:59:27 +01:00
Milan* b89dac55dd add submodule bacon 2017-02-28 20:46:15 +01:00
Milan* 18ee108642 update submodules ethereal, illuna_ethereal 2017-02-28 20:39:15 +01:00
paramat d1b132555b Biomes: New surface node for rainforest
Moist rainforest plant litter.
Textures by npx.
2017-02-28 05:32:19 +00:00
octacian 9d3a526324 Keys: Show owner in description
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.
2017-02-27 19:00:14 -08:00
paramat bb18eeccaf Corals: Smaller, less dense reefs 2017-02-25 03:52:31 +00:00
paramat d5f1f964e3 Lavacooling: Return to chance = 2
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.
2017-02-25 03:52:26 +00:00
paramat 1ec31d8472 Torches: Reduce light source level from 13 to 12
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.
2017-02-25 03:52:19 +00:00