Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Butcherable/edible creature made of plants?  (Read 881 times)

SoggyGoat

  • Bay Watcher
  • Some call them clowns... I call them bitches.
    • View Profile
Butcherable/edible creature made of plants?
« on: May 28, 2018, 10:27:10 am »

Howdy! I'm trying to make a creature for my mod--let's call him plantman for now--that drops plants when butchered instead of meat. Well, he drops "plantman plant fiber" when butchered, but it's not letting me cook it, eat it, or use it in any way. I have the raws here if someone could be so kind as to show me what I did wrong.

Spoiler (click to show/hide)
Logged

Aurum System

  • Bay Watcher
  • (Gai, and others) (They/Them collectively)
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #1 on: May 28, 2018, 11:39:30 am »

Add [BUTCHER_SPECIAL:PLANT:NONE] to the plant material or make a plant growth on a dummy plant and use [BUTCHER_SPECIAL:PLANT_GROWTH:GROWTHNAME].

Edit; I think it's actually. [BUTCHER_SPECIAL:PLANT_GROWTH:PLANTNAME:GROWTHNAME]
« Last Edit: May 28, 2018, 05:32:52 pm by Madd »
Logged

SoggyGoat

  • Bay Watcher
  • Some call them clowns... I call them bitches.
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #2 on: May 28, 2018, 03:13:14 pm »

Okay, I added [BUTCHER_SPECIAL:PLANT_GROWTH:NONE] and it now shows up properly as cookable, but is there a way to get it to be stillable? I added this
Spoiler (click to show/hide)

But that just gives me an error that DRINK isn't a creature token.
Logged

Aurum System

  • Bay Watcher
  • (Gai, and others) (They/Them collectively)
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #3 on: May 28, 2018, 03:55:40 pm »

Drink doesn't do what you want in plants anymore, it's so entities have the drinks made from that plant.

Add this to the plantman fiber material. [MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_CREATURE_MAT:DRINK]
« Last Edit: May 28, 2018, 05:29:22 pm by Madd »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Butcherable/edible creature made of plants?
« Reply #4 on: May 28, 2018, 05:14:51 pm »

Should probably make a PLANT that houses all of the materials for this PLANT_MAN

the STRUCTUAL material has already been suggested to use [BUTCHER_SPECIAL]

And the [MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_CREATURE_MAT:DRINK] has already been given
Logged

SoggyGoat

  • Bay Watcher
  • Some call them clowns... I call them bitches.
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #5 on: May 29, 2018, 03:16:18 am »

That took an embarrassing amount of time to get how I wanted. Thank you guys for helping me out! I'll post the finalized raws here if future people want to make their own plantmen.

Spoiler (click to show/hide)
Logged

Aurum System

  • Bay Watcher
  • (Gai, and others) (They/Them collectively)
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #6 on: May 29, 2018, 09:43:51 am »

I don't see the DRINK material defined...
Logged

SoggyGoat

  • Bay Watcher
  • Some call them clowns... I call them bitches.
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #7 on: May 29, 2018, 01:39:33 pm »

I added  [MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_CREATURE_MAT:DRINK] and it's letting me brew it just fine. Is there something else I should've added?
Logged

Aurum System

  • Bay Watcher
  • (Gai, and others) (They/Them collectively)
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #8 on: May 29, 2018, 02:27:07 pm »

Let me explain via quoting the errorlog.

"*** Error(s) finalizing the creature TOMATOBOY
undefined local creature material set to default: TOMATOBOY DRINK"

TOMATOBOY doesn't have a local creature material called DRINK defined so the game sets the material as default. (You can brew it, but it's not alcohol.)

add this to your tomatoboy
Code: [Select]
[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:frozen tomatoboy wine]
[STATE_NAME_ADJ:LIQUID:tomatoboy wine]
[STATE_NAME_ADJ:GAS:boiling tomatoboy wine]
[MATERIAL_VALUE:2]
[DISPLAY_COLOR:5:2:0]
[EDIBLE_RAW]
[EDIBLE_COOKED]
[PREFIX:NONE]
« Last Edit: May 29, 2018, 02:34:09 pm by Madd »
Logged

SoggyGoat

  • Bay Watcher
  • Some call them clowns... I call them bitches.
    • View Profile
Re: Butcherable/edible creature made of plants?
« Reply #9 on: May 29, 2018, 02:31:58 pm »

What would I do without you guys. I'll add that right away! I hope I'm not being too much of a bother, I know I've made several threads recently.
Logged