Jump to content

SinModAmmo issues


Recommended Posts

Need some help, trying to create a custom book that unlocks the ability to dismantle ammo. I have everything working except for in the skills page under perk its showing 0/0 and i want it to show 0/1. any help would be great.

 

https://github.com/MerQSquadGaming/SinMod-7DTD-A18/tree/devMode/SinModAmmo

 

here is the link to my full code.

<SinModAmmo>
   <append xpath="/progression/skills">
       <skill name="skillAmmoDismantle" parent="attBooks" name_key="perkAmmoDismantle0Name" desc_key="perkAmmoDismantle0Desc" long_desc_key="perkBookGroupLongDesc" icon="ui_game_symbol_scrap">
           <effect_group/>
       </skill>
   </append>

   <append xpath="/progression/perks">
       <perk name="perkAmmoDismantle" parent="skillAmmoDismantle" max_level="1" base_skill_point_cost="0" desc_key="Unlocks the ability to dismantle ammo at workbench." long_desc_key="perkAmmoDismantleLongDesc" icon="ui_game_symbol_scrap">
           <effect_group>
               <passive_effect name="RecipeTagUnlocked" operation="base_set" level="1" value="1" tags="dismantle9mmBulletBall,dismantle9mmBulletAP,dismantle9mmBulletBallHP,dismantle44MagnumBulletBall,dismantle44MagnumBulletAP,dismantle44MagnumBulletHP,dismantle762mmBulletBall,dismantle762mmBulletAP,dismantle762mmBulletHP,dismantleShotgunShell,dismantleShotgunSlug,dismantleShotgunBreachingSlug"/>
           </effect_group>
       </perk>
   </append>
</SinModAmmo>

 

<item name="bookAmmoDismantle">
           <property name="Extends" value="schematicMaster" />
           <property name="CustomIcon" value="bookAmmoDismantle" />
           <property name="DescriptionKey" value="dismantleammo"/>
           <property name="Stacknumber" value="20"/>
           <property name="EconomicValue" value="500"/>
           <property name="Unlocks" value="perkAmmoDismantle"/>
           <property class="Action0">
               <property name="Class" value="Eat"/>
               <property name="Delay" value="1.0"/>
               <property name="Use_time" value="..."/>
               <property name="Sound_start" value="read_skillbook"/>
               <property name="Sound_in_head" value="true"/>
           </property>
           <effect_group tiered="false">

               <triggered_effect trigger="onSelfPrimaryActionEnd" action="SetProgressionLevel" progression_name="perkAmmoDismantle" level="1"/>
               <!-- level="-1" sets a perk to max level -->

               <triggered_effect trigger="onSelfPrimaryActionEnd" action="GiveExp" exp="50"/>

               <triggered_effect trigger="onSelfPrimaryActionEnd" action="SetProgressionLevel" progression_name="perkAmmoDismantle" level="1">
                   <requirement name="PerksUnlocked" skill_name="skillAmmoDismantle" operation="GTE" value="1"/>
               </triggered_effect>

               <triggered_effect trigger="onSelfPrimaryActionEnd" action="PlaySound" sound="read_skillbook_final" play_in_head="true">
                   <requirement name="PerksUnlocked" skill_name="skillAmmoDismantle" operation="GTE" value="1"/>
               </triggered_effect>
           </effect_group>
       </item>

 

I have tried many different combinations of values but cant get anthing but 0/0 to show ingame....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...