Re-add improved random sentience event (#29123)

* Re-add improved random sentience event

* Make randomly sentient PDA more likely

* Make vending machine sentience less likely

* Make requested changes

* Make randomly sentient captain's gear more likely

* Sentient captain sabre has pirate accent

* Tweak new random sentient object a bit more

* Sentient PDA improvements

* Apply recommended fixes

* Add requested changes

* Fix merge conflict
This commit is contained in:
Psychpsyo
2024-08-19 01:41:12 +02:00
committed by GitHub
parent c48a96ac15
commit 9a68cf0b0e
14 changed files with 114 additions and 35 deletions

View File

@@ -28,7 +28,8 @@ public partial class SharedInteractionSystem
private void CancelInteractEvent(Entity<BlockMovementComponent> ent, ref InteractionAttemptEvent args)
{
args.Cancelled = true;
if (ent.Comp.BlockInteraction)
args.Cancelled = true;
}
private void OnMoveAttempt(EntityUid uid, BlockMovementComponent component, UpdateCanMoveEvent args)