Modding:Content Tutorial Simple Item: Difference between revisions

From Vintage Story Wiki
m
More going further...
m (Going further section.)
m (More going further...)
Line 39: Line 39:
Want to make some additional changes to this mod? Try and achieve the following things!
Want to make some additional changes to this mod? Try and achieve the following things!


* Change the color of the wand.
==== Change the color of the wand ====
{| class="wikitable mw-collapsible mw-collapsed"
!To achieve this...
|-
!Modify the simplewand.png texture to a different color.
|}


{| class="mw-collapsible mw-collapsed"
==== Change your modid and domain to something else ====
{| class="wikitable mw-collapsible mw-collapsed"
!To achieve this...
!To achieve this...
|-
|-
!Modify the simplewand.png texture to a different color!
!Modify both the modid entry in modinfo.json, and change the name of the 'simpleitem' folder in 'assets'.
|}
|}


* Change your modid and domain to something else.
==== Rename your 'Simple Wand' ====
{|
!To achieve this...
|-
!Change the entry for simplewand in your en.json lang file.
|}


==== Create another wand of different color ====
{|
{|
!To achieve this...
!To achieve this...
|-
|-
!Modify both the modid entry in modinfo.json, and change the name of the 'simpleitem' folder in 'assets'.
!Create a copy of the texture with a different name and color, and a duplicate itemtype file. In the new itemtype file, change the item code and change the texture property to your new texture path. Don't forget to add new lang translation entries!
|}
|}


Confirmedusers
575

edits