* add a universal ID card to the universal access config
* make the admin access config have infinite range
* now checks for the BypassInteractionRange Tag instead
* Add suggested fix to the AccessOverrider system
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* remove other stuff I added
* another suggested change to avoid weird behaviour where you can use it from a distance
---------
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
if (!PrivilegedIdIsAuthorized(uid, component))
return;
- if (!_interactionSystem.InRangeUnobstructed(uid, component.TargetAccessReaderId))
+ if (!_interactionSystem.InRangeUnobstructed(player, component.TargetAccessReaderId))
{
_popupSystem.PopupEntity(Loc.GetString("access-overrider-out-of-range"), player, player);
requiresComplex: true
requireActiveHand: false
singleUser: true
+ inHandsOnly: true
- type: ItemSlots
- type: ContainerContainer
containers:
- GenpopLeave
privilegedIdSlot:
name: id-card-console-privileged-id
+ startingItem: UniversalIDCard
ejectSound: /Audio/Machines/id_swipe.ogg
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectOnBreak: true