File: apply.en

package info (click to toggle)
crossfire 1.75.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,168 kB
  • sloc: ansic: 83,169; sh: 4,659; perl: 1,736; lex: 1,443; makefile: 1,199; python: 43
file content (14 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Apply applies an object.

If no options are given, it applies an object you are standing on.

If a name follows the command, an object of that name is affected.  The name does not have to be complete as long as the text uniquely matches the first part of an item name.

Apply options:

-a: Always apply an object and never unapply it when already applied.
-u: Always unapply an object and never apply it when already unapplied.
-o: Always open a container regardless of previous state.
-b: Apply an item on the ground or in the active container, but not one in the characters main inventory.

As -a and -u do not toggle the applied status of an item, they are useful for making keybinds that work even when the current state of the object is unknown.