• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help: Can't find a way to add a skill point by consuming an item

shinnlly

Refugee
I wanted to create a mod to add recipes to convert the buff magazines to a new generic page in a new skill point book, then a recipe to create the new skill book from 10 of these pages. I know how to do all of the above.

What I can't find is a way to add skill point to the player when they use the new skill point book. The word "skill" only shows up twice in the progression.xml and are unrelated to what I want to do.

Any suggestions?

 
Two ideas... In quests.xml you can add skillpoints as a reward.

Code:
<reward type="SkillPoints" value="2" />
I'm not sure how to add skill points through any other means, you may be able to work what you want into a quest somehow.

The other idea, here's an entry for a paint magazine in items.xml

Code:
<item name="paintMagazineFaux">
<property name="Extends" value="paintMagazineDecorations"/>
<property name="CreativeMode" value="Player"/>
<property class="Action0">
	<property name="Skills_to_gain" value="paintFaux"/>
</property>
</item>
Seems like skills_to_gain could be used to add a specific skill, but I don't know how to add more of those types of skills. I can't find any reference to paintFaux or the ability to add any other skills like that in any of the config files. It seems like the paint recipies/skills may be hardcoded.

 
I found a mod made by Kubikus that sort of combines these two thoughts together. Not exactly what I wanted, but it is workable.

Thanks!

 
I got it!! skills_to_gain does work for perks. Seems to require a Class to do so. On an item Action0 is left click, Action1 is right click.

<property class="Action0">

<property name="Class" value="GainSkill"/>

<property name="Skills_to_gain" value="perkHeadshot"/>

</property>

Now I still haven't found out how to add a general skill point yet, but you can do something like make a recipe for each perk eg PackMule that requires 5 PackMule magazines.

 
Last edited by a moderator:
Back
Top