Modding:Basic Modding Examples: Difference between revisions
From Vintage Story Wiki
(→Playing around with blocks: Improved formatting) |
No edit summary |
||
Line 6: | Line 6: | ||
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. | |||
== Changing sleep duration in beds == | == Changing sleep duration in beds == |