MongooseA text-based world full of questionable inventions.

All help topics · Link to this topic

Showing help on '@add-feature'

Builders only.
Usage: @add-feature <object>
@remove-feature <object>

Add or remove a feature from your list. A feature is an object which provides additional commands you can use. For more information, see "help features".

Note to programmers: @add-feature and @remove-feature are front-ends for player:add_feature and :remove_feature.

:add_feature returns

* E_PERM unless caller == this || $perm_utils:controls(caller_perms())

* E_INVARG if feature is not an object or is invalid

* E_PERM if the object is not feature_ok

* a true value otherwise

and calls feature:feature_add, if the verb exists.

:remove_feature returns

* E_PERM unless caller == this || $perm_utils:controls(caller_perms()) || caller_perms() == feature.owner

* a true value otherwise

and calls feature:feature_remove, if the verb exists.