159 Commits

Author SHA1 Message Date
Auke Kok
75cfc90fe3 Merge branch 'growth' into 'master'
Extend growth tool functionality

See merge request sofar/insidethebox!16
2021-07-10 21:42:39 +00:00
Auke Kok
8d218d43d6 TExture alpha: fix deprecation warning.
The alpha values here are now no longer used. They are roughly the same
as the original value in the alpha channel, so this looks the same from
my perspective.
2021-07-07 21:20:04 -07:00
Auke Kok
7ea209215c Bugfix: Hardened clay slabs and stairs are dug by axe. 2019-12-16 09:33:20 -08:00
Wuzzy
15093febd4 Growth tool: Grow tree trunk 2019-12-10 21:29:42 +01:00
Auke Kok
66b27bd711 Revert "Prevent filling up the inventory with tools."
This reverts commit a819b41782de9960acec6728a6235ee7c8450a8c.

Replaced with stackable player tools.
2019-12-09 19:57:55 -08:00
Auke Kok
a819b41782 Prevent filling up the inventory with tools.
nexus blocks can still be stacked. Tested.
2019-12-06 22:17:03 -08:00
Auke Kok
162e8d11c1 Fix torches breaking placeholders.
These need to be treated in the same way as other "breakable" nodes
here, so, retain meta on removal.
2019-11-08 21:17:16 -08:00
Wuzzy
207de4dc2c Add I18N support
This adds I18N support for ITB by using Minetest 5.0.0's locale system.
2019-09-11 21:06:59 -07:00
Auke Kok
70a1af80bc Revert "Fix errant placeholders."
This reverts commit 3f62493808594d44d3d8589396a789c6cf216337.
2019-05-04 09:49:45 -07:00
Yukitty
3f62493808 Fix errant placeholders.
- Don't build empty placeholders where destructable blocks are
  taken from.
- Self-destruct empty placeholders
2019-04-30 19:03:17 -07:00
Wuzzy
a784c4173b Wrong node sound for hardened clay stairs/slabs.
Hardened clay stairs and slabs have a cloth sound instead of
stone. Whoops, I have must overlooked that somehow
2019-04-28 19:56:50 -07:00
Wuzzy
02b3d0e5d0 Wrong rope selectionbox if placed at side.
If you place a rope at the side of blocks, the selectionbox of the
rope is wrong. The selectionbox is horizontal, not vertical. Only
if you place a rope on the floor or a ceiling of another block,
the selectionbox is correct.

This is because paramtype2 is set for ropes, although it is not needed
(ropes have always the same orientation).
2019-04-28 19:53:12 -07:00
Auke Kok
87f35fe111 Allow torches on placeholders.
This allows torches to be put on any placeholder node. Particles
are still shown for players who wield placeable nodes. Placing nodes
targeting the torch fails, but succeeds on the node below or adjacent
due to pointed_thing rules.

After placing a node, the full placeholder metadata is maintained
and the node can be dug again and replaced with a different placeable
node in case the placeholder contained multiple nodes.

To accomplish the torch mod to do this, the placeholder particle
function was promoted to an API function of the nodes mod.
2019-04-23 20:01:52 -07:00
Auke Kok
12355c2033 Fix inventory display of flowerpots.
Flipped normals on the plant mesh - now everything shows up
OK! Re-export from blender.
2019-04-21 23:41:25 -07:00
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