Modding:Basic Modding Examples: Difference between revisions

From Vintage Story Wiki
no edit summary
(→‎Playing around with blocks: Improved formatting)
No edit summary
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
A large amount of game content is freely modifiable through editing text files. If you feel like tinkering around, just open your assets folder. To locate it under windows, hit Winkey+R in Windows then paste in this line %appdata%/Vintagestory/assets and hit enter.
A large amount of game content is freely modifiable through editing text files. If you feel like tinkering around, just open your assets folder. To locate it under windows, hit Winkey+R in Windows then paste in this line %appdata%/Vintagestory/assets and hit enter.


Line 6: Line 8:
In earlier versions of the game you need to manually check out the log files in %appdata%/VintageStoryData/Logs/server-main.txt and client-main.txt
In earlier versions of the game you need to manually check out the log files in %appdata%/VintageStoryData/Logs/server-main.txt and client-main.txt
</pre>
</pre>
== Keep your contents upon death ==
Open the file <code>assets/game/entities/humanoid/player.json</code>, find the line that begins with <code>server: {</code>, below that insert <code>attributes: { keepContents: true },</code>
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 ==
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits