All the pointers are greatly appreciated.
I am using a "cleanroom" setup for working on the mod, and the code snippet matches what I'm doing, so I'm glad that's confirmed as valid.
Wouldn't using OnLoad like that mean I would need to attach a script to every buildable object, including those added by other mods?
And those events would fire absolutely everywhere in the world as you play, before reaching the if-statement?
If so, it sounds quite... heavy.