Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, Yandex

Members: 0
Guests: 20
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Building » locks and keys
Forum Rules | Mark all | Recent Posts

locks and keys
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jun 19, 2003, 4:52 pm
Go to the top of the page
Go to the bottom of the page

kilroy
Magician
GroupMembers
Posts122
JoinedMay 1, 2002

Heya , me again.

Questions about locks and keys.

When you create a door, and you have a locked flag on it, and then you create a key - you tell it what room it unlocks

Do I also have to create a lock object, and do an instaroom to get the lock inserted into the door ?

Thanks
Kilroy
       
Post is unread #2 Jun 19, 2003, 5:47 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

No. In the redit command should be an option to tell the exit the door represents to use a certain vnum for its key. You don't need to tell the key anything about it.
       
Post is unread #3 Jun 26, 2003, 8:00 am
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

To go a bit deeper...

redit exkey

The key doesn't have to exsist either... so be careful ;)


You'd also need:

redit exflags isdoor closed locked

This will make it a closed and locked door.

Also these optional flags: pickproof, nopassdoor, and bashproof

So, in theory a door set isdoor closed locked pickproof nopassdoor bashproof -- would be ONLY unlockable via the key set in exkey (Or if an Immortal decided to remove the 'locked' or 'closed' flag ;) )

-- X
       
Pages:<< prev 1 next >>