Confirmedusers, Bureaucrats, editor, Administrators
1,522
edits
(→Playing around with blocks: Improved formatting) |
VeryGoodDog (talk | contribs) m (VeryGoodDog moved page Basic Modding Examples to Modding:Basic Modding Examples: clean up main namespace) |
||
(6 intermediate revisions by 2 users 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. | ||
{{Protip | |||
Starting from Version 1.6 you should enable the error reporter by running the chat command /errorreporter 1 when you modify json files. With this, if you made any mistakes while changing the asset files, the game will display a dialog showing you all the errors it found. | |Starting from Version 1.6 you should enable the error reporter by running the chat command /errorreporter 1 when you modify json files. With this, if you made any mistakes while changing the asset files, the game will display a dialog showing you all the errors it found. | ||
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 | ||
</ | }} | ||
== 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 == | ||
Line 124: | Line 138: | ||
Save the file and restart the your singleplayer world, place your lit fire pit and you should see this: | Save the file and restart the your singleplayer world, place your lit fire pit and you should see this: | ||
<br> | |||
[[File:Moddedfirepit.png|300px]] | [[File:Moddedfirepit.png|300px]] | ||