fozolo
846214993f
Add aliases for MTG corner stairs ( #117 )
2018-07-19 19:24:30 +02:00
Thomas--S
8ff1cb598f
Update documentation
2018-03-26 19:09:44 +02:00
Thomas--S
7d701da5b9
Move recipe definitions to a separate file and function.
2018-03-26 19:09:44 +02:00
Thomas--S
d5edcb2a10
Add a register_custom_subset function
2018-03-26 19:09:44 +02:00
Thomas--S
c711946453
Move node registrations to a separate file
2018-03-26 19:09:44 +02:00
Thomas--S
4d2a7ab6fe
Move definitions to a separate file
...
Make definitions table global
Replace stairsplus.copytable() function with table.copy()
2018-03-26 19:09:44 +02:00
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
d91da8b442
Fix slab descriptions.
...
A regression caused the description of slabs to revert to the source block's description. This commit fixes the regression and adds descriptions which were missing for the recently added slabs (two_sides, three_sides, and three_sides_u).
Closes minetest-mods/moreblocks#96
2017-12-28 19:59:38 -08:00
DS-Minetest
4c767ad7ff
add stair and slab groups
2017-12-28 19:54:45 -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
AntumDeluge
7347b05e3e
Replace deprecated methods:
...
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-08-12 14:08:24 -07: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
e9c6cef4dd
build a list of all of the stairsplus slab/stair/etc... shapes ( #70 )
...
for other mods to reference.
2017-02-23 17:12:36 +01: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
Vanessa Ezekowitz
0569ff9683
add a few new shapes to the table saw: ( #67 )
...
* 1/16 slab, L-shaped (two sides)
* 1/16 slab, corner-shaped (three sides)
* 1/16 slab, U-shaped (three sides)
2017-02-21 22:58:40 +01:00
Hugo Locurcio
831bbb2b27
Prepare for v1.0.0 release
2017-02-19 13:35:16 +01:00
Vanessa Ezekowitz
cf1b054a99
allow passing paramtype2 to the nodes being created ( #65 )
2017-01-26 22:11:45 +01:00
Auke Kok
81f77ae97e
Prevent creating a global
2016-12-31 12:33:09 -08:00
Auke Kok
5500c9906c
Run cleanfile on all files, fixing whitespace issues.
2016-12-31 12:33:09 -08:00
Thomas--S
7f06db2200
Add Alias Functions ( #54 )
...
* register_alias
* register_alias_force
2016-10-03 12:14:34 +02:00
John Cole
26a5273dd6
Fix drop logic. ( #49 )
...
The code
not type(fields.drop) == "table"
was always false because it compares a boolean with a string,
not (type(fields.drop) == "table")
is the intended logic.
2016-07-12 12:49:43 -07:00
Thomas--S
db93277a98
Add support for the alternative drop syntax ( #46 )
...
Until now, when the moreblocks node for a node with the alternative drop syntax were registered, the game crashed.
2016-06-17 12:15:02 -07: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
Auke Kok
cdc50bc069
Fix warning
...
Fixes #25
2016-01-26 12:52:55 -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
Calinou
4cde2fd66b
Merge pull request #17 from beyondlimits/master
...
Additional crafting recipes for slabs
2015-07-16 11:17:12 +02:00
jp
896af95703
Save light_source in saw's output for glowing default nodes
2015-07-05 10:15:25 +02:00
Marcin
4c5e408126
Additional crafting recipes for slabs
2015-07-04 18:44:42 +02:00
Calinou
4799368e5b
Merge pull request #16 from beyondlimits/master
...
Add recipe for splitting alternative stairs into 4 microblocks
2015-07-04 17:49:28 +02:00
Marcin
bc15b6e14b
Added recipe for splitting alternative stairs into 4 microblocks.
2015-07-04 16:19:17 +02:00
Calinou
7d9a882512
Merge pull request #15 from beyondlimits/master
...
Correct recipes for slopes
2015-07-02 10:40:09 +02:00
Marcin
5fad16743c
Removed shaped and added new shapeless crafting recipes for slopes.
2015-07-01 21:12:01 +02:00
Calinou
9efa7a3b5b
Merge pull request #14 from beyondlimits/master
...
Add circular crafting rule to 3-microblock stairs
2015-06-28 18:45:12 +02:00
Marcin
49d52791a4
Added circular crafting rule to 3-microblock stairs
2015-06-27 23:06:43 +02:00
Calinou
5d32408d8d
Merge pull request #8 from kilbith/patch-1
...
Add meselamp to registration
2015-06-27 21:13:04 +02:00
Marcin
0ba64153ae
Added missing slopes
2015-06-18 20:45:01 +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
a360b8e83f
Add size information to slab description (by est31).
2015-03-03 21:32:51 +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
4b682f4730
Add compressed cobblestone, crafted with 9 cobblestone.
2014-12-27 19:32:45 +01:00
Calinou
5e5f46b310
Add some more recipes for slopes.
2014-10-30 22:35:21 +01:00
Calinou
ed5d0398bb
Add inner, outer, outer-cut slopes and their half and half-raised variations, with crafting recipes for them. Code cleanup is ongoing.
2014-10-29 21:06:30 +01:00
Calinou
851a6db870
Add slopes and their crafting.
2014-10-28 22:12:40 +01:00
Calinou
84ee1ffae8
Fix issue #1 : “stairsplus_in_creative_inventory not being honored”.
2014-10-19 18:15:46 +02:00
Calinou
3b1392ce04
Make Stairs+ recipes mod-agnostic.
2014-07-28 10:02:55 +02:00
Calinou
f7916005c2
Code cleanup, new Stairs+ recipes.
2014-07-21 12:24:49 +02:00
Calinou
abfd2adcfd
New recipes, code cleanup.
2014-07-03 19:31:43 +02: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
d335d0dd3c
New recipes for Stairs+ nodes. Allows crafting most useful Stairs+ nodes. More accurate nodes still require the usage of the circular saw.
2014-05-04 17:53:15 +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
3ef8750947
Remove unused stairsplus_convert.lua, code cleanup.
2014-05-02 11:45:03 +02:00
Calinou
5c1e6fcf0e
Compressed textures, glass uses glasslike_framed drawtype, new texture for glow glass, added texture for trap glow glass and trap super glow glass.
2014-04-30 19:38:52 +02:00
Calinou
8337a6c192
Merge ShadowNinja's rewrite.
2014-03-09 10:38:18 +01:00
Calinou
62f9f00fe8
Big update: new stair types, code looks better.
2014-01-20 19:49:40 +01:00
Vanessa Ezekowitz
4b4e10ff1d
Rewrite slightly to use the new 6d facedir prediction code in builtin.
...
Keeps the old behavior of sneak == force wall (rather than invert).
Add protection/ownership checking. Can be phased out later after protection
mods start taking advantage of the engine's built-in ownershi-checking
functions.
Got rid of the /st command, since it didn't work anyway.
Minor re-arrangement of init.lua to put the mod's title block at the top
where it belongs :-)
2013-11-07 22:16:37 -05:00
Calinou
e60644c7e0
Fix drops
2013-10-27 19:24:49 +01:00
Calinou
1333faa48b
Added new aliases for screwdriver and circular saw, new microblocks/panels, circular saw now has 4 rows with 8 items each
2013-10-27 09:57:21 +01:00
Calinou
f322bb1bc1
New slab types: 1/16, 1/8, 7/8, 15/16 slabs (suggested by VanessaE), reorganized circular saw
2013-10-26 18:16:43 +02:00
Calinou
474d62ac7c
Allow stair/slab crafting by default, can be disabled in _config.txt
2013-09-15 14:52:18 +02:00
Calinou
85aea72376
More Blocks
2013-07-11 20:33:02 +02:00