( By replaced I mean transformed )
Offline raiding is a thing in these kinds of games and different games have implemented different workarounds, but compared to the other CE, is pretty much the only one with an existing AI ( As bad as it is right now ).
So to give an “semi-fair” chance of defense for the offline player, their character should assume a guard position while they are offline and try to defend their bases with some simple parameters.
- When structures and thralls that belongs to the player are taking damage, the AI will then defend against the attacker.
- If the Character itself is taking damage, the AI will try to flee and/or take cover, if not possible they will fight back.
- If the aggressor ceases the attack or die the AI will stop and return to where the player logged off.
The AI could use anything that is in the quickbar, but not in the backpack, neither open chests and replace/repair destroyed or damaged walls ( as of the near future, one step at a time needs to be done ).
With all the flaws the AI currently have, I think that it is still better than an unconscious character.