From 84d74ca4351a97148ad8339676f9df7946bc21fb Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 25 Jun 2026 20:33:47 -0400 Subject: feat: trigger system for scripted events added. --- internal/game/act_steal.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/game/act_steal.go') diff --git a/internal/game/act_steal.go b/internal/game/act_steal.go index 7371782..39df9e2 100644 --- a/internal/game/act_steal.go +++ b/internal/game/act_steal.go @@ -203,6 +203,10 @@ func (g *Game) startSteal(sess *net.Session, p *player.Player, targetType string targetID = mob.InstanceID mobInstanceID = mob.InstanceID + if mob.OwnerOnly && mob.Owner != "" && mob.Owner != p.Name { + sess.WriteLine("They don't seem interested in you.") + return + } if stealTable == "" { sess.WriteLine(fmt.Sprintf("You can't steal from the %s.", targetName)) return -- cgit v1.2.3