News for hackers. Stuff that matters.
Re:How Dwarf Fortress is built by AnIdiotOnTheNet on Thursday July 29, 2021 @01:36PM (#27999073)
Unfortunately it remains unexplained (by the article) why this is considered a bug. It would be unethical to test, but this seems like perfectly cromulent behavior one might actually see in real life.
Re:How Dwarf Fortress is built by alexander-litty on Thursday July 29, 2021 @03:34PM (#28000422)
Liquid items are funny in the game.

When you look at an item listing and you see something like “Mead”, that is truly all the item is —- it isn’t a cup of mead, it’s just a vague amount of the liquid mead itself, as if your hand was the only thing keeping it from hitting the ground.

But there are containers that can hold your liquid. You have mugs and goblets that hold one quantity of “Mead”, giving the impression that one count of mead is like a generic serving size. You also have barrels and pots that hold stacks of “Mead”.

Creatures are kind of like walking containers and have their own detailed inventories. Among the things you’d expect to find like armor, weapons, and books, you might also find a “coating of tears” on a crying dwarf, or perhaps a “spattering of blood” on a murderous elf.

They’re not just static inventories for the fun of a story, creatures do interact with them and use them. Dwarves covered in a vomit item will (hopefully) put any available soap in their inventory and use it to clean themselves in water, for example.

Cats are simple and just clean themselves with no water or soap needed. The catch with them is that they ingest whatever they have cleaned off of them.

So, putting all this together: The problem was that cats pick up a whole “serving size” of alcohol and proceed to clean themselves, ingesting the entire serving. The bug surrounds the vagueness of liquid sizes.

And it was fixed accordingly! Cats are still vulnerable to the effects of self-cleaned alcohol, but the strength is now proportional.

https://www.bay12games.com/dwarves/mantisbt/view.php?id=9195...

Re:How Dwarf Fortress is built by db48x on Thursday July 29, 2021 @03:47PM (#28000557)
My favorite feature in Dwarf Fortress is that all eyelids automatically clean their associated eyeball, just so that players don’t post about how their dwarves have vomit on their eyeballs.
Re:How Dwarf Fortress is built by PeterisP on Thursday July 29, 2021 @05:09PM (#28001535)
Ahh, so if a dwarf would have a missing eyelid because of combat or some mining accident, then they could have vomit on their eyeballs.
Re:How Dwarf Fortress is built by db48x on Friday July 30, 2021 @01:09AM (#28004684)
Yes! And the next time they cleaned themselves, they would use soap on that eyeball, if it was available.
Re:How Dwarf Fortress is built by paavohtl on Thursday July 29, 2021 @01:39PM (#27999122)
IIRC the actual bug was that cats licking their paws made them consume an entire tankard's worth of beer with each lick, which made them drunk (and dead) with just a few licks.
Re:How Dwarf Fortress is built by Arrath on Thursday July 29, 2021 @02:08PM (#27999539)
Yeah this is what I recall being the case as well.
Re:How Dwarf Fortress is built by MikeTheGreat on Thursday July 29, 2021 @03:10PM (#28000173)
My experiences with cats (at least in my own life) is that cats prefer not walk into an area with a sticky floor if they can avoid it.

Clearly there's a bug here where the cat will keep wandering around on the sticky floor, and then keep consuming the alcohol off it's paws.

The obvious fix is to add a feature wherein different creatures have preferences about where they go next, and then use that to have the cats avoid the bar floor if they can.

As a bonus you can include stuff like "Cats don't like hanging out in crowded areas" so that they'll also stay out of the main hall when the army is gathering to muster forth, etc.

(/s, but only slightly :) )

Re:How Dwarf Fortress is built by Filligree on Thursday July 29, 2021 @03:20PM (#28000274)
No need for the /s. This is precisely the level of simulation Toady is hoping for, and there are many equivalent examples already.
Re:How Dwarf Fortress is built by db48x on Thursday July 29, 2021 @03:50PM (#28000593)
Good suggestion. It would occasionally be nice if the _dwarves_ would avoid stepping in things and tracking it all over the place. The only reason that the cats were in the tavern in the first place is that pets follow their owner* around.
Re:How Dwarf Fortress is built by philipov on Saturday July 31, 2021 @04:58PM (#28021504)
The * refers to the fact that cats are the owners, and dwarves are their pets. A truly accurate understanding of how cats work.
Re:How Dwarf Fortress is built by queuebert on Thursday July 29, 2021 @03:51PM (#28000630)
And this is how you get 700k lines of code.
Re:How Dwarf Fortress is built by shrimpx on Thursday July 29, 2021 @03:59PM (#28000722)
The bug was a numerical error that would cause cats to drink something like the equivalent of a pint of beer for every lick, and therefore die prematurely. He talks about it in this video:

https://www.youtube.com/watch?v=VAhHkJQ3KgY

Re:How Dwarf Fortress is built by yung_steezy on Thursday July 29, 2021 @01:52PM (#27999302)
I agree these types of features really embiggen the game
Re:How Dwarf Fortress is built by beamatronic on Thursday July 29, 2021 @04:41PM (#28001232)
They're perfectly cromulent features.
Re:How Dwarf Fortress is built by ant6n on Friday July 30, 2021 @12:30AM (#28004457)
careful, its unpossible not to get downvoted with these kinds of jokes (err, low effort comments).
Re:How Dwarf Fortress is built by spoonjim on Thursday July 29, 2021 @02:36PM (#27999865)
Cats in bars don’t die of alcohol poisoning regardless of the amount of beer spilled on the floor.
Re:How Dwarf Fortress is built by Filligree on Thursday July 29, 2021 @03:21PM (#28000292)
The actual bug here was a mistake in handling of liquid volume. The cats were ingesting a tankard’s with with each lick, and they’re smaller than dwarves, so that killed them.
Re:How Dwarf Fortress is built by praptak on Thursday July 29, 2021 @04:46PM (#28001292)
I read about a cat who used to visit a pub and learned to lick beer from under taps. The cat got banned from the pub for its own good but I don't believe it was anywhere close to poisoning.
Re:How Dwarf Fortress is built by kingofclams on Thursday July 29, 2021 @07:17PM (#28002672)
Do you have a source for this?
Re:How Dwarf Fortress is built by praptak on Friday July 30, 2021 @09:05AM (#28007493)
No, I read this a long time ago in a paper press article and I cannot dig up anything electronic.