Jump to content

Recommended Posts

Depending on which form the character takes their passive dapperness and night sanity loss changes.
I tried to code it in using the same code I used for general transformation, but it fell apart with dusk (Sun keeps his dapperness instead of switching to night drain, Moon doesnt get his night gain etc), was told it is a control flow issue, however I don't know how to work anythin further

babysitter.lua

Link to comment
https://forums.kleientertainment.com/forums/topic/141205-day-phase-as-a-trigger/
Share on other sites

15 hours ago, -t- said:

Try adding inst.components.sanity.night_drain_mult and inst.components.sanity.dapperness to ShadowFormController and set it to appropriate values depending on the form there.

Already tried that the first time, the result was the same as stated above

6 hours ago, -t- said:

Weird. If the character changes forms properly in should work as intended.

Yeah, thought so too. Don't know where exactly it fails tho, first day is all fine, but at dusk it goes crazy.  At night Sun gets big sanity gain, so either Moon's night gain activates or Sun's dapperness doesn't change correctly.

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...