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.

23a Talk:Purring maggot

From Dwarf Fortress Wiki
Jump to navigation Jump to search

The following binary patch allows tame purring maggots to be milked:

  • 0x22E93C : FF 10 83 F8 34 75 -> E9 24 02 00 00 74 (when checking cage/animaltrap contents, remove "if (item->getType() == VERMIN)" check and and jump to new code below)
  • 0x22EB65 : 90 90 90 90 90 90 90 90 90 90 90 -> FF 90 B0 00 00 00 E9 D1 FD FF FF (add new code to check "if (item->isCritter())")
  • 0x35FA44 : 40 54 4B -> 50 28 5E (change "item_petst::isMilkable(...)" to point at "item_verminst::isMilkable(...)" instead of just doing "return false;")
  • 0xF16A1 : 18 -> 58 (change "Milk Creature" job to pull from "world.items.other[CRITTER]" instead of "world.items.other[COOKABLE]")

--Quietust (talk) 03:29, 30 June 2021 (UTC)