Jump to content

Recommended Posts

Hello, I'm now attempting to code my character. My game crashes now. I need help with it. Can someone pass me up some advice or something.

1. Gains a little sanity when eating food.

2. Always has a jacket on.

3. Clockwork allies,  but Bunnymanphobia. - bunnymen will attack on sight and you lose sanity.

Edited by Showbizharbor9
Link to comment
https://forums.kleientertainment.com/forums/topic/81750-help-coding-my-character/
Share on other sites

How can I add a insanity effect around bunny men. I was thinking of using thing

    elseif self.inducedinsanity_sources ~= nil then
        self.inducedinsanity_sources[src] = nil
        if next(self.inducedinsanity_sources) == nil then
            self.inducedinsanity_sources = nil

But Im not sure still. You guys know more than me.

Yeah something to that effect

local SanityAura = Class(function(self, inst)
    self.inst = inst
    self.aura = 0
    self.aurafn = nil
end)

How would a use one of these

Edited by Showbizharbor9

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