* Prevent borgs from being able to be briefly toggled off.
* Use the pre-existing component instead of making an unneccesary duplicate.
private void OnActivateVerb(Entity<ItemToggleComponent> ent, ref GetVerbsEvent<ActivationVerb> args)
{
- if (!args.CanAccess || !args.CanInteract)
+ if (!args.CanAccess || !args.CanInteract || !ent.Comp.OnActivate)
return;
var user = args.User;
cellSlotId: cell_slot
fitsInCharger: true
- type: ItemToggle
+ onActivate: false # You should not be able to turn off a borg temporarily.
activated: false # gets activated when a mind is added
onUse: false # no item-borg toggling sorry
- type: ItemTogglePointLight