While the new update with instruments is wonderful, I have a few problems with their procedural generation:
- Some instruments are incredibly difficult to make, and there is no adequate documentation for it.
- Some instruments are completely ridiculous. People have encountered an instrument that's literally a block that you hit with your hand.
- Every civilization has a completely different set of instruments. In one dwarven civ, a Litash could be a block, but in another world it would be something like a violin. It's too difficult to remember what these instruments are.
The last point, for me, is the most important part. So I've searched for an instrument mod, to no avail, and the old raws literally have five instruments.
That's why I've decided to make one myself.
Note: my modding is dabbling at best, and I only really know how string instruments work. Suggestions, thoughts, and corrections are not only welcome, they are encouraged.
RAW download from DFFD (v0.0.4.2) (http://dffd.bay12games.com/file.php?id=11756)
Completed Files (not yet tested)
item_instrument_violin
[OBJECT:ITEM]
[ITEM_TOOL:PART_VIOLIN_BODY]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:violin body:violin bodies]
[VALUE:15]
[WOOD_MAT]
[TILE:155]
[SIZE:500][MATERIAL_SIZE:1]
[DESCRIPTION:The curved violin body makes up most of the violin.]
[ITEM_TOOL:PART_VIOLIN_NECK]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:violin neck:violin necks]
[VALUE:5]
[WOOD_MAT]
[TILE:155]
[SIZE:300][MATERIAL_SIZE:1]
[DESCRIPTION:The violin neck is stuck onto the front of the body and is used to modify a note's pitch. It includes the scroll, where tuning pegs are jammed in.]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[ITEM_TOOL:PART_VIOLIN_STRINGS]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:violin strings:violin strings]
[VALUE:1]
[METAL_MAT]
[TILE:155]
[SIZE:10][MATERIAL_SIZE:1]
[DESCRIPTION:The strings of a violin, stretched from the bottom of the body to the top of the neck, is used to produce sound.]
[ITEM_TOOL:PART_VIOLIN_BOW]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:violin bow:violin bows]
[VALUE:10]
[WOOD_MAT]
[TILE:155]
[SIZE:50][MATERIAL_SIZE:1]
[DESCRIPTION:The long violin bow is used to pull a string to create its signature timbre.]
[ITEM_TOOL:PART_VIOLIN_OTHER]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:violin accessories:violin accessories]
[VALUE:20]
[WOOD_MAT]
[TILE:155]
[SIZE:500][MATERIAL_SIZE:1]
[DESCRIPTION:Violin accessories are tiny items but neccessary to use the instrument. They include tuning pegs, the bridge, sound-post, chinrest, shoulder rest, and fine tuners.]
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_VIOLIN]
[NAME:violin:violins]
[DESCRIPTION:The classical violin is a relatively small string instrument consisting of four metal strings - G3, D4, A5, and E5 - stretched from the scroll, the top of the neck, over the fingerboard, pressing down on the bridge and to the bottom of the body. Most parts are generally made from wood, though most hard materials work as well. There are many ways to play the violin. A musician can bow the strings, creating a fluid yet evolving timbre, or pluck the strings, playing clear, sharp notes. It has a three-octave range, going from a mid-low to a very high pitch.]
[VALUE:200]
[SIZE:1360]
[DOMINANT_MATERIAL_PIECE:BODY]
[INSTRUMENT_PIECE:BODY:PART_VIOLIN_BODY:body:bodies:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:NECK:PART_VIOLIN_NECK:neck:necks:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:STRINGS:PART_VIOLIN_STRINGS:strings:strings:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:BOW:PART_VIOLIN_BOW:bow:bows:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:SCROLL:PART_VIOLIN_OTHER:tuning peg:tuning pegs:ALWAYS_PLURAL]
[VOLUME_mB:0:10000]
[SOUND_PRODUCTION:PLUCKED_BY_BP:STRINGS]
[SOUND_PRODUCTION:STRUCK:BOW:STRINGS]
[SOUND_PRODUCTION:BOWED:BOW:STRINGS]
[PITCH_CHOICE:STOPPING_AGAINST_BODY:STRINGS:NECK]
[TUNING:PEGS]
[PITCH_RANGE:1900:6400]
[TIMBRE:SMOOTH:EVOLVING:FLUID:RICH]
[MUSIC_SKILL:PLAY_STRINGED_INSTRUMENT]
reaction_instrument_violin
[OBJECT:REACTION]
[REACTION:MAKE_INSTRUMENT_VIOLIN_BODY]
[NAME:make violin body]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLIN_BODY:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:PART_VIOLIN_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLIN_OTHER]
[NAME:make violin parts]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLIN_NECK:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLIN_BOW:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLIN_OTHER:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:Makes the bow, neck, and accessories for a violin.]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLIN_STRINGS]
[NAME:forge violin strings]
[BUILDING:METALSMITH:NONE]
[FUEL]
[REAGENT:bar:30:BAR:NONE:METAL:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLIN_STRINGS:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:USE_TOOL:PART_VIOLIN_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLIN]
[NAME:assemble violin]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:body:1:TOOL:PART_VIOLIN_BODY:NONE:NONE]
[REAGENT:neck:1:TOOL:PART_VIOLIN_NECK:NONE:NONE]
[REAGENT:bow:1:TOOL:PART_VIOLIN_BOW:NONE:NONE]
[REAGENT:other:1:TOOL:PART_VIOLIN_OTHER:NONE:NONE]
[REAGENT:strings:1:TOOL:PART_VIOLIN_STRINGS:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_VIOLIN:GET_MATERIAL_FROM_REAGENT:body:NONE]
[PRODUCT_TOKEN:instrument]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BODY:GET_MATERIAL_FROM_REAGENT:body:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:NECK:GET_MATERIAL_FROM_REAGENT:neck:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BOW:GET_MATERIAL_FROM_REAGENT:bow:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:STRINGS:GET_MATERIAL_FROM_REAGENT:strings:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:SCROLL:GET_MATERIAL_FROM_REAGENT:other:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:The classical orchestral string instrument.]
[CATEGORY:INSTRUMENT]
item_instrument_viola
[OBJECT:ITEM]
[ITEM_TOOL:PART_VIOLA_BODY]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:viola body:viola bodies]
[VALUE:20]
[WOOD_MAT]
[TILE:155]
[SIZE:600][MATERIAL_SIZE:1]
[DESCRIPTION:The curved viola body makes up most of the viola.]
[ITEM_TOOL:PART_VIOLA_NECK]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:viola neck:viola necks]
[VALUE:5]
[WOOD_MAT]
[TILE:155]
[SIZE:360][MATERIAL_SIZE:1]
[DESCRIPTION:The viola neck is stuck onto the front of the body and is used to modify a note's pitch. It includes the scroll, where tuning pegs are jammed in.]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[ITEM_TOOL:PART_VIOLA_STRINGS]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:viola strings:viola strings]
[VALUE:1]
[METAL_MAT]
[TILE:155]
[SIZE:12][MATERIAL_SIZE:1]
[DESCRIPTION:The strings of a viola, stretched from the bottom of the body to the top of the neck, is used to produce sound.]
[ITEM_TOOL:PART_VIOLA_BOW]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:viola bow:viola bows]
[VALUE:10]
[WOOD_MAT]
[TILE:155]
[SIZE:50][MATERIAL_SIZE:1]
[DESCRIPTION:The long viola bow is used to pull a string to create its signature timbre.]
[ITEM_TOOL:PART_VIOLA_OTHER]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:viola accessories:viola accessories]
[VALUE:20]
[WOOD_MAT]
[TILE:155]
[SIZE:600][MATERIAL_SIZE:1]
[DESCRIPTION:Viola accessories are tiny items but neccessary to use the instrument. They include tuning pegs, the bridge, sound-post, chinrest, shoulder rest, and fine tuners.]
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_VIOLA]
[NAME:viola:violas]
[DESCRIPTION:The viola is a relatively small string instrument consisting of four metal strings - C3, G3, D4, and A5 - stretched from the scroll, the top of the neck, over the fingerboard, pressing down on the bridge and to the bottom of the body. Most parts are made from wood, though the strings are metal. There are many ways to play the viola, though classically most involve accompanying a violin. A musician can bow the strings, playing a steady note, or pluck the strings, creating a brittle sound. It has a three-octave range, going from a mid-low to a mid-high pitch.]
[VALUE:250]
[SIZE:1722]
[DOMINANT_MATERIAL_PIECE:BODY]
[INSTRUMENT_PIECE:BODY:PART_VIOLA_BODY:body:bodies:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:NECK:PART_VIOLA_NECK:neck:necks:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:STRINGS:PART_VIOLA_STRINGS:strings:strings:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:BOW:PART_VIOLA_BOW:bow:bows:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:SCROLL:PART_VIOLA_OTHER:tuning peg:tuning pegs:ALWAYS_PLURAL]
[VOLUME_mB:0:10000]
[SOUND_PRODUCTION:PLUCKED_BY_BP:STRINGS]
[SOUND_PRODUCTION:STRUCK:BOW:STRINGS]
[SOUND_PRODUCTION:BOWED:BOW:STRINGS]
[PITCH_CHOICE:STOPPING_AGAINST_BODY:STRINGS:NECK]
[TUNING:PEGS]
[PITCH_RANGE:-1200:3300]
[TIMBRE:STEADY:MELLOW:FLUID:RESONANT]
[MUSIC_SKILL:PLAY_STRINGED_INSTRUMENT]
reaction_instrument_viola
[OBJECT:REACTION]
[REACTION:MAKE_INSTRUMENT_VIOLA_BODY]
[NAME:make viola body]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLA_BODY:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:PART_VIOLA_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLA_OTHER]
[NAME:make viola parts]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLA_NECK:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLA_BOW:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLA_OTHER:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:Makes the bow, neck, and accessories for a viola.]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLA_STRINGS]
[NAME:forge viola strings]
[BUILDING:METALSMITH:NONE]
[FUEL]
[REAGENT:bar:30:BAR:NONE:METAL:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLA_STRINGS:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:USE_TOOL:PART_VIOLA_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLA]
[NAME:assemble viola]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:body:1:TOOL:PART_VIOLA_BODY:NONE:NONE]
[REAGENT:neck:1:TOOL:PART_VIOLA_NECK:NONE:NONE]
[REAGENT:bow:1:TOOL:PART_VIOLA_BOW:NONE:NONE]
[REAGENT:other:1:TOOL:PART_VIOLA_OTHER:NONE:NONE]
[REAGENT:strings:1:TOOL:PART_VIOLA_STRINGS:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_VIOLA:GET_MATERIAL_FROM_REAGENT:body:NONE]
[PRODUCT_TOKEN:instrument]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BODY:GET_MATERIAL_FROM_REAGENT:body:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:NECK:GET_MATERIAL_FROM_REAGENT:neck:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BOW:GET_MATERIAL_FROM_REAGENT:bow:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:STRINGS:GET_MATERIAL_FROM_REAGENT:strings:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:SCROLL:GET_MATERIAL_FROM_REAGENT:other:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:The alto orchestral string instrument.]
[CATEGORY:INSTRUMENT]
item_instrument_violoncello
[OBJECT:ITEM]
[ITEM_TOOL:PART_VIOLONCELLO_BODY]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:cello body:cello bodies]
[VALUE:180]
[WOOD_MAT]
[TILE:155]
[SIZE:6000][MATERIAL_SIZE:3]
[DESCRIPTION:The curved cello body makes up most of the cello.]
[ITEM_TOOL:PART_VIOLONCELLO_NECK]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:cello neck:cello necks]
[VALUE:15]
[WOOD_MAT]
[TILE:155]
[SIZE:850][MATERIAL_SIZE:1]
[DESCRIPTION:The cello neck is stuck onto the front of the body and is used to modify a note's pitch. It includes the scroll, where tuning pegs are jammed in.]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[ITEM_TOOL:PART_VIOLONCELLO_STRINGS]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:cello strings:cello strings]
[VALUE:2]
[METAL_MAT]
[TILE:155]
[SIZE:30][MATERIAL_SIZE:1]
[DESCRIPTION:The strings of a cello, stretched from the bottom of the body to the top of the neck, is used to produce sound.]
[ITEM_TOOL:PART_VIOLONCELLO_BOW]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:cello bow:cello bows]
[VALUE:16]
[WOOD_MAT]
[TILE:155]
[SIZE:80][MATERIAL_SIZE:1]
[DESCRIPTION:The long cello bow is used to pull a string to create its signature timbre.]
[ITEM_TOOL:PART_VIOLONCELLO_OTHER]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:cello accessories:cello accessories]
[VALUE:20]
[WOOD_MAT]
[TILE:155]
[SIZE:500][MATERIAL_SIZE:1]
[DESCRIPTION:Cello accessories are tiny items but neccessary to use the instrument. They include tuning pegs, the bridge, sound-post, endpin, and fine tuners.]
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_VIOLONCELLO]
[NAME:cello:cellos]
[DESCRIPTION:The violoncello is a relatively large string instrument consisting of four metal strings - C2, G2, D3, and A4 - stretched from the scroll, the top of the neck, over the fingerboard, pressing down on the bridge and to the bottom of the body. Most parts are generally made from wood, though most hard materials work as well. There are many ways to play the cello. A musician can bow the strings, creating a broad and even timbre, or pluck the strings, playing rough, sharp notes. It has a four-octave range, going from a low to a mid-high pitch.]
[VALUE:1100]
[SIZE:7460]
[DOMINANT_MATERIAL_PIECE:BODY]
[INSTRUMENT_PIECE:BODY:PART_VIOLONCELLO_BODY:body:bodies:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:NECK:PART_VIOLONCELLO_NECK:neck:necks:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:STRINGS:PART_VIOLONCELLO_STRINGS:strings:strings:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:BOW:PART_VIOLONCELLO_BOW:bow:bows:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:SCROLL:PART_VIOLONCELLO_OTHER:tuning peg:tuning pegs:ALWAYS_PLURAL]
[VOLUME_mB:0:10000]
[SOUND_PRODUCTION:PLUCKED_BY_BP:STRINGS]
[SOUND_PRODUCTION:STRUCK:BOW:STRINGS]
[SOUND_PRODUCTION:BOWED:BOW:STRINGS]
[PITCH_CHOICE:STOPPING_AGAINST_BODY:STRINGS:NECK]
[TUNING:PEGS]
[PITCH_RANGE:-2400:2100]
[TIMBRE:BROAD:EVEN:FLUID:ROUGH]
[MUSIC_SKILL:PLAY_STRINGED_INSTRUMENT]
reaction_instrument_violoncello
[OBJECT:REACTION]
[REACTION:MAKE_INSTRUMENT_VIOLONCELLO_BODY]
[NAME:make cello body]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLONCELLO_BODY:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:PART_VIOLONCELLO_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLONCELLO_OTHER]
[NAME:make cello parts]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLONCELLO_NECK:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLONCELLO_BOW:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLONCELLO_OTHER:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:Makes the bow, neck, and accessories for a cello.]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLONCELLO_STRINGS]
[NAME:forge cello strings]
[BUILDING:METALSMITH:NONE]
[FUEL]
[REAGENT:bar:50:BAR:NONE:METAL:NONE]
[PRODUCT:100:1:TOOL:PART_VIOLONCELLO_STRINGS:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:USE_TOOL:PART_VIOLONCELLO_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_VIOLONCELLO]
[NAME:assemble cello]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:body:1:TOOL:PART_VIOLONCELLO_BODY:NONE:NONE]
[REAGENT:neck:1:TOOL:PART_VIOLONCELLO_NECK:NONE:NONE]
[REAGENT:bow:1:TOOL:PART_VIOLONCELLO_BOW:NONE:NONE]
[REAGENT:other:1:TOOL:PART_VIOLONCELLO_OTHER:NONE:NONE]
[REAGENT:strings:1:TOOL:PART_VIOLONCELLO_STRINGS:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_VIOLONCELLO:GET_MATERIAL_FROM_REAGENT:body:NONE]
[PRODUCT_TOKEN:instrument]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BODY:GET_MATERIAL_FROM_REAGENT:body:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:NECK:GET_MATERIAL_FROM_REAGENT:neck:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BOW:GET_MATERIAL_FROM_REAGENT:bow:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:STRINGS:GET_MATERIAL_FROM_REAGENT:strings:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:SCROLL:GET_MATERIAL_FROM_REAGENT:other:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:The bass orchestral string instrument.]
[CATEGORY:INSTRUMENT]
item_instrument_bass_string
[OBJECT:ITEM]
[ITEM_TOOL:PART_BASS_STRING_BODY]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:double-base body:double-base bodies]
[VALUE:400]
[WOOD_MAT]
[TILE:155]
[SIZE:12000][MATERIAL_SIZE:3]
[DESCRIPTION:The curved double-bass body makes up most of the string bass.]
[ITEM_TOOL:PART_BASS_STRING_NECK]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:double-base neck:double-base necks]
[VALUE:30]
[WOOD_MAT]
[TILE:155]
[SIZE:1900][MATERIAL_SIZE:1]
[DESCRIPTION:The double-bass neck is stuck onto the front of the body and is used to modify a note's pitch. It includes the scroll, where tuning pegs are attached.]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[ITEM_TOOL:PART_BASS_STRING_STRINGS]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:double-bass strings:double-bass strings]
[VALUE:5]
[METAL_MAT]
[TILE:155]
[SIZE:70][MATERIAL_SIZE:1]
[DESCRIPTION:The strings of a double-bass, stretched from the bottom of the body to the top of the neck, is used to produce sound.]
[ITEM_TOOL:PART_BASS_STRING_BOW]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:double-base bow:double-base bows]
[VALUE:20]
[WOOD_MAT]
[TILE:155]
[SIZE:150][MATERIAL_SIZE:1]
[DESCRIPTION:The long double-base bow is used to pull a string to create its signature timbre.]
[ITEM_TOOL:PART_BASS_STRING_OTHER]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:double-base accessories:double-base accessories]
[VALUE:25]
[WOOD_MAT]
[TILE:155]
[SIZE:700][MATERIAL_SIZE:1]
[DESCRIPTION:String bass accessories are tiny items but neccessary to use the instrument. They include tuning pegs, the bridge, sound-post, and endpin.]
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_BASS_STRING]
[NAME:double-bass:double-basses]
[DESCRIPTION:The string bass is a large string instrument consisting of four metal strings - G2, D2, A1, E1 - stretched from the scroll, the top of the neck, over the fingerboard, pressing down on the bridge and to the bottom of the body. Most parts are generally made from wood, though most hard materials work as well. There are many ways to play the bass. A musician can bow the strings, creating a strained, broad timbre, or pluck the strings, playing rough yet clear notes. It has a four-octave range, going from a very low to a mid-low pitch.]
[VALUE:2200]
[SIZE:14820]
[DOMINANT_MATERIAL_PIECE:BODY]
[INSTRUMENT_PIECE:BODY:PART_BASS_STRING_BODY:body:bodies:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:NECK:PART_BASS_STRING_NECK:neck:necks:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:STRINGS:PART_BASS_STRING_STRINGS:strings:strings:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:BOW:PART_BASS_STRING_BOW:bow:bows:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:SCROLL:PART_BASS_STRING_OTHER:tuning peg:tuning pegs:ALWAYS_PLURAL]
[VOLUME_mB:0:10000]
[SOUND_PRODUCTION:PLUCKED_BY_BP:STRINGS]
[SOUND_PRODUCTION:STRUCK:BOW:STRINGS]
[SOUND_PRODUCTION:BOWED:BOW:STRINGS]
[PITCH_CHOICE:STOPPING_AGAINST_BODY:STRINGS:NECK]
[TUNING:PEGS]
[PITCH_RANGE:-4400:1900]
[TIMBRE:STRAINED:BROAD:FLUID:ROUGH]
[MUSIC_SKILL:PLAY_STRINGED_INSTRUMENT]
reaction_instrument_bass_string
[OBJECT:REACTION]
[REACTION:MAKE_INSTRUMENT_BASS_STRING_BODY]
[NAME:make double-bass body]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_BASS_STRING_BODY:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:PART_BASS_STRING_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_BASS_STRING_OTHER]
[NAME:make double-bass parts]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_BASS_STRING_NECK:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_BASS_STRING_BOW:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[PRODUCT:100:1:TOOL:PART_BASS_STRING_OTHER:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:Makes the bow, neck, and accessories for a string base.]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_BASS_STRING_STRINGS]
[NAME:forge double-bass strings]
[BUILDING:METALSMITH:NONE]
[FUEL]
[REAGENT:bar:75:BAR:NONE:METAL:NONE]
[PRODUCT:100:1:TOOL:PART_BASS_STRING_STRINGS:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:USE_TOOL:PART_BASS_STRING_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_BASS_STRING]
[NAME:assemble double-bass]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:body:1:TOOL:PART_BASS_STRING_BODY:NONE:NONE]
[REAGENT:neck:1:TOOL:PART_BASS_STRING_NECK:NONE:NONE]
[REAGENT:bow:1:TOOL:PART_BASS_STRING_BOW:NONE:NONE]
[REAGENT:other:1:TOOL:PART_BASS_STRING_OTHER:NONE:NONE]
[REAGENT:strings:1:TOOL:PART_BASS_STRING_STRINGS:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_BASS_STRING:GET_MATERIAL_FROM_REAGENT:body:NONE]
[PRODUCT_TOKEN:instrument]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BODY:GET_MATERIAL_FROM_REAGENT:body:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:NECK:GET_MATERIAL_FROM_REAGENT:neck:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BOW:GET_MATERIAL_FROM_REAGENT:bow:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:STRINGS:GET_MATERIAL_FROM_REAGENT:strings:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:SCROLL:GET_MATERIAL_FROM_REAGENT:other:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:The lowest orchestral string instrument.]
[CATEGORY:INSTRUMENT]
Entity Edits
[TOOL:PART_VIOLIN_BODY]
[TOOL:PART_VIOLIN_NECK]
[TOOL:PART_VIOLIN_BOW]
[TOOL:PART_VIOLIN_OTHER]
[TOOL:PART_VIOLIN_STRINGS]
[INSTRUMENT:ITEM_INSTRUMENT_VIOLIN]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLIN_BODY]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLIN_STRINGS]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLIN_OTHER]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLIN]
[TOOL:PART_VIOLA_BODY]
[TOOL:PART_VIOLA_NECK]
[TOOL:PART_VIOLA_BOW]
[TOOL:PART_VIOLA_OTHER]
[TOOL:PART_VIOLA_STRINGS]
[INSTRUMENT:ITEM_INSTRUMENT_VIOLA]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLA_BODY]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLA_STRINGS]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLA_OTHER]
[PERMITTED_REACTION:MAKE_INSTRUMENT_VIOLA]
[TOOL:PART_CELLO_BODY]
[TOOL:PART_CELLO_NECK]
[TOOL:PART_CELLO_BOW]
[TOOL:PART_CELLO_OTHER]
[TOOL:PART_CELLO_STRINGS]
[INSTRUMENT:ITEM_INSTRUMENT_CELLO]
[PERMITTED_REACTION:MAKE_INSTRUMENT_CELLO_BODY]
[PERMITTED_REACTION:MAKE_INSTRUMENT_CELLO_STRINGS]
[PERMITTED_REACTION:MAKE_INSTRUMENT_CELLO_OTHER]
[PERMITTED_REACTION:MAKE_INSTRUMENT_CELLO]
[TOOL:PART_BASS_STRING_BODY]
[TOOL:PART_BASS_STRING_NECK]
[TOOL:PART_BASS_STRING_BOW]
[TOOL:PART_BASS_STRING_OTHER]
[TOOL:PART_BASS_STRING_STRINGS]
[INSTRUMENT:ITEM_INSTRUMENT_BASS_STRING]
[PERMITTED_REACTION:MAKE_INSTRUMENT_BASS_STRING_BODY]
[PERMITTED_REACTION:MAKE_INSTRUMENT_BASS_STRING_STRINGS]
[PERMITTED_REACTION:MAKE_INSTRUMENT_BASS_STRING_OTHER]
[PERMITTED_REACTION:MAKE_INSTRUMENT_BASS_STRING]
[GENERATE_STRINGED_INSTRUMENTS]
To install or test what's here so far:
- Download the .zip from the top
- Unzip in your Dwarf Fortress/raws folder
- Generate a new world
- Have fun!
To uninstall:
- Delete the files named above
- Delete entity_default.txt
- Rename entity_default_old.txt to entity_default.txt
Planned Features (under construction)
Violin
Viola
Violoncello
Double Bass
Guitar
Ukulele
Harp
[others]
Civ will make forms even with only user defined instruments. Bards will carry these instruments and use them, world taverns will have instruments in chests.
But if you create adventurer you cant put points in instrument skill if civ have not generated this type of instrument.
We supposed to copy raws from post? Put them in spoiler code then, not just spoiler. So we can select all 200+ lines of code by clicking [Select]
material_template_default.txt contains material templates, including gut template
[MATERIAL_TEMPLATE:GUT_TEMPLATE]
[STATE_COLOR:ALL_SOLID:TAUPE_PALE]
[STATE_NAME:ALL_SOLID:gut]
[STATE_ADJ:ALL_SOLID:gut]
[STATE_COLOR:LIQUID:TAUPE_PALE]
[STATE_NAME:LIQUID:n/a]
[STATE_ADJ:LIQUID:n/a]
[STATE_COLOR:GAS:TAUPE_PALE]
[STATE_NAME:GAS:n/a]
[STATE_ADJ:GAS:n/a]
[DISPLAY_COLOR:5:0:0]
[MATERIAL_VALUE:1]
[SPEC_HEAT:4181]
[IGNITE_POINT:10508]
[MELTING_POINT:NONE]
[BOILING_POINT:NONE]
[HEATDAM_POINT:10250]
[COLDDAM_POINT:9900]
[MAT_FIXED_TEMP:NONE]
[SOLID_DENSITY:500]
[LIQUID_DENSITY:NONE]
[MOLAR_MASS:NONE]
[IMPACT_YIELD:10000]
[IMPACT_FRACTURE:10000]
[IMPACT_STRAIN_AT_YIELD:50000]
[COMPRESSIVE_YIELD:10000]
[COMPRESSIVE_FRACTURE:10000]
[COMPRESSIVE_STRAIN_AT_YIELD:50000]
[TENSILE_YIELD:10000]
[TENSILE_FRACTURE:10000]
[TENSILE_STRAIN_AT_YIELD:50000]
[TORSION_YIELD:10000]
[TORSION_FRACTURE:10000]
[TORSION_STRAIN_AT_YIELD:50000]
[SHEAR_YIELD:20000] copied human skin (no data)
[SHEAR_FRACTURE:20000]
[SHEAR_STRAIN_AT_YIELD:50000]
[BENDING_YIELD:10000]
[BENDING_FRACTURE:10000]
[BENDING_STRAIN_AT_YIELD:50000]
[MAX_EDGE:0]
[ABSORPTION:100]
[IMPLIES_ANIMAL_KILL]
[ROTS]
[GENERATES_MIASMA]
[MEAT]
[BUTCHER_SPECIAL:MEAT:NONE]
[MEAT_NAME:prepared:intestines:intestines]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[BUTCHER_SPECIAL:MEAT:NONE] - butcher will convert guts to MEAT item.
[MEAT_NAME:prepared:intestines:intestines] - created MEAT item will be called "prepared intestines"
[REACTION:MAKE_VIOLIN_STRINGS]
[NAME:make violin strings]
[MAX_MULTIPLIER:1]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:guts:1:MEAT:NONE:CREATURE_MAT:CAT:GUT]--meat made out of cat guts
[PRODUCT:100:1:TOOL:ITEM_TOOL_VIOLIN_STRINGS:GET_MATERIAL_FROM_REAGENT:guts:NONE]
[SKILL:BUTCHER]
[DESCRIPTION:USE_TOOL:ITEM_TOOL_VIOLIN_STRINGS]
[CATEGORY:INSTRUMENT_PIECE]
But you cannot specify something like [REAGENT:guts:1:MEAT:NONE:CREATURE_MAT:NONE:GUT] - so all guts can be used, not just cat guts.
Game will read CREATURE_MAT:NONE and ignore GUT
You can add [REACTION_CLASS:GUT] to gut template or concrete material (in the creature definition add [SELECT_MATERIAL:GUT][REACTION_CLASS:GUT] after [BODY_DETAIL_PLAN:STANDARD_MATERIALS])
And then use class in reaction:
[REAGENT:guts:1:MEAT:NONE:NONE:NONE] [REACTION_CLASS:GUT]
Worldgen will ignore reaction materials for tools.
Worldgen will use material specified by token ([THREAD_PLANT_MAT] or so) in tool definition (http://dwarffortresswiki.org/index.php/Tool_token).
I like this mod idea, but I am not really familiar with musical instruments and never modded them before. However as big fan of the Legend of Zelda series, I couldn't resist modding an ocarina. It is a simple one piece instrument. But to make up for that simplicity, you can create it from various different materials: Wood, Stone, Metal, Bone, Clay, Glass and even Shells. Maybe you have good use for it?
A few notes: There seems to be some weird issue regarding bones. I butchered a cow to have some bone available. But instead of just picking 1 bone and making 1 ocarina, my bone carver took the whole stack of 16 bones and made 16 ocarinas out of it. Then I butchered another animal and the same thing happened with the stack of 14 bones. Not sure if there is an error in the reaction or if that is a side effect of the carry more than one unit feature. Also I could not test the shell reaction as I had no shells available. But should be the same as with the bone reaction. The rest is working just fine.
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[NAME:ocarina:ocarinas]
[VALUE:35]
[SIZE:650]
[MATERIAL_SIZE:1]
[HARD_MAT]
[BONE_MAT]
[SHELL_MAT]
[GLASS_MAT]
[CERAMIC_MAT]
[SOUND_PRODUCTION:BLOW_OVER_OPENING_END:SELF]
[PITCH_CHOICE:HARMONIC_SERIES:SELF]
[VOLUME_mB:0:6000]
[PITCH_RANGE:-2400:4800]
[TIMBRE:STEADY:CLEAR:SMOOTH:BRIGHT:LIGHT:FOCUSED:GENTLE:WARM:RESONANT:FULL]
[MUSIC_SKILL:PLAY_WIND_INSTRUMENT]
[DESCRIPTION: The ocarina is an ancient wind musical instrument, a type of vessel flute. Variations exist, but a typical ocarina is an enclosed space with four to twelve finger holes and a mouthpiece that projects from the body. Air enters through the windway. Then air strikes the labium, producing sound. Finally air vibrates throughout the inside of the ocarina. Covering holes lowers the pitch, uncovering holes raises the pitch.]
Comment: A musician might want to have a look at Pitch_Choice, Volume_mB, Pitch_Range and Timbre_Steady. I listened to some ocarina songs at youtube and simply put it what sounded cool to me.
[OBJECT:REACTION]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_WOOD]
[NAME:make wooden ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:log:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:log:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_STONE]
[NAME:make rock ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:stone:1:BOULDER:NONE:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:stone:NONE]
[SKILL:STONECRAFT]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_METAL]
[NAME:make metal ocarina]
[BUILDING:METALSMITH:NONE]
[REAGENT:bar:150:BAR:NONE:INORGANIC:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_BONE]
[NAME:make bone ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:bone:1:NONE:NONE:NONE:NONE]
[USE_BODY_COMPONENT]
[UNROTTEN]
[ANY_BONE_MATERIAL]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:bone:NONE]
[SKILL:BONECARVE]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_SHELL]
[NAME:make shell ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:shell:1:NONE:NONE:NONE:NONE]
[USE_BODY_COMPONENT]
[UNROTTEN]
[ANY_SHELL_MATERIAL]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:shell:NONE]
[SKILL:BONECARVE] - shells processed by bonecarver
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_GREEN_GLASS]
[NAME:make green glass ocarina]
[BUILDING:GLASS:NONE]
[REAGENT:sand:150:POWDER_MISC:NONE:NONE:NONE]
[IS_SAND_MATERIAL]
[REAGENT:bag:1:BOX:NONE:NONE:NONE]
[BAG]
[CONTAINS:sand]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GLASS_GREEN:NONE]
[FUEL]
[SKILL:GLASSMAKER]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_CLAY]
[NAME:make clay ocarina]
[BUILDING:KILN:NONE]
[REAGENT:clay:1:BOULDER:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:FIRED_MAT]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:clay:FIRED_MAT]
[FUEL]
[SKILL:POTTERY]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_WOOD]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_STONE]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_METAL]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_BONE]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_SHELL]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_GREEN_GLASS]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_CLAY]
Thx, that tag solved the issue. Tested now all the reactions, also the shells by amending cows yielding them. All ocarina variants are properly built and stored in the stockpile menus and tavern as intended. So I consider that as finished. There is only one thing bothering me. I never had a dwarf actually using an ocarina despite 5 points at skill Wind Instrumentalist and no other instruments available. Unsure, if there is something more to consider or if it is just bad luck.
Please find the new raws:
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[NAME:ocarina:ocarinas]
[VALUE:35]
[SIZE:650]
[MATERIAL_SIZE:1]
[HARD_MAT]
[BONE_MAT]
[SHELL_MAT]
[GLASS_MAT]
[CERAMIC_MAT]
[SOUND_PRODUCTION:BLOW_OVER_OPENING_END:SELF]
[PITCH_CHOICE:STOPPING_HOLE:SELF]
[VOLUME_mB:0:8000]
[PITCH_RANGE:1200:2400]
[TIMBRE:STEADY:CLEAR:SMOOTH:BRIGHT:LIGHT:FOCUSED:GENTLE:WARM]
[MUSIC_SKILL:PLAY_WIND_INSTRUMENT]
[DESCRIPTION: The ocarina is an ancient wind musical instrument, a type of vessel flute. Variations exist, but a typical ocarina is an enclosed space with four to twelve finger holes and a mouthpiece that projects from the body. Air enters through the windway. Then air strikes the labium, producing sound. Finally air vibrates throughout the inside of the ocarina. Covering holes lowers the pitch, uncovering holes raises the pitch.]
reaction_instrument_example
[OBJECT:REACTION]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_WOOD]
[NAME:make wooden ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_STONE]
[NAME:make rock ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:stone:1:BOULDER:NONE:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:stone:NONE]
[SKILL:STONECRAFT]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_METAL]
[NAME:make metal ocarina]
[BUILDING:METALSMITH:NONE]
[REAGENT:bar:150:BAR:NONE:INORGANIC:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_BONE]
[NAME:make bone ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:bone:1:NONE:NONE:NONE:NONE]
[USE_BODY_COMPONENT]
[UNROTTEN]
[ANY_BONE_MATERIAL]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:bone:NONE]
[MAX_MULTIPLIER:1]
[SKILL:BONECARVE]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_SHELL]
[NAME:make shell ocarina]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:shell:1:NONE:NONE:NONE:NONE]
[USE_BODY_COMPONENT]
[UNROTTEN]
[ANY_SHELL_MATERIAL]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:shell:NONE]
[MAX_MULTIPLIER:1]
[SKILL:BONECARVE] - shells processed by bonecarver
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_GREEN_GLASS]
[NAME:make green glass ocarina]
[BUILDING:GLASS:NONE]
[REAGENT:sand:150:POWDER_MISC:NONE:NONE:NONE]
[IS_SAND_MATERIAL]
[REAGENT:bag:1:BOX:NONE:NONE:NONE]
[BAG]
[CONTAINS:sand]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GLASS_GREEN:NONE]
[FUEL]
[SKILL:GLASSMAKER]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_CLAY]
[NAME:make clay ocarina]
[BUILDING:KILN:NONE]
[REAGENT:clay:1:BOULDER:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:FIRED_MAT]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_OCARINA:GET_MATERIAL_FROM_REAGENT:clay:FIRED_MAT]
[FUEL]
[SKILL:POTTERY]
[DESCRIPTION:USE_INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[CATEGORY:INSTRUMENT]
[INSTRUMENT:ITEM_INSTRUMENT_OCARINA]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_WOOD]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_STONE]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_METAL]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_BONE]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_SHELL]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_GREEN_GLASS]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_OCARINA_CLAY]
I noticed that caravan brings parts of generated instruments. And will not bring parts of custom instruments unless you add tool tokens to entity.
And leaving bards will sometimes steal your glass assembled from imported parts on the map without sand instruments. Just like leaving scholars will steal books.
[TOOL:PART_VIOLIN_BODY]
[TOOL:PART_VIOLIN_NECK]
[TOOL:PART_VIOLIN_BOW]
[TOOL:PART_VIOLIN_OTHER]
[TOOL:PART_VIOLIN_STRINGS]
I do like to create instrument parts created from other instrument parts. The basic reaction works, but the problem is the assembled instrument part does not list the sub-parts as improvement tokens like a finished instrument does. Should be "This is a pear wood large flue pipes. The large organ pipe resonator is made from pear wood. The large organ pipe labium is made ... etc." And ideally the finished organ lists all parts and sub-parts.
Sizes and value are placeholders so far.
[ITEM_TOOL:ORGAN_FLUE_PIPES_LARGE]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[NAME:large organ flue pipes:large organ flue pipes]
[VALUE:60]
[WOOD_MAT]
[METAL_MAT]
[BONE_MAT]
[TILE:155]
[SIZE:500]
[MATERIAL_SIZE:1]
[DOMINANT_MATERIAL_PIECE:LARGE_RESONATOR]
[INSTRUMENT_PIECE:LARGE_RESONATOR:ORGAN_PIPE_RESONATOR_LARGE:large organ pipe resonator:large organ pipe resonators:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:LARGE_LABIUM:ORGAN_PIPE_LABIUM_LARGE:large organ pipe labium:large organ pipe labiums:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:LARGE_FOOT:ORGAN_PIPE_FOOT_LARGE:large organ pipe foot:large organ pipe feet:ALWAYS_PLURAL]
[DESCRIPTION:A flue pipe (also referred to as a labial pipe) is an organ pipe that produces sound through the vibration of air molecules, in the same manner as a recorder or a whistle. Air under pressure (called wind) is driven down a flue and against a sharp lip called a Labium, causing the column of air in the pipe to resonate at a frequency determined by the pipe length. Thus, there are no moving parts in a flue pipe. This is in contrast to reed pipes, whose sound is driven by beating reeds, as in a clarinet. Flue pipes are common components of pipe organs.]
[ITEM_TOOL:ORGAN_PIPE_RESONATOR_LARGE]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:large organ pipe resonator:large organ pipe resonators]
[VALUE:10]
[WOOD_MAT]
[METAL_MAT]
[BONE_MAT]
[TILE:155]
[SIZE:500]
[MATERIAL_SIZE:7]
[DESCRIPTION:The resonator supports the oscillations of air generated at the mouth of the pipe, a horizontal opening at the juncture of the resonator with the foot. The voicing, the length of the resonator, and the resonator's volume all determine the fundamental pitch of the flue pipe. The conical taper of the pipe determines the overblown pitch. If the pipe is metal, a tuning sleeve or tuning collar may be fixed at the top of the resonator and raised or lowered to vary its length, thereby adjusting the pitch produced.]
[ITEM_TOOL:ORGAN_PIPE_LABIUM_LARGE]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:large organ pipe labium:large organ pipe labiums]
[VALUE:10]
[WOOD_MAT]
[METAL_MAT]
[BONE_MAT]
[TILE:155]
[SIZE:3500]
[MATERIAL_SIZE:1]
[DESCRIPTION:Between the foot and the resonator, the side of the pipe containing the mouth is flat. A plate of metal or wood called a languid, fixed horizontally here, blocks the airway, except for a small slot called the windway alongside the mouth. This allows air to flow as a sheet of wind directed towards the pipe's mouth. Flat pieces of metal or wood called ears may be attached to the sides of the mouth for tuning purposes, and a horizontal dowel called a roller or beard may be affixed at the pipe to ensure prompt pipe speech.]
[ITEM_TOOL:ORGAN_PIPE_FOOT_LARGE]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:large organ pipe foot:large organ pipe feet]
[VALUE:10]
[WOOD_MAT]
[METAL_MAT]
[BONE_MAT]
[TILE:155]
[SIZE:3500]
[MATERIAL_SIZE:7]
[DESCRIPTION:The foot is the bottom portion of the pipe, usually conical. At its base is the toe hole, through which wind enters it. The length of the foot does not affect the pipe's pitch, so organ builders vary the foot lengths of their flue pipes depending on other factors, including the desired shape of the pipes in the façade, the height of the rackboard in which the pipes are seated, and the weight of the completed pipe.]
I tried to amend the reaction in various different ways, like [IMPROVEMENT:100:tool:INSTRUMENT_PIECE:LARGE_RESONATOR:GET_MATERIAL_FROM_REAGENT:large resonator:NONE] or [IMPROVEMENT:100:tool:ORGAN_PIPE_RESONATOR_LARGE:LARGE_RESONATOR:GET_MATERIAL_FROM_REAGENT:large resonator:NONE]. But none of them seemed to work. Any ideas what's wrong or if that can be done at all?
[REACTION:MAKE_ORGAN_FLUE_PIPES_LARGE]
[NAME:assemble large organ flue pipes]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:large resonator:1:TOOL:ORGAN_PIPE_RESONATOR_LARGE:NONE:NONE]
[REAGENT:large labium:1:TOOL:ORGAN_PIPE_LABIUM_LARGE:NONE:NONE]
[REAGENT:large foot:1:TOOL:ORGAN_PIPE_FOOT_LARGE:NONE:NONE]
[PRODUCT:100:1:TOOL:ORGAN_FLUE_PIPES_LARGE:GET_MATERIAL_FROM_REAGENT:large resonator:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:LARGE_RESONATOR:GET_MATERIAL_FROM_REAGENT:large resonator:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:LARGE_LABIUM:GET_MATERIAL_FROM_REAGENT:large labium:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:LARGE_FOOT:GET_MATERIAL_FROM_REAGENT:large foot:NONE]
[SKILL:WOODCRAFT]xxxx
[DESCRIPTION:USE_TOOL:ORGAN_PIPE_RESONATOR_LARGE]xxxx
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_ORGAN_PIPE_RESONATOR_LARGE]
[NAME:make large organ pipe resonator]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:7:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:ORGAN_PIPE_RESONATOR_LARGE:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:ORGAN_PIPE_RESONATOR_LARGE]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_ORGAN_PIPE_LABIUM_LARGE]
[NAME:make large organ pipe labium]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:ORGAN_PIPE_LABIUM_LARGE:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:ORGAN_PIPE_LABIUM_LARGE]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_ORGAN_PIPE_FOOT_LARGE]
[NAME:make large organ pipe foot]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:ORGAN_PIPE_FOOT_LARGE:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:ORGAN_PIPE_FOOT_LARGE]
[CATEGORY:INSTRUMENT_PIECE]
thanks a lot for this- something i'm pretty sure anybody who's tried to get a music industry going in their fort has wished for! i hope you don't mind i started trying to fill out the rest of the orchestra, as it were... i'm just impatient to have this fleshed out enough to get rid of the generated monstrosities for good!
instrument_item_shawm.txt
item_instrument_shawm
[OBJECT:ITEM]
[ITEM_TOOL:PART_DOUBLE_REED]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:double reed:double reeds]
[VALUE:5]
[WOOD_MAT]
[TILE:155]
[SIZE:120][MATERIAL_SIZE:1]
[DESCRIPTION:A reed is a thin strip of material which vibrates to produce a sound on a musical instrument.]
[ITEM_TOOL:PART_SHAWM_BODY]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:shawm body:shawm bodies]
[VALUE:15]
[WOOD_MAT]
[TILE:155]
[SIZE:1500][MATERIAL_SIZE:2]
[DESCRIPTION:The long cylindrical body makes up most of the shawm.]
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_SHAWM]
[NAME:shawm:shawms]
[VALUE:45]
[SIZE:1500]
[DOMINANT_MATERIAL_PIECE:BODY]
[INSTRUMENT_PIECE:BODY:PART_SHAWM_BODY:body:bodies:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:NECK:PART_DOUBLE_REED:neck:necks:ALWAYS_SINGULAR]
[MATERIAL_SIZE:2]
[SOUND_PRODUCTION:BLOW_OVER_DOUBLE_REED]
[PITCH_CHOICE:SUBPART_CHOICE:SELF]
[VOLUME_mB:0:10000]
[PITCH_RANGE:-1200:3000]
[TIMBRE:SPARSE:REEDY:QUAVERING]
[MUSIC_SKILL:PLAY_WIND_INSTRUMENT]
[DESCRIPTION:The shawm is a double-reed musical instrument usually turned from a single piece of wood.]
reaction_instrument_shawm.txt
reaction_instrument_shawm
[OBJECT:REACTION]
[REACTION:MAKE_DOUBLE_REED]
[NAME:make double reed]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:3:TOOL:PART_DOUBLE_REED:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:Makes 3 double reeds for woodwind instruments.]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_SHAWM_BODY]
[NAME:make shawm body]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_SHAWM_BODY:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:PART_SHAWM_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_ITEM_INSTRUMENT_SHAWM]
[NAME:assemble shawm]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:body:1:TOOL:PART_SHAWM_BODY:NONE:NONE]
[REAGENT:reed:1:TOOL:PART_DOUBLE_REED:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_SHAWM:GET_MATERIAL_FROM_REAGENT:body:NONE]
[PRODUCT_TOKEN:instrument]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BODY:GET_MATERIAL_FROM_REAGENT:body:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:REED:GET_MATERIAL_FROM_REAGENT:reed:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:A wooden horn utilizing a double reed.]
[CATEGORY:INSTRUMENT]
entity.txt
[TOOL:PART_DOUBLE_REED]
[TOOL:PART_SHAWM_BODY]
[INSTRUMENT:ITEM_INSTRUMENT_SHAWM]
[PERMITTED_REACTION:MAKE_DOUBLE_REED]
[PERMITTED_REACTION:MAKE_INSTRUMENT_SHAWM_BODY]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_SHAWM]
item_instrument_clarinet.txt
item_instrument_clarinet
[OBJECT:ITEM]
[ITEM_TOOL:PART_SINGLE_REED]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:single reed:single reeds]
[VALUE:5]
[WOOD_MAT]
[TILE:155]
[SIZE:100][MATERIAL_SIZE:1]
[DESCRIPTION:A reed is a thin strip of material which vibrates to produce a sound on a musical instrument.]
[ITEM_TOOL:PART_CLARINET_BODY]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:clarinet body:clarinet bodies]
[VALUE:20]
[WOOD_MAT]
[TILE:155]
[SIZE:600][MATERIAL_SIZE:1]
[DESCRIPTION:The long cylindrical body makes up most of the clarinet.]
[ITEM_TOOL:PART_CLARINET_OTHER]
[NO_DEFAULT_JOB]
[INCOMPLETE_ITEM]
[UNIMPROVABLE]
[NAME:clarinet hardware:clarinet hardware]
[VALUE:20]
[METAL_MAT]
[TILE:155]
[SIZE:50][MATERIAL_SIZE:1]
[DESCRIPTION:The clarinet hardware includes the keywork, ligature, and inlays which attach to the body of the instrument.]
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_CLARINET]
[NAME:clarinet:clarinets]
[VALUE:55]
[SIZE:1500]
[DOMINANT_MATERIAL_PIECE:BODY]
[INSTRUMENT_PIECE:BODY:PART_CLARINET_BODY:body:bodies:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:REED:PART_SINGLE_REED:reed:reeds:ALWAYS_SINGULAR]
[INSTRUMENT_PIECE:OTHER:PART_CLARINET_OTHER:hardware:hardware:ALWAYS_SINGULAR]
[MATERIAL_SIZE:2]
[SOUND_PRODUCTION:BLOW_OVER_SINGLE_REED]
[PITCH_CHOICE:SUBPART_CHOICE:SELF]
[VOLUME_mB:0:10000]
[PITCH_RANGE:-400:2400]
[TIMBRE:MELLOW:WARM:BRIGHT]
[MUSIC_SKILL:PLAY_WIND_INSTRUMENT]
[DESCRIPTION:The clarinet is a single reed instrument in the woodwind family known for it's distinctive tone.]
reaction_instrument_clarinet.txt
reaction_instrument_clarinet
[OBJECT:REACTION]
[REACTION:MAKE_SINGLE_REED]
[NAME:make single reed]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:3:TOOL:PART_SINGLE_REED:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:Makes 3 single reeds for woodwind instruments.]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_CLARINET_BODY]
[NAME:make clarinet body]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:wood:1:WOOD:NONE:NONE:NONE]
[PRODUCT:100:1:TOOL:PART_CLARINET_BODY:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:USE_TOOL:PART_CLARINET_BODY]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_INSTRUMENT_CLARINET_OTHER]
[NAME:forge clarinet hardware]
[BUILDING:METALSMITH:NONE]
[FUEL]
[REAGENT:bar:30:BAR:NONE:METAL:NONE]
[PRODUCT:100:1:TOOL:PART_CLARINET_OTHER:GET_MATERIAL_FROM_REAGENT:bar:NONE]
[SKILL:METALCRAFT]
[DESCRIPTION:USE_TOOL:PART_CLARINET_OTHER]
[CATEGORY:INSTRUMENT_PIECE]
[REACTION:MAKE_ITEM_INSTRUMENT_CLARINET]
[NAME:assemble clarinet]
[BUILDING:CRAFTSMAN:NONE]
[REAGENT:body:1:TOOL:PART_CLARINET_BODY:NONE:NONE]
[REAGENT:reed:1:TOOL:PART_SINGLE_REED:NONE:NONE]
[REAGENT:hardware:1:TOOL:PART_CLARINET_OTHER:NONE:NONE]
[PRODUCT:100:1:INSTRUMENT:ITEM_INSTRUMENT_CLARINET:GET_MATERIAL_FROM_REAGENT:body:NONE]
[PRODUCT_TOKEN:instrument]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:BODY:GET_MATERIAL_FROM_REAGENT:body:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:HARDWARE:GET_MATERIAL_FROM_REAGENT:hardware:NONE]
[IMPROVEMENT:100:instrument:INSTRUMENT_PIECE:REED:GET_MATERIAL_FROM_REAGENT:reed:NONE]
[SKILL:WOODCRAFT]
[DESCRIPTION:A single reed instrument in the woodwind family.]
[CATEGORY:INSTRUMENT]
entity.txt
[TOOL:PART_SINGLE_REED]
[TOOL:PART_CLARINET_BODY]
[TOOL:PART_CLARINET_OTHER]
[INSTRUMENT:ITEM_INSTRUMENT_CLARINET]
[PERMITTED_REACTION:MAKE_SINGLE_REED]
[PERMITTED_REACTION:MAKE_INSTRUMENT_CLARINET_BODY]
[PERMITTED_REACTION:MAKE_INSTRUMENT_CLARINET_OTHER]
[PERMITTED_REACTION:MAKE_ITEM_INSTRUMENT_CLARINET]
Finished the organ. Building an organ was always a huge undertaking, so it is in Dwarf Fortress. It consists of not less than 10 main parts, created from 30 sub parts, created from 125 raw materials. Many different materials like wood, metal, stone, glass, bone and even leather, mechansims and pipe sections can be used or are even required in some cases. For easier reference I added in-game information about all the required ingredients to each of the 166 different reactions. Also all the instrument parts and sub-parts have a custom description.
When there is a musician around, please have a brief view on the values [VOLUME_mB], [SOUND_PRODUCTION], [PITCH_CHOICE], [TUNING], [PITCH_RANGE] and [REGISTER] of the main instrument defintion. I hope those make sense.
[ITEM_INSTRUMENT:ITEM_INSTRUMENT_ORGAN]
[NAME:organ:organs]
[DESCRIPTION:The pipe organ is a musical instrument that produces sound by driving pressurized air (called wind) through pipes selected via a keyboard. Because each organ pipe produces a single pitch, the pipes are provided in sets called ranks, each of which has a common timbre and volume throughout the keyboard compass. Most organs have multiple ranks of pipes of differing timbre, pitch and volume that the player can employ singly or in combination through the use of controls called stops. A pipe organ has one or more keyboards played by the hands (called manuals), and a pedalboard played by the feet; each keyboard has its own group of stops. The keyboard(s), pedalboard, and stops are housed in the organ's console. The organ's continuous supply of wind allows it to sustain notes for as long as the corresponding keys are depressed, unlike the piano and harpsichord whose sound begins to decay immediately after attack. The smallest portable pipe organs may have only one or two dozen pipes and one manual; the largest may have over 20,000 pipes and seven manuals.]
[VALUE:5000]
[SIZE:50000000]
[DOMINANT_MATERIAL_PIECE:CASE]
[INSTRUMENT_PIECE:TINY_FLUE_PIPES:ORGAN_FLUE_PIPES_TINY:tiny flue pipes:tiny flue pipes:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:SMALL_FLUE_PIPES:ORGAN_FLUE_PIPES_SMALL:small flue pipes:small flue pipes:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:MEDIUM_FLUE_PIPES:ORGAN_FLUE_PIPES_MEDIUM:medium flue pipes:medium flue pipes:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:LARGE_FLUE_PIPES:ORGAN_FLUE_PIPES_LARGE:large flue pipes:large flue pipes:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:HUGE_FLUE_PIPES:ORGAN_FLUE_PIPES_HUGE:huge flue pipes:huge flue pipes:ALWAYS_PLURAL]
[INSTRUMENT_PIECE:ACTION:ORGAN_ACTION:action:actions:STANDARD]
[INSTRUMENT_PIECE:WIND_SYSTEM:ORGAN_WIND_SYSTEM:wind system:wind systems:STANDARD]
[INSTRUMENT_PIECE:STOP:ORGAN_STOP:stop:stops:STANDARD]
[INSTRUMENT_PIECE:CONSOLE:ORGAN_CONSOLE:console:consoles:STANDARD]
[INSTRUMENT_PIECE:CASE:ORGAN_CASE:case:cases:STANDARD]
[VOLUME_mB:0:12000]
[SOUND_PRODUCTION:AIR_OVER_FREE_REED:TINY_FLUE_PIPES:SMALL_FLUE_PIPES:MEDIUM_FLUE_PIPES:LARGE_FLUE_PIPES:HUGE_FLUE_PIPES]
[PITCH_CHOICE:FOOT_PEDALS:WIND_SYSTEM:CONSOLE]
[PITCH_CHOICE:KEYBOARD:CONSOLE]
[TUNING:PEGS:CONSOLE]
[TUNING:ADJUSTABLE_BRIDGES:CONSOLE]
[TUNING:LEVERS:CONSOLE]
[PITCH_RANGE:-6400:6400]
[REGISTER:-6400:0:EVOLVING:HEAVY:RICH:STRONG:VIBRATING:SONOROUS:RESONANT]
[REGISTER:0:6400:LIGHT:CLEAR:DELICATE:BRIGHT:STRONG:SONOROUS:RESONANT]
[MUSIC_SKILL:PLAY_KEYBOARD_INSTRUMENT]
Also when someone knows, how to define the organ as a stationary instrument available via the building menu, please let me know. Bonus, when you can tell me, if it can be made so it uses up more space e.g. 2x3 instead of standard 1x1.
I upped the complete raws including the ocarina here: http://dffd.bay12games.com/file.php?id=11772