Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Forbidding items can remove them from artifact formula.  (Read 1370 times)

awdball

  • Bay Watcher
    • View Profile
Forbidding items can remove them from artifact formula.
« on: June 07, 2008, 08:34:00 pm »

Wait until the dwarf has collected all of the parts for their artifact and started the mysterious construction. Then use 't' to look at the items assembled in the shop for the task. Scroll to one, then 'f'orbid it. It gets removed from the task. The resulting artifact doesn't use the material and the material is left over for re-stocking after re-claiming.

I first did this by accident while trying to husband the few silk thread and cloth I have. As the dwarf started the mood he collected everythng up to the cloth he wanted. I had previously forbidden the few silk items we had just to keep them in reserve for such a mood. I re-claimed all the silk we had now since he was not satisfied with any of the pigtail cloth or thread we had in stock. Then once he started the construction I re-forbid the remaining ones, but actually forbid the one he was trying to use. Only after his final artifact didn't use silk did I realise what might have happened.

I just now reproduced this using the repro steps I mentioned firt. So now as long as no one dwarf asks for more than two silk threads or cloth bolts I never actually have to use them up if I choose to exploit this bug.

I'm not sure what would be a good way to fix this. Should he go get silk again until he's satisfied? Should he immediately go nuts from frustration? Should you not be able to forbid items already being used in a task?

I just gotta love programs so massive they can have edge cases like this. Thanks again Toady!

AWDBall

Logged

Calessa Lynn Orphiel

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #1 on: June 07, 2008, 09:53:00 pm »

Wonder what would happen if you forbid every single material the dwarf is working with ... crash?  Artifact nothing?
Logged

Skizelo

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #2 on: June 07, 2008, 10:47:00 pm »

a Large  .?
Last version with that wonderful bug sadly.
Logged

awdball

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #3 on: June 08, 2008, 01:27:00 am »

Well just tried that forbid everything for the fun of it.
Bim Cerolodgub started out with the following shopping list in his vision:
3 rocks: 1 basalt and 2 schist, 2 metal bars: both Iron, 3 leather: 2 dog and 1 mule, 2 raw gems: 1 raw green glass and 1 rough golden beryl.

and the final ansewr is:
... three months no finished artifact. uh oh...
yuppers: four months or so and Bim has gone stark raving mad!
The game survives that quite nicely. I was worried ther for a while nothing would happen, and he would just be "working furiously" waving his hands holding nothing for ever.

AWDBall

Logged

ein Syndication

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #4 on: June 08, 2008, 03:38:00 am »

The base ingredients are required no matter what, I'm sure he'd be furious about not having those. Try just forbidding the additional stuff next time, not the stone/wood/metal/etc, see if that still does it.
Logged

Qmarx

  • Bay Watcher
  • "?"
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #5 on: June 11, 2008, 11:00:00 am »

I believe that artifacts are made out of all nonforbidden raw components in the workshop.  If you can trick a dwarf into fetching additional components, he'll use them even if they aren't on his list.
Logged

Derakon

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #6 on: June 11, 2008, 01:07:00 pm »

quote:
Originally posted by Qmarx:
<STRONG>I believe that artifacts are made out of all nonforbidden raw components in the workshop.  If you can trick a dwarf into fetching additional components, he'll use them even if they aren't on his list.</STRONG>
How would you go about doing this? Forbid the items after he fetches them but before he starts construction, and then unforbid them after he fetches more?
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

Jreengus

  • Bay Watcher
  • Si Hoc Legere Scis Nimium Eruditionis Habes
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #7 on: June 11, 2008, 01:59:00 pm »

What would happen if you forbid the core item but not decoration items, a   studded with iron on it is an image of a
Logged
Oh yeah baby, you know you like it.  Now stop crying and get in my lungs.
Boil your penis. I'm convinced that's how it happened.
My HoM.

Derakon

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #8 on: June 11, 2008, 02:08:00 pm »

This is covered three posts up. The dwarf in question went insane.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #9 on: June 11, 2008, 02:16:00 pm »

Actually, that was when ALL the materials were forbidden.  I think That if you forbid only the base material, he would turn another one into the base.

It would be fun if you could pile more junk onto his list by putting it into the workshop, but I don't think that actually works...  It should be easy enough to test though.  Just set up a craftsdwarf's shop, queue up some task, wait for the material to get there, and then cancel the job.   Unfortunately, they'll use items that are in a workshop even if it's forbidden, so you'd only be able to have one stack of bones, one shell, one "normal" rock, one hunk of obsidian, and one piece of wood.  Still though, that could be fun to pile on.

Tylui

  • Bay Watcher
  • O_o
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #10 on: June 11, 2008, 05:28:00 pm »

Woo!  I just noticed this the other day.  I was going to wait until another of my dwarves got moody, then test it further before I reported it.  S'pose I don't have to, considering it's already been reported! ^_^
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Forbidding items can remove them from artifact formula.
« Reply #11 on: June 11, 2008, 09:39:00 pm »

Okay, I'll note it down.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Nesoo

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #12 on: June 12, 2008, 08:31:00 pm »

On a related note (and this may have been reported already, I'm too lazy to look it up), you can forbid an item that they've grabbed while they're on their way back to the shop and they will drop it and go for another item of the same type.

On the other hand, I'm glad that happened... darn smith grabbed the bars I had just bought from the caravan for another purpose (not that I remember what it was anymore).

Logged
000508 □ [dwarf mode][flows] flooding over a full pond will kill the fish inside

Doppel

  • Bay Watcher
    • View Profile
Re: Forbidding items can remove them from artifact formula.
« Reply #13 on: June 13, 2008, 06:37:00 am »

Slightly related but i once managed to get rid of a mood entirely (no, it didn't involve anything of the more gruesome nature), i don't remember well what i did but i know for sure it was done via the workshop itself. (i think he was already working furiously) Anyways, the dorf forgot he actually had a mood to begin with and thus didn't get mad after not having finished his artifact, i don't know if that mood counted towards the total number of artifacts one fortress can posses but i do suspect that particular dwarf to have "used up is mood".
I'll try reproducing it sometimes if i get the chance.
Logged
Doppel has been ecstatic lately. He took joy in playing DF lately. He slept on a rough cave keyboard recently.
He is a member of the Dwarf Fortress Forums.
Doppel likes the color Dark Blue, cats for their aloofness and girls for their silky soft brea beards.
He appreciates art and natural beauty.