A very big mistake. Turrets are disabled. Go through authorization. And they can be picked up by any player and taken home.
The turrets can be lifted!
up
Maybe just destroy the turrets, not turn them off?
The plugin can be updated to simply disable pickup of the turrets with one line of code in the correct location:shturvalup
Maybe just destroy the turrets, not turn them off?
turret.pickup.enabled = false;WhiteThunder
The plugin can be updated to simply disable pickup of the turrets with one line of code in the correct location:turret.pickup.enabled = false;
and where exactly to specify this command?
shturvaland where exactly to specify this command?
Line 114
Once you're done it should look like this
private void ProcessNPCTurret(BaseNetworkable entity)
{
if (entity == null || entity.IsDestroyed || !(entity is NPCAutoTurret)) return;
var npcTurret = entity as NPCAutoTurret;
npcTurret.SetFlag(NPCAutoTurret.Flags.On, !disableCompoundTurrets, !disableCompoundTurrets);
npcTurret.UpdateNetworkGroup();
npcTurret.SendNetworkUpdateImmediate();
npcTurret.pickup.enabled = false;
}
This works for me, but do it at your own risk as I'm not the developer.