49 Commits

Author SHA1 Message Date
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
Auke Kok
2615ce8ae2 Allow placing breakable nodes in item frames. 2017-02-25 16:29:00 -08:00
Auke Kok
fcb66648bd Allow placing of breakable nodes.
In editing mode, you can mark places where specific
breakable nodes can be placed by placing a breakable
node. A particle appears where the node will be allowed.

In playing mode, any breakable node that can be placed
at the position can then be placed in the exact location. For
obvious reasons, it can also be digged up again with the
right tools

This does break putting things in itemframes right now, so
I do need to pass on the on_rightclick to the itemframe
still.
2017-02-25 15:12:18 -08:00
Auke Kok
4426931c0c Make itemframes contain breakable nodes only.
This allows me to more easily later on allow looting and
placement of player-obtainable nodes.
2017-02-25 12:38:26 -08:00
Auke Kok
5709ef8357 Fix leaves being black on mobile. 2017-02-20 09:56:55 -08:00
Auke Kok
f4859be41e Make chest triggers work.
This makes the chests trigger a 1sec pulse, and then
untrigger, similar to the button.
2017-02-17 01:14:40 -08:00
Auke Kok
931bece381 Make pedestals and all boxes a trigger.
Allows any mech to be triggered with a pedestal or by
opening a box!
2017-02-17 00:31:25 -08:00
Auke Kok
48530c5583 Make sand and gravel falling nodes. 2017-02-11 22:07:44 -08:00
Auke Kok
d693bffb9e Add fern, reeds, waterlily. 2017-02-11 20:02:35 -08:00
Ekdohibs
0330a10ca4 Fix players being able to move through barriers. 2017-02-11 14:03:45 +01:00
Ekdohibs
4e681e8d6e Lamps: provide on_trigger & on_untrigger to avoid being broken. 2017-02-10 12:52:53 +01:00
Auke Kok
02bfac7260 Wield hand: special edit hand.
The hand is equipped in the editor, and for admins at all
times. It still doesn't work properly yet.

Also, stuff that captures punch events can't be dug with it.
2017-02-10 00:09:32 -08:00
Auke Kok
deb365b8cf Start with soundscape. 2017-02-09 21:48:32 -08:00
Auke Kok
dd16d2617e Dirt with grass/snow tops. (I was really missing these). 2017-02-08 00:13:20 -08:00
Auke Kok
cbe34ad0d9 Emerald.
Usable for a new category teleport pressure plate.
2017-02-06 23:16:46 -08:00
Auke Kok
04543a9265 Add wool stair/slab nodes. 2017-02-05 20:56:23 -08:00
Auke Kok
6fab524b63 Add many more frames.
This also adds tools, allowing box designs to "hide" tools into
frames that the player can or needs to use.
2017-02-04 13:48:59 -08:00
Auke Kok
b61c85d477 Add frame mod: item frames.
Purely deco blocks. Only non-breakable versions.
2017-02-04 12:06:04 -08:00
Auke Kok
00b95d4668 Chests: theming, mechanics.
The chests now open and close. Chests do not despawn, instead they
become empty. Clicking them again will just not get you an item.
The open/close sequence is timed with a node timer.
2017-02-02 21:39:09 -08:00
Ekdohibs
9cbab3c818 All trunks are facedir 2017-02-02 07:18:58 +01:00
Ekdohibs
af9c8d5ac3 The node to find is boxes:nexus. 2017-02-02 07:18:22 +01:00
Auke Kok
1a008852b4 Reduce plant selection box a bit. 2017-02-01 21:37:15 -08:00
Auke Kok
593dc2c9de Trunks are facedir. 2017-02-01 21:36:09 -08:00
Auke Kok
18d3502765 Fix leaf drawtype. 2017-02-01 19:58:58 -08:00
Auke Kok
d19d5b55b7 Fix glass. 2017-02-01 11:17:30 -08:00
Ekdohibs
b572c352b3 Add chests, no textures :/ 2017-01-30 14:11:34 +01:00
Auke Kok
4baad5026f Add ores. 2017-01-29 16:34:30 -08:00
Auke Kok
b79ab383a3 Soil, vines, rope, barrier inventory texture.
Plus empty flower pot as well.
2017-01-29 16:14:29 -08:00
Ekdohibs
dfa564e8b3 Make pressure plates work, and add after_dig calls to all mech nodes. 2017-01-29 13:56:14 +01:00
Ekdohibs
0b85fca2e1 Lights controlled by mech as well 2017-01-29 11:24:50 +01:00
Auke Kok
6fbd58a5a6 Saplings 2017-01-29 00:30:13 -08:00
Auke Kok
e3e6e10afb Basic plants and flower pot.
Everything can go in the flowerpot, too.
2017-01-29 00:22:37 -08:00
Ekdohibs
3b7a716a0e Fix naming conflict for breakable trunk nodes. 2017-01-29 09:17:41 +01:00
Auke Kok
58cde3b913 Tune water some more, and add fire. 2017-01-28 22:26:17 -08:00
Auke Kok
63ab7a5cbf Snow, Ice nodes 2017-01-28 22:25:49 -08:00
Auke Kok
1153f94d29 Liquids. 2017-01-28 21:58:58 -08:00
Auke Kok
266fb95a1c Nodes: fix textures on the remaining basic nodes. 2017-01-28 20:26:57 -08:00
Auke Kok
e3270f5b3d Add wool nodes. 2017-01-28 18:17:58 -08:00
Auke Kok
542f5437ae Trunks: proper trunks (breakable and not) 2017-01-28 18:06:47 -08:00
Ekdohibs
168361a9af Import fences 2017-01-28 21:57:23 +01:00
Ekdohibs
dba6340fd9 Import walls & xpanes 2017-01-28 21:41:39 +01:00
Auke Kok
3eff367968 Light nodes, and a barrier.
4 different basic lights: off, and 3 intensities.
one broken light that will flicker (nodetimer based)
2017-01-27 23:57:38 -08:00
Auke Kok
0d5097ff09 Remove print() statement. 2017-01-26 11:00:18 -08:00
Auke Kok
d036b2e72b Some minor notes about more nodes that are needed. 2017-01-26 00:50:14 -08:00
Auke Kok
4658e6f321 Stairs and slabs. 2017-01-26 00:41:39 -08:00
Auke Kok
0dfda79c59 Fix inventory stuff 2017-01-26 00:20:03 -08:00
Auke Kok
475ce277fd Initial checkin. 2017-01-25 23:06:00 -08:00