Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: removing bird leather  (Read 993 times)

verdigriss

  • Bay Watcher
    • View Profile
removing bird leather
« on: March 23, 2012, 11:14:53 am »

Guys,
   Does anyone know a way to take bird leather out of the game?  I'm tired of seeing chicken leather goods.  You can buy ostrich leather but AFAICT that's it.  I see that the new birds lack anything like BUTCHERING_YIELDS, but I've seen a [REMOVE_LEATHER] tag around.  How does that work, or if it doesn't, do I have to delete skin from the birds, and if I do that, will there be any repercussions?  Thanks for any help.
Logged

Courtesy Arloban

  • Bay Watcher
  • This isn't a fortress... ...It's also not a map.
    • View Profile
Re: removing bird leather
« Reply #1 on: March 23, 2012, 12:21:16 pm »

There's a couple of mods that do this, one is Masterwork, another is Fortress Defense. There's also a utitlity that changes the raws to do this http://dffd.wimbli.com/file.php?id=5190 can be used on mods as well.
Logged
Maybe that the dwarves never died and everyone is just shunning them.
"Wait, what are you doing?  I don't want to go in there!  No, I'm still alive, you can't do this to me!  Is Anybody listening?  Hello... Can someone let me out?  Help me!  Is anyone there?  I'm running out of air!"

verdigriss

  • Bay Watcher
    • View Profile
Re: removing bird leather
« Reply #2 on: March 23, 2012, 01:30:56 pm »

Looking at the code to see how it works, that last utilty is... awesome  :o  ...awesomely complex.
Logged

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: removing bird leather
« Reply #3 on: March 23, 2012, 02:21:24 pm »

Looking at the code to see how it works, that last utilty is... awesome  :o  ...awesomely complex.

It's also out of date, and probably won't work with the current version.

To remove the existence of leather from a creature, you start by adding the line [REMOVE_MATERIAL:LEATHER] after the [BODY_DETAIL_PLAN:<whatever>_MATERIALS] line in the creature raw.  That will cause the creature to not have a leather material defined.  This will result in an undefined material being created if the creature is butchered and its skin tanned.  To fix that you also need to mod in a new material template.  Call it [MATERIAL_TEMPLATE:NOLEATHER_SKIN_TEMPLATE], and make it identical to [MATERIAL_TEMPLATE:SKIN_TEMPLATE] but missing the [MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER] line.  You then add to your creature the lines [REMOVE_MATERIAL:SKIN] and [USE_MATERIAL_TEMPLATE:SKIN:NOLEATHER_SKIN_TEMPLATE].  That should do it.
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

verdigriss

  • Bay Watcher
    • View Profile
Re: removing bird leather
« Reply #4 on: March 23, 2012, 02:26:22 pm »

Awesome, thanks.
Logged