Long-timer lurker, first-time modder
I liked some of the stuff in Masterwork but the framerate was coming in around 40 even with all the 'slow' stuff shut off, so I rooted around in the raws and pulled out a couple things I liked like the training workshops, library, and especially the sacrificial altars. But rather than sacrificing items, I wanted the corpses of those foolish enough to attack my fortresses to become sacrifices to Armok. So over the course of a couple of hours I concluded that "corpse" is apparently not an item in the raws even though we've all seen plenty of them in-game. So instead my version of the Shrine of Armok takes
[REAGENT:A:1:CORPSE:NONE:NONE:NONE][UNROTTEN][USE_BODY_COMPONENT][DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
and potentially turns it into a selection from the item_weapon_mood file from Masterwork
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_ARMOK_SWORD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_AXE_GIANTS:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_AXE_BATTLE_ARMOK:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_AXE_BEARDED:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_CLAWS:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_CLOCKWORK:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_FLAIL_SOULREAPER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_GLAIVE:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_HAMMER_CLOUDGOD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_KERIS_TWIN:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_KHOPESH:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_MAUL_ARMOK:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_MORNINGSTAR_HEAVENS:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_PICK_MOUNTAINKING:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_PIKE_DRAGONSLAYER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_RAPIER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SCIMITAR_VIPERLORD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SWORD_BASTARD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SWORD_CHAMPION:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SWORD_DREADCLAYMORE:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_WHIP_HELLSLAVER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_VOID_CUTTER:INORGANIC:STEEL]
(I'm not sold on Steel but it's easy enough to change if I feel like it)
Unfortunately this seems to result in butcher detritus like hair and hooves being offered up, but the rate is low enough that I'm getting about one weapon per animal. So I'll just think of it as the animal being sacrificed. Luckily this configuration doesn't result in prepared food (or, in an earlier version, logs and barrels- pretty sure using :ORGANIC: was the problem) being sacrificed.
I tried it out by killing some random wild critters and it took their corpses wholesale, so I'm pretty sure it should work as intended, but I haven't put it through the real grinder by playing a game for a while to wait for a siege. It would be really helpful if it's possible to use :INTELLIGENT: or [INTELLIGENT] or something like that in the reagent, just so that only invaders are sacrificed. Or if captured creatures can be used in reactions; I understand vermin can but somehow I don't think Armor would be too impressed by a steady supply of cave spiders and rats.
Anyway, here's the rest of the files, and +1 to Zared for the Custom Workshop Workshop.
[REACTION:SACRIFICE]
[NAME:Sacrifice corpses]
[BUILDING:ARMOK_SHRINE:NONE]
[REAGENT:A:1:CORPSE:NONE:NONE:NONE][UNROTTEN][USE_BODY_COMPONENT][DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_ARMOK_SWORD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_AXE_GIANTS:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_AXE_BATTLE_ARMOK:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_AXE_BEARDED:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_CLAWS:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_CLOCKWORK:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_FLAIL_SOULREAPER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_GLAIVE:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_HAMMER_CLOUDGOD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_KERIS_TWIN:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_KHOPESH:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_MAUL_ARMOK:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_MORNINGSTAR_HEAVENS:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_PICK_MOUNTAINKING:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_PIKE_DRAGONSLAYER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_RAPIER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SCIMITAR_VIPERLORD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SWORD_BASTARD:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SWORD_CHAMPION:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_SWORD_DREADCLAYMORE:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_WHIP_HELLSLAVER:INORGANIC:STEEL]
[PRODUCT:1:1:WEAPON:ITEM_WEAPON_VOID_CUTTER:INORGANIC:STEEL]
[SKILL:CONCENTRATION]
[BUILDING_WORKSHOP:ARMOK_SHRINE]
[NAME:Shrine of Armok]
[BUILD_KEY:NONE]
[NAME_COLOR:7:0:1]
[BUILD_LABOR:MASON]
[DIM:3:4]
[WORK_LOCATION:2:2]
[BLOCK:1:1:1:1]
[BLOCK:2:1:0:1]
[BLOCK:3:0:0:0]
[BLOCK:4:0:0:0]
[TILE:0:1:17:32:254]
[TILE:0:2:32:32:44]
[TILE:0:3:254:46:0]
[TILE:0:4:32:32:96]
[COLOR:0:1:7:0:0:0:0:0:7:0:0]
[COLOR:0:2:0:0:0:0:0:0:7:0:0]
[COLOR:0:3:7:0:0:7:0:0:7:0:1]
[COLOR:0:4:0:0:0:0:0:0:7:0:0]
[TILE:1:1:16:32:96]
[TILE:1:2:32:96:61]
[TILE:1:3:45:209:61]
[TILE:1:4:32:96:61]
[COLOR:1:1:7:0:0:0:0:0:7:0:0]
[COLOR:1:2:0:0:0:7:0:0:7:0:1]
[COLOR:1:3:7:0:0:7:0:1:7:0:1]
[COLOR:1:4:0:0:0:7:0:0:7:0:1]
[TILE:2:1:92:45:45]
[TILE:2:2:14:61:61]
[TILE:2:3:124:209:61]
[TILE:2:4:32:47:61]
[COLOR:2:1:7:0:0:7:0:0:7:0:0]
[COLOR:2:2:7:0:1:7:0:1:7:0:1]
[COLOR:2:3:7:0:0:7:0:1:7:0:1]
[COLOR:2:4:0:0:0:7:0:0:7:0:1]
[TILE:3:1:146:14:146]
[TILE:3:2:253:209:61]
[TILE:3:3:61:61:253]
[TILE:3:4:253:61:253]
[COLOR:3:1:6:4:1:7:4:1:6:4:1]
[COLOR:3:2:7:4:1:4:4:1:4:4:1]
[COLOR:3:3:4:4:1:4:4:1:7:4:1]
[COLOR:3:4:7:4:1:4:0:1:7:4:1]
[BUILD_ITEM:5:BLOCKS:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY]
[BUILD_ITEM:1:STATUE:NONE:NONE:NONE][CAN_USE_ARTIFACT]
[BUILD_ITEM:1:TABLE:NONE:NONE:NONE][CAN_USE_ARTIFACT]
[BUILD_ITEM:1:BAR:NONE:INORGANIC:STEEL]!!REACTION_CLASS:KNIFE]!!CAN_USE_ARTIFACT]
[PERMITTED_REACTION:SACRIFICE]
[PERMITTED_BUILDING:ARMOK_SHRINE]
(and you'll need item_weapon_mood from Masterwork)