Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DF V42.06: Anyone already expierience with the new item detailing options?  (Read 1129 times)

Urist McGoombaBrother

  • Bay Watcher
  • Trust the plump helmet! ♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠
    • View Profile

I made some custom reactions, here is one example of the metalsmith:

[REACTION:MAKE_ORGAN_CASE_ACTION_METAL]
[NAME:make metal organ action case]
[BUILDING:METALSMITH:NONE]
[REAGENT:bar:450:BAR:NO_SUBTYPE:METAL:NONE]
[PRODUCT:100:1:TOOL:ORGAN_CASE_ACTION:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:Part of Organ Case. Construction requires 3 Bars of any Metal.]
[CATEGORY:INSTRUMENT_PIECE]

However, within the order detail menu of the metalsmith, literally every item is listed, not just metal:

Spoiler: screenshot (click to show/hide)

Quite the opposite is the case with the stone reactions in the craftdwarf and mason workshop. The vanilla stone reactions, like make rock book binding work just fine. But for custom reactions the detail button is greyed out.

[REACTION:MAKE_ORGAN_CASE_ACTION_STONE]
[NAME:make rock organ action case]
[BUILDING:MASON:NONE]
[REAGENT:stone:3:STONE:NONE:NONE:NONE] - tried as [REAGENT:stone:3:BOULDER:NONE:NONE:NONE] as well without difference
[PRODUCT:100:1:TOOL:ORGAN_CASE_ACTION:GET_MATERIAL_FROM_REAGENT:stone:NONE]
[SKILL:MASONRY]
[DESCRIPTION:Part of Organ Case. Construction requires 3 Boulders of any Stone.]
[CATEGORY:INSTRUMENT_PIECE]

Manual reactions for wood and bone work just fine and the desired material can be detailled. So is this something still to be fleshed out or is there an error in the formula? Maybe some new tokens I am missing? To avoid confusions, the reactions themself are working, but not the detailing menu.
« Last Edit: February 13, 2016, 04:20:12 am by Urist McGoombaBrother »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DF V42.06: Anyone already expierience with the new item detailing options?
« Reply #1 on: February 13, 2016, 04:28:55 am »

the METAL material type is an alias of INORGANIC

Urist McGoombaBrother

  • Bay Watcher
  • Trust the plump helmet! ♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠
    • View Profile
Re: DF V42.06: Anyone already expierience with the new item detailing options?
« Reply #2 on: February 13, 2016, 05:37:11 am »

I found out, the generic metallic instrument pieces have the same problem once pressing the detail button. So maybe that get's fixed. However, the detail menu for the generic stone instrument pieces is shown correctly, while it is not working for custom reactions. So maybe those could work already.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DF V42.06: Anyone already expierience with the new item detailing options?
« Reply #3 on: February 14, 2016, 01:41:13 am »

If it helps, there's the METAL_ITEM_MATERIAL reagent modifier.

Urist McGoombaBrother

  • Bay Watcher
  • Trust the plump helmet! ♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠
    • View Profile
Re: DF V42.06: Anyone already expierience with the new item detailing options?
« Reply #4 on: February 14, 2016, 01:55:52 am »

I fear not. Amended it to this, but no change in order detailing menu.

[REACTION:MAKE_ORGAN_CASE_ACTION_METAL]
[NAME:make metal organ action case]
[BUILDING:METALSMITH:NONE]
[REAGENT:bar:450:BAR:NO_SUBTYPE:METAL:NONE]
[METAL_ITEM_MATERIAL]
[PRODUCT:100:1:TOOL:ORGAN_CASE_ACTION:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:Part of Organ Case. Construction requires 3 Bars of any Metal.]
[CATEGORY:INSTRUMENT_PIECE]

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: DF V42.06: Anyone already expierience with the new item detailing options?
« Reply #5 on: February 14, 2016, 11:13:52 am »

It looks like it does not respect REAGENT_CLASS or any other material-specific limiting tokens. I think it should be reported as a bug. Or at least we should have a token which makes reaction not accept "details" request.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository