You have been taken by the Mists

Author Topic: Lady's Rest - Inn Keys  (Read 941 times)

Illy-Dan

  • Undead Slayer
  • ***
  • Posts: 168
  • Who is John Galt?
    • Grey Wardens.com
Lady's Rest - Inn Keys
« on: February 15, 2011, 03:32:58 PM »
Not sure if this is the right place to put this.

Would there be any chance of moving the trigger that removes the Room key from you to somewhere like the stairs?  Losing the key every time I get lagged back into a room, or pass too close to a closed door is getting expensive and annoying in equal measure.

"Enemies, as well as lovers, come to resemble each other over a period of time."
— Sydney J. Harris

herkles

  • Dark Power
  • ******
  • Posts: 5541
    • Herkles's Portfolio
Re: Lady's Rest - Inn Keys
« Reply #1 on: February 15, 2011, 05:04:02 PM »
that would be nice for every inn, bar the tenements and the governor hotel which run off a diffrent script. But not sure how to script it, a scripting person would be good to chime in here.

Illy-Dan

  • Undead Slayer
  • ***
  • Posts: 168
  • Who is John Galt?
    • Grey Wardens.com
Re: Lady's Rest - Inn Keys
« Reply #2 on: February 15, 2011, 05:36:39 PM »
Now I haven't seen the script myself, of course, but I assume it runs similar to this:

Quote
<player walks on trigger when entering/exiting the room>
If key present in inventory set local variable to 1

If variable equal to 1, remove key from inventory.
Else do nothing.

If this is the case then you may wish to have two triggers.  One on the stairs, one on in the doorway.   Otherwise we will just have a repeat of the current problem, this time on the stairs rather than doorway.

Quote from: doorway
If key present in inventory set local variable to 1
//the character has now entered and presumably used a Inn Key

Quote from: Stairs
If variable greater than 0 remove key from inventory & set variable to 0

"Enemies, as well as lovers, come to resemble each other over a period of time."
— Sydney J. Harris

Saruven

  • Outlander
  • **
  • Posts: 75
Re: Lady's Rest - Inn Keys
« Reply #3 on: February 15, 2011, 11:57:44 PM »
Why not script it to be removed when the character closes the door?

Norture

  • Still noobin' it up.
  • Dark Power
  • ******
  • Posts: 3512
  • ???
Re: Lady's Rest - Inn Keys
« Reply #4 on: February 16, 2011, 01:19:37 AM »
Because people sometimes open the door to let more people in.

Miuo

  • Guest
Re: Lady's Rest - Inn Keys
« Reply #5 on: February 16, 2011, 06:20:55 AM »
(nods) The few servers i played on before had it so when you left the actual Inn, thats when you lost the key. Makes it easier if you can move about the Inn and keep your key, instead of buying a new key every time you leave your room.

dutchy

  • Dark Power
  • ******
  • Posts: 4706
  • Potm's own forum troll
Re: Lady's Rest - Inn Keys
« Reply #6 on: February 16, 2011, 08:12:07 AM »
I am prolly a jerk for saying this but. Why dont you adapt you know the key poofs when you cross the door/entry  after a few times i would stand somewhere else in the room if that happend.

Tagdar Stonebeard- the lone statue
Mihas Mandruleanu- He is the law
Gurdan- priest of the allfather, and current head of the silverhand trading company

Miuo

  • Guest
Re: Lady's Rest - Inn Keys
« Reply #7 on: February 16, 2011, 08:21:04 AM »
Sometimes it just happens when letting someone else into the room. I will at times Ic'ly set the key down on the table, or desk if the room has it to avoid such.

dutchy

  • Dark Power
  • ******
  • Posts: 4706
  • Potm's own forum troll
Re: Lady's Rest - Inn Keys
« Reply #8 on: February 16, 2011, 08:25:26 AM »
Exactly you adapted not idieal i agree but it works, when you open the door its a small effort to sendo a tell to the other guy saying to wait with coming in so you can step back.

Tagdar Stonebeard- the lone statue
Mihas Mandruleanu- He is the law
Gurdan- priest of the allfather, and current head of the silverhand trading company

Illy-Dan

  • Undead Slayer
  • ***
  • Posts: 168
  • Who is John Galt?
    • Grey Wardens.com
Re: Lady's Rest - Inn Keys
« Reply #9 on: February 16, 2011, 02:03:54 PM »
Exactly you adapted not idieal i agree but it works
Yeah, "adapt", kind of hard to adapt to lag caused by younger siblings on the other computer streaming their films. -_-

I don't mean to sound so incredibly negative, but the point remains: the current system is neither perfect or unchangeable.  Other methods exist that may, or may not, be more workable.  Just because the current system is in place does not mean it has to remain so.  Or perhaps I just lack the brain cells to remember not to walk, but bomb-burst, when trying to exit a inn room - entirely possible, knowing me. :)

"Enemies, as well as lovers, come to resemble each other over a period of time."
— Sydney J. Harris

Illy-Dan

  • Undead Slayer
  • ***
  • Posts: 168
  • Who is John Galt?
    • Grey Wardens.com
Re: Lady's Rest - Inn Keys
« Reply #10 on: February 16, 2011, 03:03:35 PM »
To add insult to injury, there are even times when the automatically closing door will lock you inside when you try to bomb-burst out.

I'm starting to think The Lady's Rest hates me... :(

"Enemies, as well as lovers, come to resemble each other over a period of time."
— Sydney J. Harris

dutchy

  • Dark Power
  • ******
  • Posts: 4706
  • Potm's own forum troll
Re: Lady's Rest - Inn Keys
« Reply #11 on: February 16, 2011, 03:14:13 PM »
ladies rest and your a man means it hates men.

alrite il work along then instead of saying adapt (wich i still think is best).

lets say the tag is on the stairs.
then all doors can be easely unlocked and more traffic will be there as in other people disturbing other people in the rooms.

tag on the inn door itself:
even more so that means people can harass others even more.

it solves the problem but might create another.

Tagdar Stonebeard- the lone statue
Mihas Mandruleanu- He is the law
Gurdan- priest of the allfather, and current head of the silverhand trading company

dutchy

  • Dark Power
  • ******
  • Posts: 4706
  • Potm's own forum troll
Re: Lady's Rest - Inn Keys
« Reply #12 on: February 16, 2011, 03:15:45 PM »
ps// with that i mean that for example my guard can buy one key and check every room without losing a key.

i rather have it IF we change it we gotta talk to the door and pay 10 gp  like we do with the drain that sorta system.

Tagdar Stonebeard- the lone statue
Mihas Mandruleanu- He is the law
Gurdan- priest of the allfather, and current head of the silverhand trading company

Illy-Dan

  • Undead Slayer
  • ***
  • Posts: 168
  • Who is John Galt?
    • Grey Wardens.com
Re: Lady's Rest - Inn Keys
« Reply #13 on: February 16, 2011, 03:46:08 PM »
Fair point, but what about placing the trigger a little further away from the rooms so that its not so overly sensitive?

"Enemies, as well as lovers, come to resemble each other over a period of time."
— Sydney J. Harris