Modding:Advanced Items: Difference between revisions

From Vintage Story Wiki
m
Double checked information and updated version
No edit summary
m (Double checked information and updated version)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__FORCETOC__
__FORCETOC__
 
{{GameVersion|1.15}}
''Mod written for version 1.9 of Vintage Story''


It's highly recommended to read [[Basic Item]] first. Additionally this tutorial requires a development environment. If you don't have one already you should read the tutorial [[Setting up your Development Environment]].
It's highly recommended to read [[Basic Item]] first. Additionally this tutorial requires a development environment. If you don't have one already you should read the tutorial [[Setting up your Development Environment]].
Line 22: Line 21:
== The Item Class ==
== The Item Class ==


If you have read the [[Advanced Blocks]] Tutorial already, this should be fimilar to you.
If you have read the [[Advanced Blocks]] Tutorial already, this should be familar to you.


In order to register your item class, we need to create a mod, which is basically a class exendting ModSystem:
In order to register your item class, we need to create a mod, which is basically a class exendting ModSystem:
Line 199: Line 198:


In order to finish everything, open the modtools and type in <code>pack <your mod id></code>. Now you can take the zip file and share it with other people. It will work in the same way as ordinary mods, you can install it by copying it into the <code>mods</code> folder.
In order to finish everything, open the modtools and type in <code>pack <your mod id></code>. Now you can take the zip file and share it with other people. It will work in the same way as ordinary mods, you can install it by copying it into the <code>mods</code> folder.
= Mod Download =


Here is my version:  
Here is my version:  
editor
72

edits