Flags:
* LEAVE_BEHIND - When a player leaves the location of
someone they're flowing with this flag it unfollows
- the follower.
+ the follower. [RLB]
+ Commands:
+ * @chown now allows players to do remote chowns as long
+ as they have the Chown power over the object. [RLB]
Fixes:
* All fixes from 0.72 stable development series
#define Can_RPEMIT(x) (div_powover(x,x, "RPEmit") || (Inherit_Powers(x) || div_powover(Owner(x),Owner(x), "RPEmit")) ||Admin(x))
#define Can_RPCHAT(x) (div_powover(x, x, "RPChat") || (Inherit_Powers(x) || div_powover(Owner(x),Owner(x), "RPChat")) || Admin(x))
#define Inherit_Powers(x) (Inherit(x) && Inheritable(Owner(x)))
+#define CanChown(x,y) (OOREF(x,div_powover(x,y,"Chown"),div_powover(ooref,y,"Chown")))
/* Permission macros */
#define TC_Can_See_Flag(p,t,f) ((!(f->perms & (F_DARK | F_MDARK | F_ODARK | F_DISABLED)) || \
notify(player, T("Permission denied."));
return;
}
- if (IsThing(thing) && !Admin(player) &&
+ if (IsThing(thing) && !CanChown(player,thing) &&
!(GoodObject(Location(thing)) && (Location(thing) == player))) {
notify(player, T("You must carry the object to @chown it."));
return;