Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Making Bone Blocks in .31  (Read 1830 times)

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Making Bone Blocks in .31
« on: December 02, 2010, 08:00:10 pm »

Edit:  Success!  At least, a partial success.  Now progress on my elf-bone tower can begin.  I think I'll also try playing around with changing the appearance of the custom workshop.  Right now it looks just like the soap maker's workshop.  Changed!  Now my bone quarry looks like this:



Here's what I ended up doing.

Add the bone --> block reaction to reaction_other.txt
Spoiler (click to show/hide)

Add a custom workshop that can process the bones to building_custom.txt:
Spoiler (click to show/hide)

Allow dwarves to use the building and perform the reaction by adding this to entity_default.txt:
Spoiler (click to show/hide)

Original post (note that my original plan did not work):

Spoiler (click to show/hide)

P.S. This is essentially what I'd like to create.
Spoiler (click to show/hide)
« Last Edit: December 03, 2010, 12:50:36 am by Graebeard »
Logged
At last, she is done.

kilakan

  • Bay Watcher
    • View Profile
Re: Making Bone Blocks in .31
« Reply #1 on: December 02, 2010, 08:04:14 pm »

you also have to allow the race you are using to be able to use the reaction under it's entity file.
Logged
Nom nom nom

3

  • Bay Watcher
    • View Profile
Re: Making Bone Blocks in .31
« Reply #2 on: December 02, 2010, 08:06:09 pm »

Code: [Select]
     [PRODUCT:100:1:BLOCKS:NO_SUBTYPE:STONE:BONE]

BONE is not a type of stone.

The following may work (or not):

Code: [Select]
[PRODUCT:100:1:BLOCKS:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:1:NONE]
Logged

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: Making Bone Blocks in .31
« Reply #3 on: December 02, 2010, 08:14:25 pm »

BONE is not a type of stone.

The following may work (or not):

Code: [Select]
[PRODUCT:100:1:BLOCKS:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:1:NONE]

Awesome, thank you.

you also have to allow the race you are using to be able to use the reaction under it's entity file.

Good to know.  I added
Code: [Select]
[PERMITTED_REACTION:CONDENSE_BONE_BLOCKS] to the dwarf entry in entity_default.txt
Logged
At last, she is done.

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: Making Bone Blocks in .31
« Reply #4 on: December 02, 2010, 08:53:10 pm »

So, I genned up a new world, and the first thing I notice is that I can't seem to build the workshop.  There's just no entry for it under the {w}orkshops menu.

Did I make a mistake of some kind?  I checked the raws in the save folder, and I see that my Bone_Condenser is there.
Logged
At last, she is done.

3

  • Bay Watcher
    • View Profile
Re: Making Bone Blocks in .31
« Reply #5 on: December 02, 2010, 09:10:03 pm »

Code: [Select]
[[REACTION:CONDENSE_BONE_BLOCKS]
     [NAME:Condense Bone Blocks]
     [BUILDING:BONE CONDENSER]
   
Should be:

Code: [Select]
[REACTION:CONDENSE_BONE_BLOCKS]
     [NAME:Condense Bone Blocks]
     [BUILDING:BONE_CONDENSER]

And   

Code: [Select]
[BUILDING_WORKSHOP:Bone_Condenser]
     [NAME:Bone Condenser]
   
Should be:

Code: [Select]
[BUILDING_WORKSHOP:BONE_CONDENSER]
     [NAME:Bone Condenser]
   
You should also add the workshop to the dwarf entity if you haven't already:

Code: [Select]
[PERMITTED_BUILDING:BONE_CONDENSER]
Logged

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: Making Bone Blocks in .31
« Reply #6 on: December 02, 2010, 10:15:13 pm »

Excellent, that fixed the problem.

Now, I've run into another.  I can't que a job; there's no "Condense Bone Blocks" option...

I've enabled the labor in the entity file.  Could the problem be with this product, or is something else more likely?
Code: [Select]
[PRODUCT:100:1:BLOCKS:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:1:NONE]
Edit:  OK, I think I fixed that issue.  Now I've got something else.  The bone carver ran over and picked up a dwarven wine barrel and made it into a tower-cap block...


Edit 2: I knew there had to be a thread about this somewhere.  I finally found this one.  Using the reagent and products from that thread my workshop turned a stack of donkey bones into a "donkey bone block".

Now I'm going to see if it's possible to do this somehow with, say, 10 individual bones rather than a single bone or a single stack regardless of the number of bones in the stack.
« Last Edit: December 02, 2010, 11:17:37 pm by Graebeard »
Logged
At last, she is done.

veok

  • Bay Watcher
    • View Profile
Re: Making Bone Blocks in .31
« Reply #7 on: December 02, 2010, 11:22:01 pm »

How hard would it be to modify the reaction to make bone bins as well? (Or can you do that by manipulating the bone RAWs alone?
Logged

3

  • Bay Watcher
    • View Profile
Re: Making Bone Blocks in .31
« Reply #8 on: December 02, 2010, 11:34:05 pm »

Assuming you're using the reaction in the linked thread, you'd only have to replace BLOCKS with BIN.
Logged

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: Making Bone Blocks in .31
« Reply #9 on: December 02, 2010, 11:35:20 pm »

Ninja'd.  But I'll post anyway.

I imagine it would be pretty simple.  I just updated the OP with all the things I did that worked.  I'm guessing that you could just create another reaction for bins:

Spoiler (click to show/hide)

Actually, I may as well give it a try right now and let you know.
« Last Edit: December 02, 2010, 11:37:43 pm by Graebeard »
Logged
At last, she is done.

inEQUALITY

  • Bay Watcher
  • Living On the Mirror's Edge
    • View Profile
Re: Making Bone Blocks in .31
« Reply #10 on: December 03, 2010, 04:36:25 pm »

ing to see if it's possible to do this somehow with, say, 10 individual bones rather than a single bone or a single stack regardless of the number of bones in the stack.

If you still don't know how to do that, just change the '1' in the reagent to '10' or whatever number you want. I'm 99.9% sure that specifies how much of the reagent is needed for the reaction. :P
Logged
Quote from: Carl Sagan
It does no harm to the romance of the sunset to know a little bit about it.
If the magma cannon doesn't count, they aren't proper scientists.

Graebeard

  • Bay Watcher
  • The reasonable penguin
    • View Profile
Re: Making Bone Blocks in .31
« Reply #11 on: December 03, 2010, 05:10:35 pm »

I figured that part out, but I don't think it'll do quite what I want.  I think if I change that to 10 it will require 10 stacks of bone rather than 10 bones.

I don't actually think I can do what I want without first separating the bones into individual stacks first, and that's just too much dorf labor for what I have in mind.
Logged
At last, she is done.

veok

  • Bay Watcher
    • View Profile
Re: Making Bone Blocks in .31
« Reply #12 on: December 04, 2010, 01:17:29 am »

Next step is to mod in skull blocks too.
Logged