Replace inorganic:marble with whatever you want to use for the material, and make sure you rename it.
How remake material of only one or two tissues but use normal flesh to other tissues? How make modded vomit?
I haven't seen how to mod vomit. Vomit might be hardcoded like SALT, coral, water, mud, pee filth, poo filth, grime. File: DF hardcoded materials:
http://www.dfwk.ru/Hardcoded_materials.txtyep, vomit is hardcoded.
Creature could spit poison instead, with interaction:material emission.
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Spit magma]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:MATERIAL:INORGANIC:BASALT:LIQUID_GLOB]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:8]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:60]
Creature nails would be
[USE_TISSUE_TEMPLATE:NAIL:OBSINAIL_TEMPLATE]
and inside the creature, define
[TISSUE:OBSINAIL_TEMPLATE]
[TISSUE_NAME:obsidian nail:NP]
[STRUCTURAL]
[TISSUE_MATERIAL:xxx] where xxx is for example INORGANIC:OBSIDIAN, see material token
http://dwarffortresswiki.org/index.php/DF2014:Material_token [RELATIVE_THICKNESS:1] [HEALING_RATE:700] [CONNECTS] [TISSUE_SHAPE:LAYER]
Here's more tissue-commanding examples, from Ent tree creature
[USE_MATERIAL_TEMPLATE:ENTWOOD:WOOD_TEMPLATE]
[STATE_NAME:ALL_SOLID:entwood]
[STATE_NAME_ADJ:ALL_SOLID:entwood]
[STATE_NAME:LIQUID:trickling entwood]
[STATE_NAME_ADJ:LIQUID:trickling entwood]
[STATE_NAME:GAS:boiling entwood]
[STATE_NAME_ADJ:GAS:boiling entwood]
[STATE_COLOR:ALL:BROWN]
[PREFIX:NONE]
[USE_MATERIAL_TEMPLATE:SPONGEDENTWOOD:BRAIN_TEMPLATE]
[STATE_NAME:ALL_SOLID:sponged entwood]
[STATE_NAME_ADJ:ALL_SOLID:sponged entwood]
[STATE_NAME:LIQUID:trickling sponged entwood]
[STATE_NAME_ADJ:LIQUID:trickling sponged entwood]
[STATE_NAME:GAS:boiling sponged entwood]
[STATE_NAME_ADJ:GAS:boiling sponged entwood]
[STATE_COLOR:ALL:BROWN]
[PREFIX:NONE]
[USE_MATERIAL_TEMPLATE:ENTSAP:BLOOD_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen ent sap]
[STATE_NAME_ADJ:ALL_SOLID:frozen ent sap]
[STATE_NAME:LIQUID:ent sap]
[STATE_NAME_ADJ:LIQUID:ent sap]
[STATE_NAME:GAS:boiling ent sap]
[STATE_NAME_ADJ:GAS:boiling ent sap]
[STATE_COLOR:ALL:GREEN]
[PREFIX:NONE]
[USE_MATERIAL_TEMPLATE:BLACKSAP:PUS_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen black sap]
[STATE_NAME_ADJ:ALL_SOLID:frozen black sap]
[STATE_NAME:LIQUID:black sap]
[STATE_NAME_ADJ:LIQUID:black sap]
[STATE_NAME:GAS:boiling black sap]
[STATE_NAME_ADJ:GAS:boiling black sap]
[STATE_COLOR:ALL:BLACK]
[PREFIX:NONE]
[TISSUE:BARK]
[TISSUE_NAME:bark:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:ENTWOOD]
[TISSUE_MAT_STATE:SOLID]
[SCARS]
[RELATIVE_THICKNESS:2]
[HEALING_RATE:80]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[TISSUE:ENTWOOD]
[TISSUE_NAME:entwood:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:ENTWOOD]
[TISSUE_MAT_STATE:SOLID]
[MUSCULAR]
[FUNCTIONAL]
[STRUCTURAL]
[VASCULAR:2]
[RELATIVE_THICKNESS:50]
[HEALING_RATE:130]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[TISSUE:SPONGEDENTWOOD]
[TISSUE_NAME:sponged entwood:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:SPONGEDENTWOOD]
[TISSUE_MAT_STATE:SOLID]
[MUSCULAR]
[FUNCTIONAL]
[STRUCTURAL]
[VASCULAR:50]
[RELATIVE_THICKNESS:1]
[HEALING_RATE:70]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[BODY:HUMANOID_NECK:2EYES:2EARS:NOSE:HEART:BRAIN:5FINGERS:5TOES:MOUTH]
[USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]
[STATE_NAME:ALL_SOLID:moss]
[STATE_ADJ:ALL_SOLID:moss]
[USE_MATERIAL_TEMPLATE:THREAD:THREAD_PLANT_TEMPLATE] --product of hair
[USE_TISSUE_TEMPLATE:HAIR:HAIR_TEMPLATE]
[TISSUE_NAME:moss:NP]
[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]
[STATE_NAME:ALL_SOLID:leaves]
[STATE_ADJ:ALL_SOLID:leaves]
[USE_TISSUE_TEMPLATE:LEAF:HAIR_TEMPLATE]
[TISSUE_NAME:leaves:NP]
[TISSUE_LAYER:BY_CATEGORY:ALL:ENTWOOD]
[TISSUE_LAYER:BY_CATEGORY:ALL:BARK]
[TISSUE_LAYER:BY_CATEGORY:HEAD:LEAF:TOP]
[TISSUE_LAYER:BY_CATEGORY:ARM_UPPER:LEAF:TOP]
[TISSUE_LAYER:BY_CATEGORY:ARM_UPPER:LEAF:TOP]
[TISSUE_LAYER:BY_CATEGORY:HEART:SPONGEDENTWOOD]
[TISSUE_LAYER:BY_CATEGORY:EYE:SPONGEDENTWOOD]
[TISSUE_LAYER:BY_CATEGORY:BRAIN:SPONGEDENTWOOD]
[BLOOD:LOCAL_CREATURE_MAT:ENTSAP:LIQUID]
[PUS:LOCAL_CREATURE_MAT:BLACKSAP:LIQUID]