Modding:Coding An Item: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="nomobile" column-width: "60em2;>
<div class="nomobile" column-width: "60em2;>


Your root template lsx may look something like this:
An item will begin in the root template lsx. Here is an example for it:


  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
Line 100: Line 100:
  </save>
  </save>


 
Now, let's see how this links up to the localisation.
You can generate a handle by ticking the Handle box next to 'GENERATE' on the Multitool. It is much like an UUID but it starts with an H.
<?xml version="1.0" encoding="utf-8"?><contentList>
<content contentuid="HANDLE1" version="1">Circlet</content>
<content contentuid="HANDLE2" version="1">My circlet is cool.</content>
</contentList>


Meanwhile in your '''Armor.txt''', they link up like this:
Meanwhile in your '''Armor.txt''', they link up like this: