Kurtzmusch 249fbc65c5 added TODO.txt | 5 anni fa | |
---|---|---|
.gitignore | 5 anni fa | |
LICENSE.txt | 5 anni fa | |
README.md | 5 anni fa | |
TODO.txt | 5 anni fa | |
api.lua | 5 anni fa | |
definitions.lua | 5 anni fa | |
depends.txt | 5 anni fa | |
generate_map.lua | 5 anni fa | |
generate_nodeboxes.lua | 5 anni fa | |
generate_shapes.lua | 5 anni fa | |
init.lua | 5 anni fa | |
util.lua | 5 anni fa |
k_smallblocks divides each node into 8 'subnodes', allowing for more detailed building, aswell as using its own logic for rotation prediction to make the screwdriver obsolete
the mod is still very WIP and right now only stonebrick subnodes are registered.
to test it, pick a block called Stone Brick Smallblock and place it in the world with LEFT click. to remove a smallblock from a node use RIGHT click - yes, its inverted - this is due to, afaik, a limitation of the engine
when finished, this mod will act like an API for other mods to register their nodes if they wish to generate smallblocks for them.
22 nodes are generated and registered to cover all 255 possible 'shapes' a node of a given 'material' can have.
only 5 'base nodes' for a material will be craftable, the others will have to be crated by placing and combining these in the world the base nodes are:
a full node by itslef will produce 8 smallblocks
2 smallblocks makes a half-slab
2 half-slabs makes a slab
3 half-slabs makes a stair
2 slabs makes a full node
4 half-slabs makes a full node
8 smallblocks makes a full node
all base nodes can be crafted back into smallblocks.
all recipes preserve the amount of material, theres never loss or excess.
a flag will allow mods to decide wheter or not the recipes are shapeless.
to make a stair corner, one would have to place a stair in the world and then place a smallblock on the desired position.
all nodes use align_style="world" so textures always align.
stairs and slabs will have a slightly diferent logic for rotation prediction then the one used by mtg.