From 78837cc5ddc6ee676f24ce1ffb666e797532699a Mon Sep 17 00:00:00 2001 From: Wendy Wang Date: Wed, 9 Oct 2024 09:59:18 +0200 Subject: [PATCH] Update helpfile on cpattr --- evennia/commands/default/building.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 7bbc853120..9c1c0b7382 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -445,10 +445,10 @@ class CmdCpAttr(ObjManipCommand): copy attributes between objects Usage: - cpattr[/switch] /[:category] = / [,/,/,...] - cpattr[/switch] /[:category] = [,,,...] - cpattr[/switch] [:category] = / [,/,/,...] - cpattr[/switch] [:category] = [,,,...] + cpattr[/switch] / = / [,/,/,...] + cpattr[/switch] / = [,,,...] + cpattr[/switch] [:category] = /[:category] [,/,/,...] + cpattr[/switch] = [,,,...] Switches: move - delete the attribute from the source object after copying. @@ -459,6 +459,11 @@ class CmdCpAttr(ObjManipCommand): copies the coolness attribute (defined on yourself), to attributes on Anna and Tom. + cpattr box/width:dimension = tube/width:dimension + -> + copies the box's width attribute in the dimension category, to be the + tube's width attribute in the dimension category + Copy the attribute one object to one or more attributes on another object. If you don't supply a source object, yourself is used. """