Kurtzmusch 249fbc65c5 added TODO.txt | hace 5 años | |
---|---|---|
.gitignore | hace 5 años | |
LICENSE.txt | hace 5 años | |
README.md | hace 5 años | |
TODO.txt | hace 5 años | |
api.lua | hace 5 años | |
definitions.lua | hace 5 años | |
depends.txt | hace 5 años | |
generate_map.lua | hace 5 años | |
generate_nodeboxes.lua | hace 5 años | |
generate_shapes.lua | hace 5 años | |
init.lua | hace 5 años | |
util.lua | hace 5 años |
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.