Armageddon General Discussion Board

General => Code Discussion => Topic started by: Xio on March 17, 2009, 03:31:56 PM

Title: Clan members + guard
Post by: Xio on March 17, 2009, 03:31:56 PM
I've come across a number of situations where blocking a clan member from an exit, item, etc, was the RP thing to do but the code doesnt allow for that. I'd like it if it would be possible to toggle allowing certain people past you, whether or not they're in the same clan as you. Whenever you log on the default would be allow clan members, and deny non-clan members.
Title: Re: Clan members + guard
Post by: Bogre on March 17, 2009, 04:16:59 PM
Maybe something like a allow or disallow command:

>Guard north
You begin guarding the north exit.
>Allow
You are allowing clan members to pass, but blocking others (Default) 
>Disallow Amos
Okay, you will try and stop Amos.
>Allow
You are allowing clan members to pass, but blocking Amos and others.
>Disallow all
You will stop everyone
>allow all
You will let everyone pass.
>disallow Amos
You will try and stop Amos.
>Allow
You are allowing all to pass, but blocking Amos.
Title: Re: Clan members + guard
Post by: elvenchipmunk on March 17, 2009, 04:24:12 PM
Why not just make it that you have to stop guarding an exit for a clan member to pass. It's not like it's a huge hassle.
Title: Re: Clan members + guard
Post by: Rhyden on March 17, 2009, 04:26:41 PM
Quote from: elvenchipmunk on March 17, 2009, 04:24:12 PM
Why not just make it that you have to stop guarding an exit for a clan member to pass. It's not like it's a huge hassle.

Exactly, I don't really know what's up with the clanny-no-guard code anyways.
Title: Re: Clan members + guard
Post by: Bogre on March 17, 2009, 04:33:42 PM
It's for NPC's that guard areas.

So like if you want to have kuraci PC's board a wagon that NPC's guard, you can have the Pc's pass without having to have an agent order the guards around everytime, for instance.

It's pretty necessary to have clan members be able to pass.

Title: Re: Clan members + guard
Post by: Thunkkin on March 17, 2009, 05:01:45 PM
Very necessary for militia.  Sometimes, you need to let the templar or Sergeant leave the room without letting the suspect/prisoner/victim saunter out as well.

Also, sometimes militia need to guard an exit in the street ... the spam from guards on auto-patrol bumping into the militia would get real old real fast.

It would be nice, however, for said militia to be able to block a recruit from leaving the office when it's just become clear that said recruit is a secret Light-lover.

So ... I agree with the OP.

Title: Re: Clan members + guard
Post by: elvenchipmunk on March 17, 2009, 05:15:04 PM
This might be alright, then. But I'd rather default it so that clan members do NOT get by without you OK'ing it first.
Title: Re: Clan members + guard
Post by: Xio on March 17, 2009, 05:22:15 PM
Quote from: elvenchipmunk on March 17, 2009, 05:15:04 PM
This might be alright, then. But I'd rather default it so that clan members do NOT get by without you OK'ing it first.

Kinda makes whole process of 'guard cmd vs clanned NPCs' redundant then.
And i think its more likely to want to stop a single clanned member once in a while, rather than stopping everyone everytime you block an exit and having to ok everyone who needs to get past. Tedious and annoying at that point imo.
Title: Re: Clan members + guard
Post by: The7DeadlyVenomz on March 17, 2009, 05:28:14 PM
>guard west
You begin guarding the west exit.

Does as it currently does.

>guard west -thin
You begin guarding the west exit from thin people.

Will allow everyone but someone with thin in their keywords to pass.

>guard west +thin
You begin guarding the west exit, but will let thin people pass.

Will not allow anyone but somebody with thin in their keywords to pass.

guard west +thin +fat
You begin gaurding the west exit, but will let thin and fat people pass.

You can link various targets using this system.

You may also use names, but using a name requires that the target be in the room with you.
Title: Re: Clan members + guard
Post by: elvenchipmunk on March 17, 2009, 05:56:13 PM
Xio, I simply meant that if some sort of allow code was in, that it should default to off when you log in. In any case, I think all of these ideas would be improvements.
Title: Re: Clan members + guard
Post by: RogueGunslinger on March 18, 2009, 04:41:04 PM
Rockin' idea Venomz.