As long as it’s an entity, said entity belongs to somebody, said somebody is not the player, and the entity has some… components and stats (mostly the combat/health/menace) thing, it should be attackable. Taking a look at hostile mobs should reveal most of the important components.
At the same time, though, it will induce fear in whoever crosses it, so that’s something. If you want a true combat dummy that you could even tell “I want footman X to train on it”, then you would need to create your own AI actions for it. It’s not exactly an easy task.
I wouldn’t really recommend using
item_properties then, because that would imply that the object can be undeployed again - which wouldn’t be possible (different owner, although using the loot tool it would work) or make a lot of sense.
I’ve wanted to have Zulser to have some sort of… offensive or defensive stuff in it for quite some time, but I couldn’t think of anything. Training dummies crossed my mind, but because of the aforementioned issues (no control who attacks, issues with deploy/undeploy), I’ve stashed those.
I mean, for the sake of it, if you have a training dummy - with the current code - it could be abused as a defensive method, too. Just place a bunch of training dummies around your base and whoever might attack will focus on them instead. Everything that isn’t equal is hostile at the moment if I’m not mistaken.