Happy Hallowe'en, everybody!
In the spirit of the season, I quickly decided that Dwarf Fortress was lacking in medical practices of moral dubiousness (at least, from within the game itself; there's evidence enough that the players are trying to make up the difference from outside). So I've tailored a little bit here and there, and copied a few files from Deon's stuff to create a first-stage
malpractice mad scientist-friendly mod.
As with almost all the modding work I do, just put the following in the appropriately named files or insert them into the entity file race of your choice.
The Building- Laboratory: Requires a table, an enormous corkscrew, 3 chains/ropes, 3 sections of pipes, and 6 mechanisms; this is where you're going to be having fun!
building_medical
[OBJECT:BUILDING]
[BUILDING_WORKSHOP:LABORATORY]
[NAME:Laboratory]
[NAME_COLOR:4:0:0]
[DIM:5:5]
[WORK_LOCATION:3:2]
[BUILD_LABOR:MECHANIC]
[BUILD_KEY:CUSTOM_ALT_L]
[BLOCK:1:1:0:0:0:1]
[BLOCK:2:1:0:0:0:1]
[BLOCK:3:0:0:1:0:0]
[BLOCK:4:1:0:0:0:1]
[BLOCK:5:1:0:0:0:1]
[TILE:0:1:221:' ':' ':' ':222]
[TILE:0:2:' ':' ':' ':' ':' ']
[TILE:0:3:' ':' ':' ':' ':' ']
[TILE:0:4:' ':' ':' ':' ':' ']
[TILE:0:5:221:' ':' ':128:222]
[COLOR:0:1:0:0:1:0:0:0:0:0:0:0:0:0:0:0:1]
[COLOR:0:2:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0]
[COLOR:0:3:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0]
[COLOR:0:4:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0]
[COLOR:0:5:0:0:1:0:0:0:0:0:0:7:0:0:0:0:1]
[TILE:1:1:221:' ':' ':' ':222]
[TILE:1:2:221:' ':15:' ':' ']
[TILE:1:3:' ':' ':' ':' ':' ']
[TILE:1:4:221:' ':157:' ':' ']
[TILE:1:5:221:' ':' ':128:222]
[COLOR:1:1:0:0:1:0:0:0:0:0:0:0:0:0:0:0:1]
[COLOR:1:2:0:0:1:0:0:0:7:0:0:0:0:0:0:0:0]
[COLOR:1:3:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0]
[COLOR:1:4:0:0:1:0:0:0:7:0:0:0:0:0:0:0:0]
[COLOR:1:5:0:0:1:0:0:0:0:0:0:7:0:0:0:0:1]
[TILE:2:1:221:' ':' ':' ':222]
[TILE:2:2:221:' ':15:' ':222]
[TILE:2:3:' ':' ':247:' ':32]
[TILE:2:4:221:157:' ':' ':222]
[TILE:2:5:221:' ':' ':128:222]
[COLOR:2:1:0:0:1:0:0:0:0:0:0:0:0:0:0:0:1]
[COLOR:2:2:0:0:1:0:0:0:7:0:0:0:0:0:0:0:1]
[COLOR:2:3:0:0:0:0:0:0:7:7:0:0:0:0:0:0:0]
[COLOR:2:4:0:0:1:7:0:0:0:0:0:0:0:0:0:0:1]
[COLOR:2:5:0:0:1:0:0:0:0:0:0:7:0:0:0:0:1]
[TILE:3:1:221:' ':15:' ':222]
[TILE:3:2:221:' ':' ':' ':222]
[TILE:3:3:' ':' ':247:' ':' ']
[TILE:3:4:221:' ':' ':' ':222]
[TILE:3:5:221:157:' ':128:222]
[COLOR:3:1:0:0:1:0:0:0:7:0:0:0:0:0:0:0:1]
[COLOR:3:2:0:0:1:0:0:0:0:0:0:0:0:0:0:0:1]
[COLOR:3:3:0:0:0:0:0:0:4:7:1:0:0:0:0:0:0]
[COLOR:3:4:0:0:1:0:0:0:0:0:0:0:0:0:0:0:1]
[COLOR:3:5:0:0:1:6:0:1:0:0:0:7:0:0:0:0:1]
[BUILD_ITEM:1:TABLE:NONE:NONE:NONE][CAN_USE_ARTIFACT]
[BUILD_ITEM:3:CHAIN:NONE:NONE:NONE]
[BUILD_ITEM:1:TRAPCOMP:ITEM_TRAPCOMP_ENORMOUSCORKSCREW:NONE:NONE]
[BUILD_ITEM:3:PIPE_SECTION:NONE:NONE:NONE]
[BUILD_ITEM:6:TRAPPARTS:NONE:NONE:NONE][CAN_USE_ARTIFACT]
The Reactions(Training in all the medical arts)
reaction_medical
[OBJECT:REACTION]
[REACTION:TRAIN_BONESETTING]
[NAME:Train Bone Setting]
[BUILDING:LABORATORY:CUSTOM_B]
[REAGENT:A:1:CLOTH:NONE:NONE:NONE][PRESERVE_REAGENT]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:GENERICGAS]
[SKILL:SET_BONE]
[REACTION:TRAIN_DIAGNOSTICS]
[NAME:Train Diagnostics]
[BUILDING:LABORATORY:CUSTOM_D]
[REAGENT:A:1:REMAINS:NONE:NONE:NONE]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:GENERICGAS]
[SKILL:DIAGNOSE]
[REACTION:TRAIN_SURGERY]
[NAME:Train Surgery]
[BUILDING:LABORATORY:CUSTOM_U]
[REAGENT:A:1:WEAPON:ITEM_WEAPON_SCALPEL:NONE:NONE][PRESERVE_REAGENT]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:GENERICGAS]
[SKILL:SURGERY]
[REACTION:TRAIN_SUTURING]
[NAME:Train Suturing]
[BUILDING:LABORATORY:CUSTOM_S]
[REAGENT:A:1:THREAD:NONE:NONE:NONE][PRESERVE_REAGENT]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:GENERICGAS]
[SKILL:SUTURE]
[REACTION:TRAIN_WOUNDDRESSING]
[NAME:Train Wound Dressing]
[BUILDING:LABORATORY:CUSTOM_R]
[REAGENT:A:1:CLOTH:NONE:NONE:NONE][PRESERVE_REAGENT]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:GENERICGAS]
[SKILL:DRESS_WOUNDS]
[REACTION:HEAL_THE_WOUNDED]
[NAME:Conduct Mad Healing]
[BUILDING:LABORATORY:CUSTOM_H]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:HEALINGGAS]
[SKILL:DIAGNOSE]
[REACTION:VAMPIRIC_TRANSFORMATION]
[NAME:Become a Vampire]
[BUILDING:LABORATORY:CUSTOM_V]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:VAMPGAS]
[REACTION:BEASTIAL_TRANSFORMATION]
[NAME:Become a Werebeast]
[BUILDING:LABORATORY:CUSTOM_W]
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:WEREGAS]
The Gear- Armor: Lab coats, aprons, goggles, plague masks, surgical masks)
- Weapons: Bonesaws, scalpels, needle guns & needles)
item_medical
[OBJECT:ITEM]
[ITEM_ARMOR:ITEM_ARMOR_COAT_LAB] Original stats from cloak
[NAME:lab coat:lab coats]
[UBSTEP:MAX]
[LBSTEP:1]
[LAYER:COVER]
[COVERAGE:100]
[LAYER_SIZE:15]
[LAYER_PERMIT:150]
[MATERIAL_SIZE:5]
[SOFT]
[LEATHER]
[STRUCTURAL_ELASTICITY_WOVEN_THREAD]
[ITEM_ARMOR:ITEM_ARMOR_APRON] Original stats from toga
[NAME:apron:aprons]
[UBSTEP:1]
[LBSTEP:1]
[LAYER:OVER]
[COVERAGE:100]
[LAYER_SIZE:30]
[LAYER_PERMIT:100]
[MATERIAL_SIZE:5]
[SOFT]
[LEATHER]
[STRUCTURAL_ELASTICITY_WOVEN_THREAD]
[ITEM_HELM:ITEM_HELM_GOGGLES] Original stats from mask
[NAME:goggles:goggles]
[LAYER:UNDER]
[COVERAGE:50]
[LAYER_SIZE:20]
[LAYER_PERMIT:10]
[MATERIAL_SIZE:2]
[SOFT]
[LEATHER]
[HARD]
[METAL]
[BARRED]
[SCALED]
[STRUCTURAL_ELASTICITY_WOVEN_THREAD]
[SHAPED]
[ITEM_HELM:ITEM_HELM_MASK_PLAGUE] Original stats from mask
[NAME:plague mask:plague masks]
[LAYER:UNDER]
[COVERAGE:50]
[LAYER_SIZE:20]
[LAYER_PERMIT:10]
[MATERIAL_SIZE:2]
[SOFT]
[LEATHER]
[HARD]
[METAL]
[BARRED]
[SCALED]
[STRUCTURAL_ELASTICITY_WOVEN_THREAD]
[SHAPED]
[ITEM_HELM:ITEM_HELM_MASK_SURGICAL] Original stats from face veil
[NAME:surgical mask:surgical masks]
[LAYER:UNDER]
[COVERAGE:50]
[LAYER_SIZE:10]
[LAYER_PERMIT:100]
[MATERIAL_SIZE:2]
[SOFT]
[LEATHER]
[STRUCTURAL_ELASTICITY_WOVEN_THREAD]
[ITEM_WEAPON:ITEM_WEAPON_BONESAW]
[NAME:bonesaw:bonesaws]
[SIZE:300]
[SKILL:SET_BONE]
[TWO_HANDED:37500]
[MINIMUM_SIZE:32500]
[CAN_STONE]
[MATERIAL_SIZE:3]
[ATTACK:EDGE:20000:4000:saw:saws:serrated teeth:1250]
[ATTACK:BLUNT:20000:4000:slap:slaps:flat:1250]
[ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]
[ITEM_WEAPON:ITEM_WEAPON_SCALPEL] Original stats from dagger
[NAME:scalpel:scalpels]
[SIZE:100]
[SKILL:SURGERY]
[TWO_HANDED:13750]
[MINIMUM_SIZE:2500]
[CAN_STONE]
[MATERIAL_SIZE:1]
[ATTACK:EDGE:1000:800:slash:slashes:NO_SUB:1250]
[ATTACK:EDGE:5:1000:stab:stabs:NO_SUB:1000]
[ITEM_WEAPON:ITEM_WEAPON_NEEDLE_GUN] Original stats from blowgun; inspiration from Team Fortress 2's syringe gun
[NAME:needle gun:needle guns]
[SIZE:150]
[SKILL:DIAGNOSE]
[RANGED:DIAGNOSE:NEEDLE]
[SHOOT_FORCE:100]
[SHOOT_MAXVEL:1000]
[TWO_HANDED:0]
[MINIMUM_SIZE:5000]
[MATERIAL_SIZE:2]
[ATTACK:BLUNT:10000:4000:bash:bashes:NO_SUB:1250]
[ITEM_AMMO:ITEM_AMMO_NEEDLES] Original stats from blowdarts
[NAME:needle:needles]
[CLASS:BLOWDART]
[SIZE:20]
[ATTACK:EDGE:1:50:inject:injects:NO_SUB:1000]
The Insertions to be AddedInsert the following pretty much anywhere in the entity of your choice.
[PERMITTED_BUILDING:ANATOMICAL_THEATER]
[PERMITTED_REACTION:TRAIN_BONESETTING]
[PERMITTED_REACTION:TRAIN_DIAGNOSTICS]
[PERMITTED_REACTION:TRAIN_SURGERY]
[PERMITTED_REACTION:TRAIN_SUTURING]
[PERMITTED_REACTION:TRAIN_WOUNDDRESSING]
[PERMITTED_REACTION:HEAL_THE_WOUNDED]
[PERMITTED_REACTION:VAMPIRIC_TRANSFORMATION]
[PERMITTED_REACTION:BEASTIAL_TRANSFORMATION]
[WEAPON:ITEM_WEAPON_BONESAW]
[WEAPON:ITEM_WEAPON_SCALPEL]
[WEAPON:ITEM_WEAPON_NEEDLE_GUN]
[AMMO:ITEM_AMMO_NEEDLES]
[ARMOR:ITEM_ARMOR_COAT_LAB:UNCOMMON]
[ARMOR:ITEM_ARMOR_APRON:UNCOMMON]
[HELM:ITEM_HELM_GOGGLES:UNCOMMON]
[HELM:ITEM_HELM_MASK_PLAGUE:UNCOMMON]
[HELM:ITEM_HELM_MASK_SURGICAL:UNCOMMON]
Add the following to the chief medical dwarf position (or your choice race's equivalent position):
[SQUAD:10:igor:igors]
The Behind-the-Scenes Materials- Generic Gas (a sublimating stone used for a reaction to produce a product that won't stay around)
- Healing Gas (will fully heals whomever inhales it by turning them into a toad for a second)
- Vampirizing Gas (it turns whomever breathes it in into a vampire, but not 100% of the time)
- Beastial Gas (it should turn anyone breathing it into a werebeast, but doesn't work right now)
inorganic_medical
[OBJECT:INORGANIC]
[INORGANIC:GENERICGAS]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL:generic gas]
[DISPLAY_COLOR:7:0:0][TILE:176]
[SOLID_DENSITY:10]
[MATERIAL_VALUE:0]
[SPEC_HEAT:1]
[MELTING_POINT:NONE]
[BOILING_POINT:10000]
[MAT_FIXED_TEMP:10067]
[NO_STONE_STOCKPILE]
[INORGANIC:HEALINGGAS]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL:healing gas]
[DISPLAY_COLOR:7:0:0][TILE:176]
[SOLID_DENSITY:10]
[MATERIAL_VALUE:0]
[SPEC_HEAT:1]
[MELTING_POINT:NONE]
[BOILING_POINT:10000]
[MAT_FIXED_TEMP:10067]
[NO_STONE_STOCKPILE]
[SYNDROME]
[SYN_NAME:mad healing]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_INHALED][SYN_CONTACT]
[CE_BODY_TRANSFORMATION:START:0:END:1]
[CE:CREATURE:TOAD:MALE]
[INORGANIC:VAMPGAS]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL:vampirizing gas]
[DISPLAY_COLOR:4:0:0][TILE:176]
[SOLID_DENSITY:10]
[MATERIAL_VALUE:0]
[SPEC_HEAT:1]
[MELTING_POINT:NONE]
[BOILING_POINT:10000]
[MAT_FIXED_TEMP:10067]
[NO_STONE_STOCKPILE]
[SYNDROME]
[SYN_INHALED][SYN_CONTACT]
[SYN_CLASS:VAMPCURSE]
[CE_ADD_TAG:BLOODSUCKER:NO_AGING:STERILE:NOT_LIVING:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:PARALYZEIMMUNE:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:200:0:AGILITY:200:0:TOUGHNESS:200:0:START:0]
[CE_MATERIAL_FORCE_MULTIPLIER:MAT_MULT:NONE:NONE:1:2]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:RESERVED_BLOOD:START:0]
[CE:INTERACTION:VAMPIRE_CURSE]
[CE:SYNDROME_TAG:SYN_INGESTED]
[CE:SYNDROME_TAG:SYN_INJECTED]
[CE_DISPLAY_TILE:TILE:165:4:0:0:START:0:CAN_BE_HIDDEN]
[CE_DISPLAY_NAME:NAME:vampire:vampires:vampiric:START:0:CAN_BE_HIDDEN]
[CE_BP_APPEARANCE_MODIFIER:START:0:BP:BY_CATEGORY:TOOTH:APPEARANCE_MODIFIER:LENGTH:150]
[CE:COUNTER_TRIGGER:DRINKING_BLOOD:1:NONE:REQUIRED]
[INORGANIC:WEREGAS]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL:beastial gas]
[DISPLAY_COLOR:4:0:0][TILE:176]
[SOLID_DENSITY:10]
[MATERIAL_VALUE:0]
[SPEC_HEAT:1]
[MELTING_POINT:NONE]
[BOILING_POINT:10000]
[MAT_FIXED_TEMP:10067]
[NO_STONE_STOCKPILE]
[SYNDROME]
[SYN_INHALED][SYN_CONTACT]
[SYN_CLASS:WERECURSE]
[CE_BODY_TRANSFORMATION:START:16800]
[CE:CREATURE:WEREBEAST:DEFAULT]
[CE:PERIODIC:MOON_PHASE:27:0]
Things Still to Do:
- Figure out how to raise the dead.
- Uplift animals into talking, thinking beings.
- Turn a target's skin into metal.
- Gender reassignment.
- Alteration of relsizes (likely to be a single reaction with many possibilities, all of which have a small chance to occur).
- See if there's a way to alter the happiness levels of subjects/scientist, or find a way to mimic a true mad scientist's mania (maybe a short-term syndrome that adds the CRAZED tag).
- Almost anything else suggested.
Current Problems:
- All reactions give enough experience to raise an untrained scientist to legendary in the related skill.
- No armors have been successfully made; they do not appear in the embark list and no building will make them.
- Some of the reaction names are kinda lame and need to be replaced with something much better.
- Some reactions are currently unbalanced with respect to their reward (this will be changed later when cost-per-benefit results have been determined; potency now, balance later).
Edits:
131112: Anatomical Theater placeholder replaced with Laboratory; training reactions given a self-eliminating product for experience gain; added healing reaction, vampiric & werebeast transformations.