Jump to content

Recommended Posts

Hello again! I require some help on how to add a perk to my character.

I am using Extended Sample Character, and am trying to do what wickerbottom has (All science machine recipes known, science machine giving her alchemy engine level) but for magic (Already has prehastitator recipes known, prehastitator is like Shadow Manipulator.)

I currently have no clue how to do this, and even tried using someone else's advice on how to do regular wickerbottom science perk from a different topic (It didn't work, probably involves where to put it.)

Link to comment
Share on other sites

I pretty sure it goes inside your characters prefab code like so,

 

local fn = function(inst)

 

inst.components.builder.magic_bonus = 1

 

end

 

Inside where all your other characters stats go.

 

 

Link to comment
Share on other sites

Having a magic bonus of 2, like @Seiai suggested, will give your character the ability to create prestihatitator items.

 

inst.components.builder.magic_bonus = 2

 

Having a magic bonus of 3 will give your character the ability to create shadow manipulator Items without such a station.

 

inst.components.builder.magic_bonus = 3

 

It might also be worth noting that both the science machine and the alchemy machine provide a magic bonus of 1, meaning if your character has a magic bonus of 2 then your character will be able to craft shadow manipulator items from both the regular science machines.

Link to comment
Share on other sites

Archived

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

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...