159 Commits

Author SHA1 Message Date
Auke Kok
ede4e1ec56 Reveal tool: also reveal places where blocks can be placed. 2017-09-27 21:19:57 -07:00
Auke Kok
1425b9aee9 TNT, and obtainable TNT, and item frames with TNT.
These are still entirely cosmetic. An on_trigger in the
future will likely add sound, particles and damage nearby
players.
2017-09-26 22:14:54 -07:00
Auke Kok
a42b2804af Rails (cosmetic) and wires/lines.
3 colors, gray, for lines. Rail is just a standard
decorative rail node.
2017-09-26 21:41:08 -07:00
Auke Kok
94a3e4edf9 Sponge node.
Acts as fall breaker. Death height is just above 25 nodes without
and is much higher with sponge.

Intended to also be a no-jump node but that is broken with sneak
disabled.
2017-09-20 17:14:37 -07:00
Auke Kok
b25e0ceb90 Trampoline blocks. 2017-09-20 16:59:52 -07:00
Auke Kok
cd6438a222 Update node and tool description lines.
WIP. More need to be done.
2017-09-19 22:29:58 -07:00
Auke Kok
dd4682325b Fix sounds omitted from slabs and stairs.
Turns out to be a simple oversight to hook up sound properties
to slabs and stairs.
2017-09-16 23:17:56 -07:00
Auke Kok
98aca96bfe Water bubbles.
Somehow these are occluded by water surfaces, so you only see
them when you are under water. Still, it adds a nice effect.
2017-09-16 22:05:17 -07:00
Auke Kok
d7246ee5d8 Display placeable particles only to wielders. 2017-09-16 17:01:13 -07:00
Auke Kok
1a857b5c63 Rope selection box. 2017-09-13 10:39:43 -07:00
Auke Kok
54046bce05 Fix all nodes to have diggable callbacks in place.
Instead of manually hoping we get all the nodes' callbacks
right, just fix them after defining them so we're all good
no matter what.

I've added an assert on def.groups since we really shouldn't
have any nodes without def.groups set. At a min, it should
have not_in_creative_mode = 1.
2017-09-13 00:22:15 -07:00
Auke Kok
a2f1f5e013 Mark barrier as not a normal node. 2017-09-10 18:32:38 -07:00
Auke Kok
4cba70d644 Really, enable the edit hand globally.
Mark "marble border" node NOT as stone, so it isn't diggable by
the edit hand tool!

Mark doors at the box edge also not diggable through an on_dig, to
prevent box editors attemting to dig it away.
2017-09-10 18:28:15 -07:00
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