Modding:Basic Modding Examples/ru: Difference between revisions

From Vintage Story Wiki
Created page with "Откройте файл <code>assets/game/entities/humanoid/player.json</code>, найдите строку, начинающуюся с <code>server: {</code>, ниже к..."
(Created page with "== Сохраните свое содержимое после смерти ==")
(Created page with "Откройте файл <code>assets/game/entities/humanoid/player.json</code>, найдите строку, начинающуюся с <code>server: {</code>, ниже к...")
Line 13: Line 13:
== Сохраните свое содержимое после смерти ==
== Сохраните свое содержимое после смерти ==


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>
Откройте файл <code>assets/game/entities/humanoid/player.json</code>, найдите строку, начинающуюся с <code>server: {</code>, ниже которой вставьте <code>attributes: { keepContents: true }, </code>


This should prevent the player from dropping its inventory upon death.
This should prevent the player from dropping its inventory upon death.
Confirmedusers
13,514

edits