Commit Graph

220 Commits

Author SHA1 Message Date
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
Jat15
832b8f8817 Craft Circle Stone Brick and Stone tile (#82)
* Craft Circle Stone Brick and Stone tile

Craft Circle Stone Brick was similar furnace.
Stone Tile is more similar with stone block.

* Modify Circle Stone Brick

* Modify craft Stone Tile
2018-02-17 12:08:08 -08:00
Foz
f6e0db21b2 Finish aliasing split_stone_tile_alt
to checker_stone_tile.
2017-12-31 12:51:25 -08:00
Foz
413054fd2f Handle wood_tile replacement more carefully.
- An LBM is added to handle replacements of wood_tiles on the map while preserving there rotation about the +y (vertical) axis.  This will preserve existing floor patterns.  Unfortunately, due to the preexisting side tile orientations, preserving wall patterns is not possible while also reducing the wood_tiles down to just one node.

 - Deprecate the no longer used wood_tiles (wood_tile_right, wood_tile_left, wood_tile_down, and wood_tile_flipped), and add recipes to convert them.

 - Rename wood_tile_up to wood_tile_offset.

Closes #101
2017-12-29 22:08:38 -08:00
Foz
652d431664 Remove commented code and unused textures. 2017-12-29 16:22:50 -08:00
Foz
cc7e1271be Revert "Undo adding glass detail, but leave the colorizing"
This reverts commit 281268e7bc.

The commit needs to be reverted because it prevents connected glass.
2017-12-29 16:22:50 -08:00
Foz
e6b5336bad Readd tar block. Fixes #103
The proper way to resolve the redundancy between `building_blocks:Tar` and `moreblocks:tar` is with an alias in building_blocks as noted in issue #68.

The recipe conflict with streetsmod has been resolved by using `default:pine_tree` in place of `default:gravel`.  This may also be more realistic than gravel as a source of tar because pine derived tar was once of major economic importance.
2017-12-29 16:22:09 -08:00
Foz
3f7edb39a1 Adjust shelf recipies.
- The math of returning glass framents will never work when cleaning a shelf because we would need to return 1.5 fragments so just return glass bottles instead.

 - Removed the recipe for a vessels:shelf from group:vessels because it doesn't make sense to return glass bottles if, for example, the shelf was crafted from steel bottles.
2017-12-28 22:17:42 -08:00
Foz
64eade096e Fix typo. 2017-12-28 22:17:42 -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
Foz
6f1ee946a0 Fix saw left-over naming bug.
The appended '_bottom' is left over from an older naming convention and relies
on an alias to avoid unknown nodes showing up in the saw's left-over bin.
2017-12-28 19:59:13 -08:00
Foz
9eb4926d8d Fix deprecated alias. 2017-12-28 19:58:46 -08:00
Richard Qian
281268e7bc Undo adding glass detail, but leave the colorizing 2017-12-28 19:56:57 -08:00
Richard Qian
350a5f49e7 Make trap-stones see-through when inside them 2017-12-28 19:56:57 -08:00
Richard Qian
0e2c30ec72 Change tiles for the glass
- Use colorization of the default glass texture

- Remove snappiness from compressed dirt

- Turn spaces into tabs for the first line of all-faces pine and aspen trees
2017-12-28 19:56:57 -08:00
Richard Qian
b7217dd1f7 Resync with upstream again 2017-12-28 19:56:57 -08:00
Richard Qian
a8a06d8deb Add compressed dirt, remove redundant tar
Tar already exists in building_blocks, and the recipe to cook it comes into conflict with what's in streetsmod, where gravel can be cooked into asphalt. However, the texture for it is retained in case it needs to be derived from again in the future.
Dirt can be collected in as much quanitites as cobblestone can be, so in place of tar is a way to pack dirt when so much of it is collected.
The compressed dirt shares most properities with the compressed cobble, except that can be dug by hand, but digging it takes as long as with gravel. Its texture is a recolor of this mod's tar block.
In addition, a function for dirt sound has been added, and compressed dirt makes use of it.
The new node is inspired in part by a counterpart on the Xanadu server, where there is also a counterpart to compressed cobble.
2017-12-28 19:56:57 -08:00
Richard Qian
4f9b05be4e Rename empty bookshelf to empty shelf
This to account for the fact that vessel shelves can now be used here. Additionally, really loop back to cobblestone in relationship to the stone tile and its variants.
2017-12-28 19:56:57 -08:00
Richard Qian
da652c16cd Even more node and craft changes
- Enable many nodes to be rotated by the screwdriver

- Reduce redundancy of the the wood tiles; use the screwdriver to achieve them

- Add extra crafts dealing with empty shelves

- Get rid of snappiness in all blocks; it's only useful for plants

- Loop between stone tile, its variants, and cobblestone
2017-12-28 19:56:57 -08:00
Richard Qian
1b78097ab7 Tweak more nodes, add a few new ones
- All blocks: is_ground_content = false

- New nodes: All-faces pine, acacia, and aspen trees

- Add most stones to the stone group
2017-12-28 19:56:57 -08:00
Richard Qian
dbba372137 Make many crafts more open with groups, remove redundant recipes 2017-12-28 19:56:57 -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
Hugo Locurcio
8f6176f68c
Update CHANGELOG to acknowledge a bug fix 2017-12-19 23:47:00 +01: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
Jat15
80d35c8215 Add listring for circular saw 2017-11-20 15:09:37 -08:00
Hugo Locurcio
65e3afdd8b
Update changelog to add the recently-merged bug fix 2017-11-20 23:13:16 +01:00
fishyWET
1fa4669ae8 Fix "replacement when inv is full" (#85)
* fix replacement when inv is full.

* Use allow_metadata_inventory_take instead
2017-11-20 23:09:27 +01:00
Hugo Locurcio
f2ede87a5a Fix the version comparison links in the changelog 2017-10-05 19:06:57 +02:00
Hugo Locurcio
16ae14f458 Prepare for v1.1.0 release
- Rewrite the README entirely with new installation instructions
- Tweak the styling in CONTRIBUTING.md and CHANGELOG.md
2017-10-04 20:43:50 +02:00
Hugo Locurcio
59c384dca4 Update the change log with new additions in More Blocks 2017-10-02 23:54:40 +02:00
Hugo Locurcio
df8c150c9a Add Sokomine to the copyright line of circular_saw.lua 2017-09-03 00:46:49 +02: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
AntumDeluge
acd570ba0d Replace deprecated function 'intllib.Getter':
- Check first for 'intllib.make_gettext_pair', otherwise continue using
deprecated function
2017-08-12 14:08:04 -07:00
AntumDeluge
f3005d6367 Call 'global_exists' in place of 'get_modpath' for 'intllib' check 2017-08-12 14:08:04 -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
Hugo Locurcio
5f35766ed0 Update change log with the new Stairs+ nodes 2017-02-23 17:10:49 +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
Hugo Locurcio
6a1ffa7651 Update change log with the new circular saw nodes 2017-02-21 23:01:41 +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
6f033c1695 Add a contribution guide 2017-02-20 18:37:22 +01:00
Hugo Locurcio
831bbb2b27 Prepare for v1.0.0 release 2017-02-19 13:35:16 +01:00
Thomas--S
4ad4dc958f Remove crafting recipes regarding removed jungle sticks
Forgotten in 34c01e66c7
2017-01-27 11:21:45 -08: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