Changeset 1148
- Timestamp:
- 11/16/07 08:12:41 (10 months ago)
- Files:
-
- 1.8.3/branches/devel/CHANGES.183 (modified) (1 diff)
- 1.8.3/branches/devel/game/txt/hlp/penntop.hlp (modified) (1 diff)
- 1.8.3/branches/devel/src/cmds.c (modified) (1 diff)
- 1.8.3/branches/devel/src/command.c (modified) (2 diffs)
- 1.8.3/branches/devel/src/flags.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/devel/CHANGES.183
r1147 r1148 32 32 and/or socket timeouts instead. (The main event loop still uses 33 33 select() for now.) 34 * @motd gives better feedback when clearing a message. 34 35 Flags and powers: 35 36 * The announce power now also grants the ability to change the motd. 36 37 Suggested by Yuriko. 37 38 @commands: 38 * New hook power grants rights to use @hook. Suggested by Paige. 39 40 Commands: 41 * @motd gives better feedback when clearing a message. 39 42 * The @tport/@otport/@atport/etc. attributes that get evalulated on a 40 43 @teleport now get the dbref of the object doing the teleport in %0 1.8.3/branches/devel/game/txt/hlp/penntop.hlp
r981 r1148 1050 1050 halt Can @halt others' objects and do @allhalt. 1051 1051 hide Can hide on the WHO list. 1052 hook Can use the @hook command. 1052 1053 idle No inactivity timeout. 1053 1054 link_anywhere Can @link an exit to anyplace. 1.8.3/branches/devel/src/cmds.c
r1097 r1148 440 440 enum hook_type flags; 441 441 442 if (! Wizard(player)) {442 if (!(Wizard(player) || has_power_by_name(player, "HOOK", NOTYPE))) { 443 443 notify(player, T("You need a fishing license to use that hook.")); 444 444 return; 1.8.3/branches/devel/src/command.c
r1066 r1148 155 155 {"@HOOK", "LIST AFTER BEFORE IGNORE OVERRIDE", cmd_hook, 156 156 CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_RS_ARGS, 157 "WIZARD", 0},157 "WIZARD", "hook"}, 158 158 {"@KICK", NULL, cmd_kick, CMD_T_ANY, "WIZARD", 0}, 159 159 … … 1941 1941 return; 1942 1942 } 1943 if (Wizard(player) ) {1943 if (Wizard(player) || has_power_by_name(player, "HOOK", NOTYPE)) { 1944 1944 if (GoodObject(cmd->hooks.before.obj)) 1945 1945 notify_format(player, "@hook/before: #%d/%s", 1.8.3/branches/devel/src/flags.c
r1051 r1148 916 916 add_power("Pueblo_Send", '\0', NOTYPE, F_WIZARD | F_LOG, F_ANY); 917 917 add_power("Many_Attribs", '\0', NOTYPE, F_WIZARD | F_LOG, F_ANY); 918 add_power("hook", '\0', NOTYPE, F_WIZARD | F_LOG, F_ANY); 918 919 /* Aliases for other servers */ 919 920 if ((f = match_power("tport_anything")) && !match_power("tel_anything"))
