145 Commits

Author SHA1 Message Date
Wuzzy
aa7ab7b0ff Missing or wrong node sounds
A couple of nodes have missing or wrong node sounds:

    nodes:hardened_clay*: Plays no sound (suggested sound: stone sound)
    nodes:chest_with_*: No sound (suggested: wood sound)
    nodes:flowerpot*: Plays wood sound (suggested: stone sound)
    nodes:vine*: Wood sound when climbing (suggested: leaves sound)
    terminal:terminal: No sound (suggested: metal sound)
    nodes:tnt: No sound (suggested: wood sound)
    signs:bg: No sound (suggested: stone sound)
    All doors and fence gates: No sounds for placing/digging
    frame:*: No sound (suggested: wood sound)
    signs:sign_wall: No sound (suggested: wood sound)

Special cases:

    Trampoline: Wood sound
    Waterlily: No change, still no sound (leaves sound would be too odd here)
    Lava: Sound removed
    boxes:nexus: No change, I have no good idea
    Sponge: Dirt sound
    Rope: Sound removed (other sounds just don't fit well)
2019-04-15 21:08:52 -07:00
Wuzzy
0d88f1ce3a Make lines connect to other lines again. 2019-04-15 20:06:25 -07:00
Auke Kok
8f2fec1358 Make each line type only connect to itself.
This risks the chance that we break lines in an already existing box,
but I think it's reasonable and expected. Plus it's only visual.
2019-04-14 21:34:57 -07:00
Wuzzy
17389b2678 Make item descriptions more descriptive 2019-04-13 23:54:40 -07:00
Wuzzy
c72d0ecba9 Consistent writing style of item descriptions
- Fix capitalization
- Fix ungrammatical word order (like “Wood dark”)
2019-04-13 23:52:11 -07:00
Wuzzy
3b49559131 Improve inventory and wield image of items 2019-04-13 23:46:28 -07:00
Auke Kok
80cbd6d34a Add license headers to all lua files.
Some of these are copies from the respective origins from mtg,
to make sure we have headers everywhere listing the proper code.

I've relicensed spectator_mode from WT*PL to LGPL-2.1. No other
licenses were changed.
2018-06-21 22:56:48 -07:00
Ekdohibs
6c68227b22 Hopefully fix double-rightclick making items disappear 2018-03-04 18:40:20 +01:00
Auke Kok
90570ee340 Light emitting blocks (cube shape).
These add 3 more 8/11/14 brightness blocks that can be switched
with mech, and a 13 brightness glow block that is always on.
2017-12-22 21:33:34 -08:00
Auke Kok
194b7ad0d2 Limit water bubbles only to surface nodes.
These will overflow the network buffer and cause dropped packets,
making levels unplayable.
2017-12-04 10:04:52 -08:00
Auke Kok
0ba1f81a64 Lower water particle bubble count. 2017-11-30 00:36:07 -08:00
Auke Kok
1398ae3ca5 Add sounds for lights coming on. 2017-11-14 00:40:18 -08:00
Auke Kok
d45ef32afd Fix placeholder overwriting on every addition.
You're meant to be able to stack placeholders, this was broken.
2017-10-29 23:43:14 -07:00
Auke Kok
59adfffffa break up some long lines. 2017-10-27 10:25:16 -07:00
Auke Kok
51c57f9647 Convert most base block tiles to a tilesheet
About 40 textures are in here now, there's space for 26 more.
2017-10-26 23:13:31 -07:00
Auke Kok
5598234091 Tile all the plant textures.
This is an 8x8 tilesheet, with lots of free space.
2017-10-22 01:26:44 -07:00
Auke Kok
8999fa98a2 Convert wool nodes to tilesheet. 2017-10-22 00:43:21 -07:00
Auke Kok
4dc4ac5a9b Rename TNT textures due to texture pack conflict. 2017-10-22 00:07:07 -07:00
Auke Kok
83bb16d734 Fix diggable TNT. 2017-10-19 11:18:59 -07:00
Auke Kok
0ad3990741 New nodes: dead bush, fall and jungle leaves. 2017-10-18 23:45:38 -07:00
Auke Kok
cbc089e616 Hand: no more dig_immediate for nodes.
To prevent most simple dig-and-place exploits, we make hand-diggable
nodes no longer dig_immediate, so it takes a bit of time to dig them
up. This completely ignores people abusing lag and isn't a complete
solution.
2017-10-15 14:25:27 -07:00
Auke Kok
0a225440c9 Allow melon, pumpkin and hay in item frames. 2017-10-12 20:41:24 -07:00
Auke Kok
bc15941329 Make wooden walls connect to wood.
This breaks wooden walls connecting to stone, but makes them
appropriately connect to wood. Some boxes will likely change visual
appearance. Stone and wooden walls will still connect to each other.
2017-10-11 18:07:56 -07:00
Auke Kok
b5d77f5042 Don't make fences connect to any of these new nodes. 2017-10-09 22:00:19 -07:00
Auke Kok
a1280c104e Hay, Melon, Pumpkin, and diggable. 2017-10-09 21:43:10 -07:00
Auke Kok
d248081868 Fix pumpkin, melon and wheat. 2017-10-08 22:31:44 -07:00
Auke Kok
31279a9527 Diggable saplings, seeds, andmushrooms.
This makes new seed nodes (3) and adds diggable mushrooms
and saplings.
2017-10-07 23:39:44 -07:00
Auke Kok
c07a872a29 Make fire selection box smaller. 2017-10-04 22:22:48 -07:00
Auke Kok
5d2069ec1a Marble pillar node. Ornamental only. 2017-10-04 22:06:05 -07:00
Auke Kok
c5fe23c204 Mycelium (dirt with....) nodes. 2017-10-04 21:56:29 -07:00
Auke Kok
2991d8751e Dirt with Podzol.
This makes a nice forest soil. Much more brown, still small
bits of green.
2017-10-04 21:48:07 -07:00
Auke Kok
79f0f6b916 Hardened clay. Diggable (pickaxe) and normal, stairs+slabs. 2017-10-04 21:47:48 -07:00
Auke Kok
9443864d05 Fix animated liquid textures to be 16x16 effective.
Adjusted loop length significantly as well to make the difference
between river and normal water apparent. River water will flow
much faster.
2017-10-01 22:43:44 -07:00
Auke Kok
d233f23777 Tnt explosion effects, and sound. 2017-10-01 21:50:48 -07:00
Auke Kok
0c40ff0a12 Furnace: turn on/off, make fire sounds. 2017-09-30 00:19:55 -07:00
Auke Kok
61ce8daa6b Fix tile generation.
Took me a while to work through this, but [1, 2, 3] are not the
right tiles to make an inventory cube from, since [2] is the bottom
tile. So this looks a lot better already, especially for trunk
nodes and ladders.
2017-09-27 21:42:37 -07:00
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