Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding the time required for eating/drinking  (Read 694 times)

Makbeth

  • Bay Watcher
  • His lower body is melted.
    • View Profile
Modding the time required for eating/drinking
« on: March 17, 2011, 03:25:56 pm »

I'm interested in modding the time it takes a dwarf to eat or drink in fortress mode.  In adventure mode, such actions are near-instantaneous, but I've seen my armor smith craft multiple masterwork steel breastplates in the time it takes Urist McLoafer to drink his ale.  When Urist McLoafer and his drinking buddies also happen to be a significant portion of the squad assigned to defend the fortress from the ambush right outside the door, this can be a problem.

I don't see any justification for drinking or eating to take so long, and I don't think it's going to be fixed anytime soon, so I'm wondering if it's feasible to find the memory address that controls the duration of this task and make it a more sane number.  I've looked through the raws and they don't seem to have anything useful in there, besides the possibility of removing the need to eat/drink entirely, which I'd rather not do.
Logged
Diso Faintpuzzles was born in 120.  Although accounts vary it is universally agreed that Diso was chosen by fate as the vanguard of destiny.

In the early spring of 143 Diso began wandering the wilds.

In the early spring of 143 Diso starved to death in the Horn of Striking.

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: Modding the time required for eating/drinking
« Reply #1 on: March 17, 2011, 03:56:01 pm »

Flasks make drinking much, much quicker. You can tell them to carry any drink and they'll use booze if they can.

The downside is that dwarves need to be in the military to do this.
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

NeoShodan

  • Escaped Lunatic
    • View Profile
Re: Modding the time required for eating/drinking
« Reply #2 on: May 26, 2011, 03:21:00 am »

So noone knows a way to handle this ? (modding the time it takes to drink/eat) Because
its a serious issue for me aswell.
Logged

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Modding the time required for eating/drinking
« Reply #3 on: May 26, 2011, 05:08:22 am »

Drinking from wells is almost instantaneous so long as the water isn't too far down, though, You'd have to remove ALCOHOL_DEPENDENT from the dwarf creature entry in the raws to get them using them. Is this sacrilege?
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Ieb

  • Bay Watcher
  • A Breakdancing Ogre
    • View Profile
Re: Modding the time required for eating/drinking
« Reply #4 on: May 26, 2011, 05:10:36 am »

I'm pretty sure the only way for you to get your people to eat and drink faster would be to raise their SPEED values. Or well, lower it. Downside to this is that they start doing EVERYTHING faster. Besides that, the tips here are pretty much the only way to improve your eating/drinking speeds.
Logged

Interus

  • Bay Watcher
    • View Profile
Re: Modding the time required for eating/drinking
« Reply #5 on: May 26, 2011, 12:44:43 pm »

Don't they eat like once a season or month and drink twice?  I think it's supposed to represent all the time they would spend eating and drinking during a season or month, without having them run off to the dining hall for a second every day.

That was just because you said you didn't see any justification for it.

And like Iep said, I don't think there's any way to mod them to eat or drink faster without doing everything faster.  I don't think there's even a way to make them eat or drink in any amounts between none and what they currently do.  The management solutions are probably your best bet.

Oh, and I've heard that they'll still drink alcohol first without ALCOHOL_DEPENDENT, they just don't get bad thoughts from going without.
Logged