Go to file
wsor4035 ef23f3ad67
Add optional bakedclay dependency (#7)
This prevents an error when the chisel is used on bakedclay nodes.
2020-07-30 19:21:49 +02:00
textures Added square mode 2015-08-29 13:00:51 -07:00
README.md updated decumentation 2018-01-20 12:57:07 +01:00
chisel.lua chisel.lua: Re-indent and simplify the code 2020-03-22 10:31:26 +01:00
depends.txt Add optional bakedclay dependency (#7) 2020-07-30 19:21:49 +02:00
description.txt updated decumentation 2018-01-20 12:57:07 +01:00
init.lua Add baked clay support (#5) 2020-03-22 09:19:44 +01:00
licence.txt Changed licence 2016-03-23 13:54:38 -07:00
mod.conf Add optional bakedclay dependency (#7) 2020-07-30 19:21:49 +02:00
nodes.lua Add forgotten node descriptions 2020-03-22 11:05:30 +01:00
screenshot.png Cleaned Code 2016-04-02 19:40:19 -07:00

README.md

A chisel that allows you to shape blocks. If technic mod is present the chisel will be rechargeable.

To craft a chisel just put a steel ingot and a brown wool in the crafting grid. The steel goes above the wool. (different recipe for technic device)

Once you have your chisel you can set the style by right clicking.

There are 5 styles to choose from(default)

  • horizontal groove
  • vertical groove
  • cross groves (this matches up with the vertical and horizontal grooves
  • square
  • 4 edges

Right click until you see the style you want in the chat then point at the node and left click. Each node can be cut 4 times. Each time you chisel the groove will get a little deeper.

Shift right click to change the supported mod. Here the list of supported mods: default (mychisel mod) 5 styles facade 10 styles

Only certain nodes can be chiseled. Here are the supported nodes

Cobble
Sandstone
Clay
Coal Block
Stone
Desert Stone"
Wood
Acacia Wood
Aspen Wood
Pine Wood
Desert Cobble
Jungle Wood
Sandstone Brick
Stone Brick
Desert Stone Brick

Forum - https://forum.minetest.net/viewtopic.php?f=11&t=13104



*** added 01/2018 by Gundul *** *** chiselapi: ***



Fist init your mod with mychisel:

  chisel.add_mod(modname,number)
  
  modname = the name of your mod
  number  = number of different styles for each node

Then register your nodes with mychisel:

  chisel.register_node(modname, prefix, raw, design)
  
  modname = the name of your node
  prefix  = prefix of your new node name right behind the ":", usually the name of the raw material without "modname:"
  raw     = name of the raw material for example "default:stone"
  design  = name of your nodestyle after beeing chiseled

Naming your nodes:

In your mod the nodes should be named like this: modname..":"..prefix.."_"..design

depends.txt:

  In your modfolder add this line to your depends.txt: mychisel?
  
  

  
  
  Example:  you made a mod named "pillar" with 3 different pillar designs
  
	  first register your mod: chisel.add_mod(pillar,3)
	  
	  
	  then register each node of it:

	  chisel.register_node("pillar", "stone", "default:stone", "round")
	  chisel.register_node("pillar", "stone", "default:stone", "square")
	  chisel.register_node("pillar", "stone", "default:stone", "hexagon")
	  
	  
	  Do this for every material your mod supports:
	  
	  chisel.register_node("pillar", "sandstone", "default:sandstone", "round")
	  chisel.register_node("pillar", "sandstone", "default:sandstone", "square")
	  chisel.register_node("pillar", "sandstone", "default:sandstone", "hexagon")
	  ...
	  
	  
	  In your mod the nodes should have names like:
	  
			pillar:stone_round
			pillar:stone_square
			pillar:stone_hexagon
			pillar:sandstone_round
			...