Commit graph

1383 commits

Author SHA1 Message Date
Milan*
24a7814c2c add submodule sneak_glitch 2017-09-02 23:05:11 +02:00
Milan
3c307a4383 update submodule moreblocks 2017-08-04 17:15:31 +02:00
Milan*
c3c9a92035 update submodule homedecor_modpack 2017-08-03 23:02:47 +02:00
tchncs
732154e4e0 update submodule darkage 2017-05-15 11:12:00 +02:00
Milan*
e8b2d29012 update submodule moretrees 2017-03-15 08:32:48 +01:00
Milan*
138bb6de3d update submodule mobs_redo 2017-03-12 18:16:23 +01:00
tchncs
640c518c1a replace submodule mobs_redo 2017-03-12 18:10:41 +01:00
tchncs
f431e56cd9 add submodule inspector 2017-03-12 17:24:25 +01:00
Milan*
38320f8ebb update submodule illuna 2017-03-12 16:35:47 +01:00
Milan*
98e64b823e update submodule farming 2017-03-12 12:34:24 +01:00
Milan*
64f4f5c05f update submodule farming 2017-03-12 11:59:56 +01:00
Milan*
60dfd9087b update submodule darkage 2017-03-12 11:57:05 +01:00
Milan*
5d524af1ea re-add submodules farming, boats 2017-03-12 11:32:09 +01:00
Milan*
a41c96b2ac tmp remove boats, farming 2017-03-12 11:30:37 +01: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
Milan*
d9446e98be add submodule moretrees
this also updates moretrees on the server
2017-03-11 21:21:54 +01:00
Milan*
538896d3ee add submodule moreores 2017-03-11 21:19:47 +01:00
Milan*
18d1a9d2fb add submodule mini_sun 2017-03-11 21:17:47 +01:00
Milan*
4998cc8765 add submodule medieval_craft
this also updates medieval_craft on the server
2017-03-11 21:16:03 +01:00
Milan*
700a62c22d add submodule xconnected 2017-03-11 21:14:31 +01:00
Milan*
68fcbfcf9e add submodule christmas_craft
this also updates christmas_craft on the server
2017-03-11 21:13:11 +01:00
Milan*
9e7bcacdf2 add submodule character_creator
this also updates character_creator on the server
2017-03-11 21:09:12 +01:00
Milan*
46c2516c93 add submodule cannons 2017-03-11 21:08:06 +01:00
Milan*
70b00efd1c add submodule bridges 2017-03-11 21:06:30 +01:00
Milan*
a5f735581c add submodule bitchange 2017-03-11 21:03:50 +01:00
Milan*
87acf37fa6 add submodule biome_lib
this also updates biome_lib on the server
2017-03-11 21:02:31 +01:00
Milan*
7c867746e8 add submodule arrow_signs
this also updates arrow_signs on the server
2017-03-11 21:01:30 +01:00
Milan*
f82c07f45d add submodule pipeworks
this also updates pipeworks on the server
2017-03-11 21:00:07 +01:00
Milan*
6d38b85d15 update submodule mesecons 2017-03-11 20:14:53 +01:00
Milan*
0027981e11 add submodule mesecons 2017-03-11 16:26:58 +01:00
Milan*
a4ccae425f update submodule xdecor 2017-03-11 16:22:21 +01:00
Milan*
859e4905d5 update submodule worldedit 2017-03-11 16:15:51 +01:00
Milan*
6b31849f87 update submodule wine 2017-03-11 16:15:29 +01:00
Milan*
f02147dc93 update submodule mobs_redo 2017-03-11 16:13:55 +01:00
Milan*
854157fdcd update submodule mobs_monster 2017-03-11 16:13:20 +01:00
Milan*
c69bf1db91 update submodule mobs_animal 2017-03-11 16:08:10 +01:00
Milan*
dec211728c update submodule hemp 2017-03-11 15:58:36 +01:00
Milan*
059eb33720 update submodule craftguide 2017-03-11 15:57:03 +01:00
Milan*
3fee3fb7ad update submodule 3d_armor 2017-03-11 15:55:47 +01:00
Milan*
a51503382e re-add submodule boats+farming 2017-03-11 13:11:53 +01:00
Milan*
c836129bff solve mergeconflicts
* tmp drop farming+boats
    * correct tnt
    * drop original readme.txt
2017-03-11 13:09:43 +01: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
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