Modding:Basic Modding Examples: Difference between revisions

From Vintage Story Wiki
m (VeryGoodDog moved page Basic Modding Examples to Modding:Basic Modding Examples: clean up main namespace)
(Microblock chiseling is no longer controlled from the chisel)
Line 14: Line 14:


This should prevent the player from dropping its inventory upon death.
This should prevent the player from dropping its inventory upon death.
== Enable microblock chiseling in survival mode ==
Open the file <code>assets/survival/itemtypes/tool/chisel.json</code>, find the line that writes <code>microBlockChiseling: false,</code>, and set the value to <code>true</code>
This will make it so that you can right click on most solid blocks with a chisel in hands to convert the block into a chisel-able one. Left click with a chisel to remove voxels and right click to add a voxel.


== Changing sleep duration in beds ==
== Changing sleep duration in beds ==