Jump to content

Edit History

Please note that revisions older than 365 days are pruned and will no longer show here
The Freehold

The Freehold


spelling correction

I was able to get this working for V1.0.  The code in the modinfo.xml need to be updated to something like this -

<?xml version="1.0" encoding="UTF-8" ?>
<xml>
	<Name value="Survivor_s_Katana" />
	<DisplayName value="Survivor's Katana" />
	<Description value="Adds a few bladed weapons to the game so you can keep using melee for end game." />
	<Author value="RussianDood" />
	<Version value="3.0" />
	<Website value="http://7daystodie.com" />
</xml>

 

And the code in the progression.xml need to be updated to this - 

<?xml version="1.0" encoding="utf-8"?>

<configs>
	<set xpath="/progression/crafting_skills/crafting_skill[@name='craftingBlades']/@max_level">100</set>
	
	<set xpath="/progression/crafting_skills/crafting_skill[@name='craftingBlades']">
		<display_entry item="meleeWpnBladeT0BoneKnife" unlock_level="1,2,4,6,8,10" />
		<display_entry item="meleeWpnBladeT1HuntingKnife" unlock_level="11,15,20,25,30,35" />
		<display_entry item="meleeTantoKnife" unlock_level="25,32,37,43,49,55" />
		<display_entry item="meleeWpnBladeT3Machete" unlock_level="36,43,51,59,67,75" />
		<display_entry item="meleeKatanaSword" unlock_level="64,73,82,91,95,100" />
		<effect_group>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="1,75" value="1" tags="meleeWpnBladeT0BoneKnife"/>
			<passive_effect name="CraftingTier" operation="base_add" level="2,4,6,8,10,75" value="1,2,3,4,5,5" tags="meleeWpnBladeT0BoneKnife"/>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="11,75" value="1" tags="meleeWpnBladeT1HuntingKnife"/>
			<passive_effect name="CraftingTier" operation="base_add" level="15,20,25,30,35,75" value="1,2,3,4,5,5" tags="meleeWpnBladeT1HuntingKnife"/>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="25,100" value="1" tags="meleeTantoKnife"/>
			<passive_effect name="CraftingTier" operation="base_add" level="32,37,43,49,55,100" value="1,2,3,4,5,5" tags="meleeTantoKnife"/>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="36,75" value="1" tags="meleeWpnBladeT3Machete"/>	
			<passive_effect name="CraftingTier" operation="base_add" level="43,51,59,67,75" value="1,2,3,4,5" tags="meleeWpnBladeT3Machete"/>			
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="64,100" value="1" tags="meleeKatanaSword,partsKatanaBlade,partsKatanaHandle,partsKatanaSpacer"/>
			<passive_effect name="CraftingTier" operation="base_add" level="73,82,91,95,100" value="1,2,3,4,5" tags="meleeKatanaSword"/>
		</effect_group>
	</set>
	
</configs>

 

Something goes wonkie in V1.0 if you have an append that adds in things before the last entry in that section.  Before I started playing around with the code, I was locked out of making machetes of any tier.

 

Edit for spelling.

The Freehold

The Freehold

I was able to get this working for V1.0.  The code in the modinfo.xml need to be updated to something like this -

<?xml version="1.0" encoding="UTF-8" ?>
<xml>
	<Name value="Survivor_s_Katana" />
	<DisplayName value="Survivor's Katana" />
	<Description value="Adds a few bladed weapons to the game so you can keep using melee for end game." />
	<Author value="RussianDood" />
	<Version value="3.0" />
	<Website value="http://7daystodie.com" />
</xml>

 

And the code in the progression.xml need to be updated tho this - 

<?xml version="1.0" encoding="utf-8"?>

<configs>
	<set xpath="/progression/crafting_skills/crafting_skill[@name='craftingBlades']/@max_level">100</set>
	
	<set xpath="/progression/crafting_skills/crafting_skill[@name='craftingBlades']">
		<display_entry item="meleeWpnBladeT0BoneKnife" unlock_level="1,2,4,6,8,10" />
		<display_entry item="meleeWpnBladeT1HuntingKnife" unlock_level="11,15,20,25,30,35" />
		<display_entry item="meleeTantoKnife" unlock_level="25,32,37,43,49,55" />
		<display_entry item="meleeWpnBladeT3Machete" unlock_level="36,43,51,59,67,75" />
		<display_entry item="meleeKatanaSword" unlock_level="64,73,82,91,95,100" />
		<effect_group>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="1,75" value="1" tags="meleeWpnBladeT0BoneKnife"/>
			<passive_effect name="CraftingTier" operation="base_add" level="2,4,6,8,10,75" value="1,2,3,4,5,5" tags="meleeWpnBladeT0BoneKnife"/>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="11,75" value="1" tags="meleeWpnBladeT1HuntingKnife"/>
			<passive_effect name="CraftingTier" operation="base_add" level="15,20,25,30,35,75" value="1,2,3,4,5,5" tags="meleeWpnBladeT1HuntingKnife"/>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="25,100" value="1" tags="meleeTantoKnife"/>
			<passive_effect name="CraftingTier" operation="base_add" level="32,37,43,49,55,100" value="1,2,3,4,5,5" tags="meleeTantoKnife"/>
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="36,75" value="1" tags="meleeWpnBladeT3Machete"/>	
			<passive_effect name="CraftingTier" operation="base_add" level="43,51,59,67,75" value="1,2,3,4,5" tags="meleeWpnBladeT3Machete"/>			
			<passive_effect name="RecipeTagUnlocked" operation="base_set" level="64,100" value="1" tags="meleeKatanaSword,partsKatanaBlade,partsKatanaHandle,partsKatanaSpacer"/>
			<passive_effect name="CraftingTier" operation="base_add" level="73,82,91,95,100" value="1,2,3,4,5" tags="meleeKatanaSword"/>
		</effect_group>
	</set>
	
</configs>

 

Something goes wonkie in V1.0 if you have an append that adds in things before the last entry in that section.  Before I started playing around with the code, I was locked out of making machetes of any tier.

×
×
  • Create New...