Commit Graph

27 Commits

Author SHA1 Message Date
Foz
f6e0db21b2 Finish aliasing split_stone_tile_alt
to checker_stone_tile.
2017-12-31 12:51:25 -08:00
Foz
2b76b077f0 Drop paramtype2 from glass before registering.
Fix minetest-mods/moreblocks#98

Caused by cf1b054a99, 6a996eb86a and minetest/minetest_game@2f46103ff8.

For some unknown reason `default:glass` and `obsidian:glass` have `paramtype2 = "glasslikeliquidlevel"`.  After the refactor of `stairsplus/registrations.lua`, all of the source node's defs are passed along to `stairsplus:register_all()`.  Prior to cf1b054a99 the paramtype2 setting was discarded.
2017-12-28 20:00:14 -08:00
Foz
780df105ea Stop assuming stair and slab aliases are required.
Only make aliases automatically for stairs and slabs from MTG stairs mod. Let other mods worry about aliasing themselves.  Fixes minetest-mods/moreblocks#45
2017-12-28 18:00:07 -08:00
John Cole
6a996eb86a Refactor stairsplus registrations (#93)
* Refactor stairsplus registrations

 - Reorganize and remove redundant code.
 - Remove sunlight_propagates=true and default to paramtype="light".
    This causes cut blocks to have a shadow but not completely block light.
 - Fix several bugs (#90, #91, #92).

* Readd sunlight_propagates=true for compatibility.
2017-12-19 23:42:45 +01:00
lemon-melon
fc3c5f4738 Support tin and silver/sandstone blocks (#79)
Allows tin blocks and silver/desert sandstone blocks to be used in the circular saw.
2017-08-12 14:07:33 -07:00
Fixer
fbfb079f54 Make wool sawable (#72)
* Make wool sawable

Based on my simple research https://github.com/minetest-mods/moreblocks/issues/71 enabling wool should not cause major slowdowns.

Code pasted from gloopblocks

* List wool as optional dependancy

* Added check for wool dependancy

* Make life easier for translators
2017-03-14 22:13:16 -07:00
Vanessa Ezekowitz
f4b68fbfd7 add some 0.4.15 default nodes to table saw, including farming:straw (#69)
* add some 0.4.15 default nodes to table saw
including farming:straw

* fix hard-coded drop
2017-02-23 17:08:22 +01:00
Hugo Locurcio
831bbb2b27 Prepare for v1.0.0 release 2017-02-19 13:35:16 +01:00
Luka Vandervelden
30fba0ea40 Aspen tree registration in stairsplus. (#44) 2016-06-10 10:47:18 -07:00
Auke Kok
f92a938d75 Prevent glass slabs from becoming transparent on sides/bottom.
For all glasslike drawtype nodes, the tiles contain up to 2
textures. The second texture is for "connected" glass, but that
likely is a transparent texture. If we use the `tiles` def without
modification, we will make all those slabs/slopes transparent on all
sides except the top.

To fix, we remove the tiles[2] from the tiledef in case the node is
a glasslike drawtype.
2016-02-19 13:35:36 -08:00
Pierre-Yves Rollo
54a7102291 Make stairplus:register_* functions work without using register_all. 2015-11-01 17:54:29 +01:00
Calinou
f02a871c30 Add acacia tree and wood, modify pine tree and wood names 2015-08-24 19:37:20 +02:00
jp
896af95703 Save light_source in saw's output for glowing default nodes 2015-07-05 10:15:25 +02:00
kilbith
41458f02c2 Add meselamp to registration 2015-06-17 17:18:17 +02:00
Craig Davison
197eac75c0 Add stairsplus support to obsidian brick 2015-06-15 21:04:58 +01:00
Calinou
aef4413eb9 Check for ndef before registering Stairs+ nodes. 2015-02-11 17:59:28 +01:00
Calinou
10d28eec32 More informative and shorter headers. 2015-01-12 17:46:22 +01:00
Calinou
b5d62de9d8 Add licensing headers to all files, fix intllib global variable warnings. 2015-01-11 22:21:33 +01:00
Olivier Samyn
41bb46fb36 Add support for minetest game pine tree. 2015-01-06 20:39:56 +01:00
Calinou
851a6db870 Add slopes and their crafting. 2014-10-28 22:12:40 +01:00
Calinou
e2f4cc369b Code cleanup. Add tar and more stone types. 2014-06-27 20:14:08 +02:00
Calinou
2bf5da716d Put comment before the line. 2014-05-10 21:25:10 +02:00
Calinou
9550268c49 Stairs+ nodes are not in wood and stone groups anymore to not make them usable in crafting. 2014-05-10 20:35:40 +02:00
Calinou
b3ba89af3a Stairs+ nodes let light pass through. 2014-05-04 18:52:24 +02:00
Calinou
4cd994e385 Disable desert cobblestone Stairs+ nodes because it doesn't work with minetest_game. 2014-05-04 14:34:54 +02:00
Calinou
008ade61de Added desert cobblestone Stairs+ nodes, circular saw cosmetic changes, remove obsolete code. 2014-05-03 21:40:45 +02:00
Calinou
8337a6c192 Merge ShadowNinja's rewrite. 2014-03-09 10:38:18 +01:00