<item id="1530" name="GenericSlugAmmo">
Can this have spaces in the XML ? like
<item id="1530" name="Generic Slug Ammo">
Is there anyway to write it so it works as ive edited the code
I wrote this code in myself keepting to what the old code looked like, tried different ways but it doesnt seem to work, The original code doesnt have spaces & that has spaces when in game ? so something is different..
Ok just tested it with a space in the wording & it works lmao..... I never thought to check that as no spaces exist in any of the coding yet there are spaces in game, dont figure...
<item id="2393" name="Tazas Stoneaxe Thor">
<property name="DescriptionKey" value="tazasStoneaxeDesc"/>
<property name="Extends" value="stoneAxe"/>
<property name="Meshfile" value="Items/Weapons/Melee/Axe/stone_axePrefab"/>
<property name="EconomicValue" value="800"/>
<property name="CustomIcon" value="stoneAxe"/>
<property name="CustomIconTint" value="ffb0d8"/>
<property class="Action0">
<property name="Stamina_usage" value="0.1"/>
<property name="DamageBonus.wood" value="2"/>
<property name="DamageBonus.head" value="1"/>
<property name="DamageBonus.glass" value="1"/>
<property name="DamageBonus.earth" value="1"/>
<property name="DamageBonus.stone" value="2"/>
<property name="DamageBonus.metal" value="1"/>
<property name="DamageBonus.organic" value="1"/>
<property name="ToolCategory.harvestingTools" value="1.8" param1="1"/>
<property name="ToolCategory.harvestingToolsBonus" value="1.6" param1="1"/>
<property name="ActionExp" value="4" />
<property name="ToolCategory.Butcher" value="0" param1="10"/>
</property>
<property class="Action1"> <!-- UseAction -->
<property name="Class" value="Repair"/>
<property name="Delay" value="0.4"/>
<property name="Repair_amount" value="350"/>
<property name="Upgrade_hit_offset" value="-2"/>
<property name="Sound_start" value="repair_block"/>
<property name="Allowed_upgrade_items" value="wood,clayLump,dirtFragment,snowBall,scrapIron,forgedIron,forgedSteel,steelPolish,concreteMix,cobblestones,yuccaFibers"/>
</property>
<property class="Attributes">
<property name="EntityDamage" value="7,19" />
<property name="BlockDamage" value="50,90" />
<property name="DegradationMax" value="900,2000" />
<property name="DegradationRate" value="1,1" />
<property name="DismembermentBaseChance" value="0.075,0.2"/>
<property name="DismembermentBonus" value="0,0"/>
</property>
</item>
This works to my surprise...