Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Butchering sentients as orcs  (Read 2820 times)

Ekaton

  • Bay Watcher
  • Love the Bomb
    • View Profile
Butchering sentients as orcs
« on: June 14, 2016, 07:48:46 pm »

I am playing as orcs now and I can't butcher dwarfs I killed recently. Is there any way to do that?
Logged

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Butchering sentients as orcs
« Reply #1 on: June 14, 2016, 08:28:53 pm »

Not anymore, sorry.  As far as i can tell it's a Toady level change.

Fairin

  • Bay Watcher
  • Furry!
    • View Profile
Re: Butchering sentients as orcs
« Reply #2 on: June 14, 2016, 09:04:31 pm »

i butchered a dark strangler thief, it immediately crashed the game =)
Logged

Ekaton

  • Bay Watcher
  • Love the Bomb
    • View Profile
Re: Butchering sentients as orcs
« Reply #3 on: June 14, 2016, 09:08:41 pm »

Why is it so, do we even know? Does Toady want to make this game less controversial or something?
Logged

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Butchering sentients as orcs
« Reply #4 on: June 14, 2016, 09:23:55 pm »

No idea, I don't even know whether it was intentional.

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Butchering sentients as orcs
« Reply #5 on: June 14, 2016, 10:08:02 pm »

If you get a chance to test it, let me know if the Dismemberment Theatre's "practice diagnosis on corpse" accepts the bodies as inputs?  That would give us something to work with potentially.

Urlance Woolsbane

  • Bay Watcher
    • View Profile
Re: Butchering sentients as orcs
« Reply #6 on: June 14, 2016, 10:31:18 pm »

Apparently, removing CAN_LEARN from a creature via syndrome allows for it to be eaten/crafted/etc. once it's been killed. So, if you were to write a DFHack script that applied a syndrome with "CE_REMOVE_TAG:CAN_LEARN" to any creature slated for butchering, you might be able to eat sapients.

Toady claims that the change was a complete accident.
« Last Edit: June 14, 2016, 10:34:28 pm by Urlance Woolsbane »
Logged
"Hey papa, your dandruff is melting my skin. Is that normal?"
"SKREEEONK!!!"
"Yes, daddy."

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Butchering sentients as orcs
« Reply #7 on: June 14, 2016, 11:05:48 pm »

Apparently, removing CAN_LEARN from a creature via syndrome allows for it to be eaten/crafted/etc. once it's been killed. So, if you were to write a DFHack script that applied a syndrome with "CE_REMOVE_TAG:CAN_LEARN" to any creature slated for butchering, you might be able to eat sapients.

Toady claims that the change was a complete accident.

Thanks for the idea, although we're primarily talking about remains of fallen invaders or animal-men, not sentient creatures marked for butchering, so i don't think it actually works. 

Maybe if blood mages make it back in someday they can get such a spell to cast on enemies. ;)

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Butchering sentients as orcs
« Reply #8 on: June 15, 2016, 12:19:44 am »

I have a script that removes the corpse flag from corpses, making them available for reactions... at least I had one, in 34.11. No idea if it still works.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Butchering sentients as orcs
« Reply #9 on: June 15, 2016, 01:14:31 am »

It only effects non-citizen corpses somehow, so doesn't mess with burials?

I'd prefer to minimize the number of background running scripts though, and especially not too excited about ones that aren't widely used and maintained.  Seems like asking for new troubles!

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Butchering sentients as orcs
« Reply #10 on: June 15, 2016, 10:26:08 am »

1. It would affect all corpses.
2. It does not run in the background, but would be triggered in a workshop.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

than402

  • Bay Watcher
  • DF2014:we all knew it was inevitable
    • View Profile
Re: Butchering sentients as orcs
« Reply #11 on: June 15, 2016, 02:12:44 pm »

I have a script that removes the corpse flag from corpses, making them available for reactions... at least I had one, in 34.11. No idea if it still works.

could you upload it?
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Butchering sentients as orcs
« Reply #12 on: June 15, 2016, 03:12:04 pm »

Here you go:

corpse_reagents.lua
Code: [Select]
for _,item in ipairs(df.global.world.items.other.ANY_CORPSE) do
if item.flags.dead_dwarf == true then
item.flags.dead_dwarf = false
end
end
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

than402

  • Bay Watcher
  • DF2014:we all knew it was inevitable
    • View Profile
Re: Butchering sentients as orcs
« Reply #13 on: June 15, 2016, 03:28:03 pm »

thanks. I will test it and write the results.

Okay, here are the results:

First of all, the script ran just fine on v.42.06 dfhack. I enabled cannibalism for my dwarves and embarked. Luckily, there was a group of raven people in my embark site, so I killed one using dfhack. The corpse went to the corpse stockpile as normal. Then I ran the script. A dwarf soon moved it to the refuse stockpile and then butchered it. The butchery products went where they were supposed to, and I managed to make a totem out of the luckless bird guy. So, as far as wildlife and presumably invaders are concerned, it works fine.

Then I killed a dwarf to see if the script would butcher him too. Here's where things got weird: Even in a cannibal civilization, it didn't butcher him (although it considered the corpse "remains"). When I tried to entomb him, however, my dwarves started to endlessly move the body from the tomb to the refuse stockpile and back to the tomb.

I tested it again, this time with a non cannibal civ and a sentient pet. After killing a cardinal man, I activated the script but they wouldn't butcher the corpse. Then I butchered the sentient pet and activated the script: The bones and the cartillage went to the refuse stockpile, but the meat, the fat and the skin remained in the corpse stockpile. I made some crafts out of his bones, but they wouldn't count the rest. Then, I tried to bury him. Again, they were moving the pieces from the stockpiles to the tomb.

Finally, I killed a dwarf, buried him and then activated the script. Thankfully, the already entombed dwarf remained where he was supposed to.

All in all, the script works but it has some issues.
« Last Edit: June 15, 2016, 04:12:42 pm by than402 »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Butchering sentients as orcs
« Reply #14 on: June 16, 2016, 03:54:59 am »

Quote
All in all, the script works but it has some issues.
I'd say all in all the script works but the game AI has some issues with the result. ;)

thanks for the nice test run. :)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::