Alright, I'm tearing my hair out here. Just upgraded to the r4 version, and I'm having two problems...
1) When the game loads, itemsyndrome prints "itemsyndrome enabled," but starts disabled, despite being enabled in the dfhack init.
2) Even once it's enabled, itemsyndrome isn't actually applying syndromes. Turning debug on shows a bunch of unit and item checks, but none of them actually get the syndrome.
##########LFR v0.21 init file##########
##binary patches to fix vanilla bugs##
binpatch apply deconstruct-heapfall #prevents buildings from killing or injuring dwarves when deconstructed#
binpatch apply deconstruct-teleport #prevents items from teleporting around when a building is deconstructed#
binpatch apply hospital-overstocking #makes hospitals actually obey their stock limits#
binpatch apply custom-reagent-size #allows for partial use of reagents with dimensions in custom reactions - not used in LFR, but doesn't hurt#
binpatch apply training-ammo #allows marksdwarves to pick up and use training ammunition even if their quiver is full of combat ammo#
binpatch apply armorstand-capacity #doubles the capacity of armorstands#
binpatch apply weaponrack-unassign #fixes weapon racks - works together with the "fix armory" plugin#
##tweaks##
tweak patrol-duty #dwarves will not get negative thoughts for training sessions#
tweak stable-cursor #cursor remembers its position between menus#
tweak fix-dimensions #something involved with the custom reagent size fix#
tweak military-stable-assign #military position assignment list will no longer jump back to the start every time a unit is assigned#
tweak military-color-assigned #units already in squads will appear as a different color in the military assignment list#
tweak hive-crash #fixes a bee-related crash bug#
##plugins##
load autoSyndrome #required for ritual transformations and mechanical constructs#
autoSyndrome enable
load syndromeTrigger #required to make paragons work properly#
syndromeTrigger enable
load infiniteSky
infiniteSky enable #raises the map ceiling if you build up to it#
##scripts##
fix/growthbug enable #Fixes a bug with dwarves not growing to full adult size#
itemsyndrome enable contaminantsoff #Required for magical weapons#
[INORGANIC:DFHACK_ITEMSYNDROME_MATERIAL_STONECRUSHER]
[USE_MATERIAL_TEMPLATE:STONE_VAPOR_TEMPLATE]
[SYNDROME]
[SYN_NAME:stonecrusher]
[SYN_CLASS:DFHACK_ITEM_SYNDROME]
[SYN_CLASS:DFHACK_WIELDED_ONLY]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:pulverizing smash]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:MATERIAL:INORGANIC:GRANITE:SOLID_GLOB]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:3]
[CDI:VERB:smash the stonecrusher into the ground, kicking up stone fragments:smashes the stonecrusher into the ground, kicking up stone fragments:NA]
[CDI:MAX_TARGET_NUMBER:C:8]
[CDI:WAIT_PERIOD:1300]
[CDI:USAGE_HINT:ATTACK]