Jump to content

Modifying perks and creating objects


ModBrains

Recommended Posts

I've made a mod that has consumables that grants levels of various perks.

 

The issue I'm facing is the item that grants levels of Chemistry (though I assume this issue would be the same for other perks in regards to crafting). The item grants level 4 Chemistry temporarily, but when I try to craft antibiotics it doesn't allow creation of the object.

 

The solution is to have the item contain multiple effects, each granting a different level of the perk in question.

 

Interestingly, the recipe for antibiotics verifies that player Chemistry level is GREATER THAN or equal to level 1 (>=). By all rights my object should work by just granting level 4, but only works when it actually grants level 1 specifically (tested by making the item only grant level 1 and it worked). Another interesting point is that lockpicking and hacking works as expected: I can lockpick/hack both Advanced, Expert and Master locks/terminals when I've only been granted the level 4 perk.

 

What I want to know is if anyone has any insight on the how the magic effect is handled in regards to crafting beyond any checks done by the recipe.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...