Ok, I finally updated to V1.1, because I wanted to try out that building upgrade with ticks. I am on dfhack r4. I have the syntax correct, it worker with V.1.0 (obviously not with the ticks/time syn_class, because you added that later), but after the update, everything broke. I get this error message:
[C]: in function '__index'
....09\Dwarf Fortress\hack\scripts/base_upgradebuilding.lua:110: in function '?'
...rkDF V.5.09\Dwarf Fortress\hack\lua\plugins\eventful.lua:49: in function <...rkDF V.5.09\Dwarf Fortress\hack\lua\plugins\eventful.lua:47>
....09\Dwarf Fortress\hack\scripts/base_upgradebuilding.lua:110: Cannot read field vector<reaction_reagent*>.1: index out of bounds.
stack traceback:
[C]: in function '__index'
....09\Dwarf Fortress\hack\scripts/base_upgradebuilding.lua:110: in function '?'
...rkDF V.5.09\Dwarf Fortress\hack\lua\plugins\eventful.lua:49: in function <...rkDF V.5.09\Dwarf Fortress\hack\lua\plugins\eventful.lua:47>
....09\Dwarf Fortress\hack\scripts/base_upgradebuilding.lua:110: Cannot read field vector<reaction_reagent*>.1: index out of bounds.stack traceback:
[C]: in function '__index'
....09\Dwarf Fortress\hack\scripts/base_upgradebuilding.lua:110: in function '?'
...rkDF V.5.09\Dwarf Fortress\hack\lua\plugins\eventful.lua:49: in function <...rkDF V.5.09\Dwarf Fortress\hack\lua\plugins\eventful.lua:47>
[DFHack]#
The raws are fine. Reaction, Inorganic, Building IDs, all works with the previous version of "upgradebuilding.lua", before you renamed it to "base_upgradebuilding.lua".
Any idea what might cause this?