Bay 12 Games Forum

Dwarf Fortress => DF Adventure Mode Discussion => Topic started by: KittyTac on January 07, 2018, 11:11:39 pm

Title: A way to bind quires into codices in adv mode?
Post by: KittyTac on January 07, 2018, 11:11:39 pm
Title.
Title: Re: A way to bind quires into codices in adv mode?
Post by: peasant cretin on January 08, 2018, 12:27:09 am
Not in unmodded vanilla.

You could pull up reactions_other.txt, find the REACTION:BIND_BOOK entry and replace it with this:

Code: [Select]
[REACTION:BIND_BOOK]
[NAME:bind book]
[ADVENTURE_MODE_ENABLED]
[REAGENT:quire:1:TOOL:ITEM_TOOL_QUIRE:NONE:NONE]
[HAS_WRITING_IMPROVEMENT]
[CAN_USE_ARTIFACT]
[CAN_USE_LOCATION_RESERVED]
[REAGENT:binding:1:TOOL:ITEM_TOOL_BOOK_BINDING:NONE:NONE]
[PRODUCT:100:1:BOOK:NONE:GET_MATERIAL_FROM_REAGENT:binding:NONE]
[PRODUCT_TOKEN:book]
[TRANSFER_ARTIFACT_STATUS]
[IMPROVEMENT:100:book:PAGES:GET_MATERIAL_FROM_REAGENT:quire:NONE]
note -- right now, the above will auto-pull any writing from the quire and place it in the pages improvement
[SKILL:BOOKBINDING]

I got rid of the REAGENT:thread:15000:THREAD:NONE:NONE:NONE as the Adv Mode doesn't like product dimension items that require an amount higher than 1.
Title: Re: A way to bind quires into codices in adv mode?
Post by: KittyTac on January 08, 2018, 04:45:40 am
Not in unmodded vanilla.

You could pull up reactions_other.txt, find the REACTION:BIND_BOOK entry and replace it with this:

Code: [Select]
[REACTION:BIND_BOOK]
[NAME:bind book]
[ADVENTURE_MODE_ENABLED]
[REAGENT:quire:1:TOOL:ITEM_TOOL_QUIRE:NONE:NONE]
[HAS_WRITING_IMPROVEMENT]
[CAN_USE_ARTIFACT]
[CAN_USE_LOCATION_RESERVED]
[REAGENT:binding:1:TOOL:ITEM_TOOL_BOOK_BINDING:NONE:NONE]
[PRODUCT:100:1:BOOK:NONE:GET_MATERIAL_FROM_REAGENT:binding:NONE]
[PRODUCT_TOKEN:book]
[TRANSFER_ARTIFACT_STATUS]
[IMPROVEMENT:100:book:PAGES:GET_MATERIAL_FROM_REAGENT:quire:NONE]
note -- right now, the above will auto-pull any writing from the quire and place it in the pages improvement
[SKILL:BOOKBINDING]

I got rid of the REAGENT:thread:15000:THREAD:NONE:NONE:NONE as the Adv Mode doesn't like product dimension items that require an amount higher than 1.

Will this require regenerating the world?
Title: Re: A way to bind quires into codices in adv mode?
Post by: peasant cretin on January 08, 2018, 08:57:38 am
No world regen required.
Title: Re: A way to bind quires into codices in adv mode?
Post by: KittyTac on January 08, 2018, 09:38:52 am
No world regen required.

Also, I changed the required reagent to branches because book bindings are hard to come by.