MUD 3.53
[Sep 25 2007] - Rumble Added set/not set to extra descriptions menu in oedit so a builder can tell if they exist or not without having to enter the extra desc menu or stat the object. Replaced [TRIG] flag (showvnum enabled) with [T<vnum>] to make things easier to stat. [Sep 24 2007] - Rumble Added %is_pc% to return -1 for objects. (thanks Jamdog) Fixed do_gen_comm color bleed into last apostrophe in gossip/shout/grat/etc. Fixed bug where object keywords took precedence over door keywords. i.e. open door would try to open an object with keyword door. (thanks Trulight) [Sep 23 2007] - Rumble Fixed minlev checks in do_grab, do_wield, and do_wear. (thanks Trulight) Added trigedit variables(modifiable) Hunger, Thirst, and Drunk. [Sep 15 2007] - Rumble Fixed bug in unlimited drinks showing as empty. (thanks AaronGoulet)
This commit is contained in:
@@ -509,6 +509,11 @@ ACMD(do_gen_door)
|
||||
if (!generic_find(type, FIND_OBJ_INV | FIND_OBJ_ROOM, ch, &victim, &obj))
|
||||
door = find_door(ch, type, dir, cmd_door[subcmd]);
|
||||
|
||||
if ((obj) && (GET_OBJ_TYPE(obj) != ITEM_CONTAINER)) {
|
||||
obj = NULL;
|
||||
door = find_door(ch, type, dir, cmd_door[subcmd]);
|
||||
}
|
||||
|
||||
if ((obj) || (door >= 0)) {
|
||||
keynum = DOOR_KEY(ch, obj, door);
|
||||
if (!(DOOR_IS_OPENABLE(ch, obj, door)))
|
||||
|
||||
Reference in New Issue
Block a user