Changes

21 bytes removed ,  03:41, 4 October 2019
move some info from 'format' into 'raw data'
Line 4: Line 4:     
==Raw data==
 
==Raw data==
Object data is stored in <tt>Content\Data\weapons.xnb</tt>, which can be [[Modding:Editing XNB files#unpacking|unpacked into a text file]]. Here's the raw data as of {{version|1.3.36}} for reference:
+
Weapon sprites are in <tt>TileSheets\Weapons.xnb</tt>, and weapon data (parsed by the <tt>MeleeWeapon</tt> constructor) is in <tt>Data\Weapons.xnb</tt>. The files can be [[Modding:Editing XNB files#unpacking|unpacked into a text file]]. Here's the raw data as of {{version|1.3.36}} for reference:
    
{{collapse|Code|content=<source lang="json">
 
{{collapse|Code|content=<source lang="json">
Line 65: Line 65:     
==Format==
 
==Format==
 
+
The weapon data in <tt>Data\Weapons.xnb</tt> contains eleven fields:
Weapons (sprites taken from <<tt>TileSheets\Weapons.xnb</tt> and data taken from <tt>Data\Weapons.xnb</tt>) are parsed by the <tt>MeleeWeapon</tt> constructor and contain eleven fields:
      
{| class="wikitable"
 
{| class="wikitable"
translators
8,437

edits