Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Giving Dwarves Happy Thoughts  (Read 1558 times)

Nighthawk

  • Bay Watcher
  • INT Score: Yes
    • View Profile
Giving Dwarves Happy Thoughts
« on: July 30, 2011, 11:43:12 pm »

We all know that Happy Thoughts make fortress life much easier.

Mainly, they prevent Tantrums.

So, I'm here to ask, what line of code gives Dwarves happy thoughts? Is there a way to change what gives them happy thoughts? Can we make it so that Dwarves become ecstatic when a Noble dies or a Baby gets launched from a catapult? (I don't know if that's possible, but we can dream.)

Is there any way to change what events make Dwarves happy?
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Giving Dwarves Happy Thoughts
« Reply #1 on: July 30, 2011, 11:58:20 pm »

Since we can't modify DF's source code, asking what line of code gives dwarves happy thoughts is moot.  All we can do is edit the raws, and I don't think there's anything in there that controls what causes happy thoughts.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Giving Dwarves Happy Thoughts
« Reply #2 on: July 31, 2011, 10:54:54 am »

You CAN, however, make dwarves more or less affected by happy or sad thoughts, or make them more or less friendly (which causes them to make more friends or grudges, increasing or decreasing their happiness).
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

Nidokoenig

  • Bay Watcher
    • View Profile
Re: Giving Dwarves Happy Thoughts
« Reply #3 on: July 31, 2011, 12:29:31 pm »

You can also do fairly crude things by manipulating what does produce thoughts. For example, a fairly inevitable result of the cocktail add-on I'm making for My Little Fortress is the proliferation of value-increased booze, dwarven brandy, dwarven sherry, the actual cocktails and so on, will make happy thoughts from booze much stronger, though this will have a labour cost to balance it(We killed the ursa major, unforbid the sparkling sunshine!).

Do new buildings like display cases cause positive thoughts? Doesn't really matter, though, you can spam different kinds of positive thoughts by just have a masterpiece one of every vanilla piece of furniture in the dining hall, meeting area and living quarters.
Logged