Modding:Block and Item Interactions/ru: Difference between revisions

From Vintage Story Wiki
(Created page with "== Добавление частиц ==")
Tags: Mobile edit Mobile web edit
(Created page with "Теперь нам нужно реализовать функцию взаимодействия. Прежде всего нам нужно указать, что игрок может "использовать" этот инструмент, поэтому нам нужно установить handling в <code>handled</code> ...")
Line 31: Line 31:
== Добавление частиц ==
== Добавление частиц ==


<div lang="en" dir="ltr" class="mw-content-ltr">
Теперь нам нужно реализовать функцию взаимодействия. Прежде всего нам нужно указать, что игрок может "использовать" этот инструмент, поэтому нам нужно установить handling в <code>handled</code> ...
Now we need to implement the interact function. First of all we need to specify that the player can "use" this tool, therefore we need to set handling to <code>handled</code> ...
</div>


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">