Modding:Basic Modding Examples: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 44: Line 44:
Let's make the fire pit emit a red light and huge particles
Let's make the fire pit emit a red light and huge particles
<ul>
<ul>
<li>- Open up blocktypes/wood/generic/firepit.json. There you can see the following line:<br>
<li>Open up blocktypes/wood/generic/firepit.json. There you can see the following line:<br>
"firepit-lit": [7, 7, 17],
"firepit-lit": [7, 7, 17],
</li>
</li>
Line 52: Line 52:
</li>
</li>


<li>- On line 36 you should see this:<br>
<li>On line 36 you should see this:<br>
size: { avg: 0.25, var: 0 },
size: { avg: 0.25, var: 0 },
</li>
</li>