Jump to content

Recommended Posts

Hi, I'm modding a character and I wan't to know how can I do:

My character know recipes and can craft an item in earlygame without the science machine. (like wickerbottom)

My character start with an item.

My character recieve double damage or something like that.

 

What's the codes to do that? What I need to do that? Thanks.

I suggest looking at characters who already come with items, download mods from the workshop and

investigate them, also the damage can be easily edited by enter (name of your character).lua

 and for example for your chacter to lose sanity near monsters, in the same file and you put this:

 

--how fast sanity lowers when near monsters
    inst.components.sanity.neg_aura_mult = 0.50    

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...