v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing 40d:Cat cancels Store Item in Stockpile: Too injured
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{{D for Dwarf}} | {{D for Dwarf}} | ||
<!-- NOTE - this fix is NOT a "modification", in the user-sense. It is a line of code that got deleted between versions, and so is, in fact, "authorized".--> | <!-- NOTE - this fix is NOT a "modification", in the user-sense. It is a line of code that got deleted between versions, and so is, in fact, "authorized".--> | ||
− | :Your cat kills a | + | :Your cat kills a {{L|vermin}}. |
− | |||
− | |||
− | |||
− | + | :It reaches down to pick it up. | |
− | + | :It realizes it has no hands, cries out "My hands! My beautiful hands! Someone has chopped off my beautiful han... wait, I'm a cat, I don't have hands. Right," and then continues on with its business. | |
− | This | + | This error {{L|announcement}} is actually caused by an old bug in the system which was reintroduced in 40d. When a {{L|pet}} {{L|cat}} kills a {{L|vermin}}, it picks it up with its mouth and carries it to its owner, to bask in the display of gratitude that every cat owner shows upon being gifted small dead animals. |
+ | |||
+ | Once it gets to its owner, it realizes that it needs to get rid of the vermin and decides that the best way to do this is to haul it to a refuse stockpile. However, the cat's mouth does not possess the <tt>[GRASP]</tt> tag, so it generates this error message and drops the vermin on the ground (which it was supposed to do in the first place). | ||
== Fixing the bug ==<!-- NOTE - this fix is NOT a "modification", in the user-sense. It is a line of code that got deleted between versions, and so is, in fact, "authorized".--> | == Fixing the bug ==<!-- NOTE - this fix is NOT a "modification", in the user-sense. It is a line of code that got deleted between versions, and so is, in fact, "authorized".--> | ||
− | As your cat and vermin population expands this message becomes more and more common, but it is easy enough to fix by | + | As your cat and vermin population expands this message becomes more and more common, but it is easy enough to fix by {{L|modding}} (the exact steps are explained below). You don't even have to {{L|World generation|generate a new world}}. |
'''Step One''' | '''Step One''' | ||
Line 54: | Line 53: | ||
And you're done. | And you're done. | ||
+ | |||
+ | Noted Error: Once a cat adopts a dwarf, this no longer works | ||
+ | |||
Note that you don't have to edit the <tt>[ATTACK]</tt> line, even though it contains a <tt>MOUTH</tt> too. This is because the "mouth" in this case is referring to the [MOUTH] body part token, not the body part itself (you'll note that our <tt>CAT_MOUTH</tt> has this mouth tag, too). | Note that you don't have to edit the <tt>[ATTACK]</tt> line, even though it contains a <tt>MOUTH</tt> too. This is because the "mouth" in this case is referring to the [MOUTH] body part token, not the body part itself (you'll note that our <tt>CAT_MOUTH</tt> has this mouth tag, too). | ||
− | |||
{{Errors FAQ}} | {{Errors FAQ}} |