96 Commits

Author SHA1 Message Date
Ekdohibs
d80181f86a Add trigger = 1 group to all nodes that can send triggers or untriggers. 2017-09-10 21:45:41 +02:00
Auke Kok
7e75d8c405 Break long lines (luacheck) 2017-09-09 23:36:11 -07:00
Auke Kok
e4526eebd6 Pumpking and Melon nodes. 2017-09-09 22:37:46 -07:00
Auke Kok
0fb6650ed7 Another rock variant. 2017-09-09 22:33:29 -07:00
Auke Kok
b440edd654 Furnaces, on and off, cosmetic nodes. 2017-09-09 22:31:29 -07:00
Auke Kok
c33263774d Workbench-like node. Can be rotated. 2017-09-09 22:17:21 -07:00
Auke Kok
2ba7a630c8 Bedrock node set. 2017-09-09 22:11:49 -07:00
Auke Kok
8161fb5173 Bookshelf node - cosmetic. 2017-09-09 22:05:33 -07:00
Auke Kok
22c2d50362 Allow rotation of flowerpots. (simple) 2017-09-09 17:23:56 -07:00
Auke Kok
46bc34291a Bugfix: don't call the function during node creation. 2017-09-09 17:23:37 -07:00
Auke Kok
d6f8842f00 Fix missing group bits for all nodes. 2017-09-09 15:35:56 -07:00
Auke Kok
2086a25da0 Increase drowning speed/damage. 2017-09-06 23:37:26 -07:00
Auke Kok
1b1770105e Nodeboxes need paramtype = "light" 2017-05-01 21:59:33 -07:00
Auke Kok
dbb0d7ee91 Snow ledge node.
Can always be dug by the player (hide stuff under it!) by
hand. Falling node. No items are given to the player that
digs it.
2017-05-01 21:52:58 -07:00
Auke Kok
a9361f85b5 When placing falling nodes, preserve placeable meta.
This works for falling nodes and digging. You can now always
dig, place falling nodes and preserve the placement spot,
and new nodes can always be placed later at all times.
2017-04-25 00:15:51 -07:00
Auke Kok
f05cdd3383 Make fences connect to wood stuff properly again. 2017-04-23 20:25:42 -07:00
Auke Kok
efcde15171 Placement particle: extend duration slightly
removes jittery flashing due to lag variation, in most cases these
particles should now appear to always be there and not flicker once
in a while.
2017-04-23 17:06:33 -07:00
Auke Kok
49c331f74e When placing a breakable node, call nodeupdate. 2017-04-23 16:01:10 -07:00
Auke Kok
07e8706acd Use airlike instead for barrier. 2017-04-15 20:10:01 -07:00
Ekdohibs
a79a117e32 Add nodes that can't be pushed by pistons, use them for box walls. 2017-04-12 03:40:25 +02:00
Auke Kok
b695325267 Make falling on a barrier node deadly. 2017-04-08 23:36:26 -07:00
Auke Kok
da3383e79f Remove debugging print I left behind. 2017-04-02 00:39:59 -07:00
Auke Kok
19c21e00b9 Carpet: allow placing on walls, pass through light. 2017-04-02 00:34:38 -07:00
Auke Kok
f64f07d5b2 Add carpets, and fix all wool texture escapes.
Also adds cloth sounds.
2017-04-02 00:28:10 -07:00
Auke Kok
ad8ce0baf6 Fix nodes being diggable. 2017-04-01 20:57:06 -07:00
Auke Kok
2fa786f21b Propagate 'stone' group where needed for walls. 2017-03-31 22:47:17 -07:00
Auke Kok
88c49311c0 Connect walls to stone nodes everywhere. 2017-03-29 22:24:39 -07:00
Auke Kok
98d79c984b Make fences connect to wood stuff only. 2017-03-29 22:22:30 -07:00
Auke Kok
003cc38c21 Sounds: move them into sounds mod, add electric humm for mech.
Most of the active mech nodes now make the humming sound, which
is very low key but still audible.
2017-03-28 21:35:24 -07:00
Auke Kok
d5e8df72ec Mushrooms. 2017-03-28 20:38:09 -07:00
Auke Kok
a480db099e Better lily placement code. 2017-03-23 22:45:48 -07:00
Auke Kok
3e2625b562 Section for wool for separation. 2017-03-23 22:12:11 -07:00
Auke Kok
f80e7a6a74 Make torches and some other stuff flood, buildable_to. 2017-03-23 22:11:50 -07:00
Auke Kok
1579a34711 luacheck cleanups. 2017-03-23 11:15:46 -07:00
Auke Kok
ef96af9a02 Rustling leaf sounds for trees. 2017-03-23 00:24:59 -07:00
Auke Kok
33f138578f Flowing water sounds.
Works like the fire node sounds.
2017-03-23 00:11:42 -07:00
Auke Kok
9a5483da70 Prevent torches from impeding any liquid.
This also prevents torches placed adjacent to liquids, but it's
cheap this way.
2017-03-22 21:31:23 -07:00
Auke Kok
39232b69ea Fire sounds.
Attempts to make a lightweight abm that avoids placing fires for
every single node, while still making lots of fire sounds.

Seems to work relatively well thus far.
2017-03-10 23:03:08 -08:00
Auke Kok
443b3c5543 Lava bubbles and smoke particles for torch/flame nodes. 2017-03-10 21:59:13 -08:00
Auke Kok
df05d18488 Lava cooling ABM. Adds obsidian.
Obsidian forms when water splashes on top of a lava source,
all other ways only breakable(!) cobble is formed. Water must
be directly adjacent (not diagonal!) to the lava node.
2017-03-08 23:38:27 -08:00
Auke Kok
0ed7ebdf99 Handle param2 for facedir/wallmounted of breakable nodes on place. 2017-03-07 13:15:39 -08:00
Auke Kok
cb328bba79 Un-local second meta get. 2017-02-27 22:51:51 -08:00
Auke Kok
94bd1a1d35 Preserve placeable info on dig & place.
Allows players to always re-dig and re-place any node they
can obtain in a box, at any location that was valid before.
2017-02-27 21:36:10 -08:00
Auke Kok
7eaad2b84d Simplify breakable node markers.
The player particles work as well for builders.
2017-02-27 19:20:53 -08:00
Auke Kok
4867d1e403 Make wall accessories (button/lamp/switch) unwalkable. 2017-02-27 14:24:14 -08:00
Auke Kok
14ce2107ff Fix leaves. 2017-02-26 17:48:37 -08:00
Auke Kok
9e60127666 Consolidate tree nodes into one loop. 2017-02-26 16:40:49 -08:00
Auke Kok
fce10abef2 Cleanup: unused var. 2017-02-26 00:10:03 -08:00
Auke Kok
fba0bd41dc Show markers for players in boxes.
These markers update relatively fast, 2/s. But they only
show when the player is wielding the correct placeable
item.

Exposes bug: placing a breakable node and then digging it
again prevents you from ever placing at the same spot
again, potentially forcing the player to abandon a box.
2017-02-25 23:51:16 -08:00
Auke Kok
ca94df6897 Disable placement prediction for breakable nodes.
This prevents jump-placing on nodes and is likely to be
needed to prevent confusion with players.
2017-02-25 16:34:33 -08:00