-
Notifications
You must be signed in to change notification settings - Fork 5
Commands
Creates and puts into your inventory the generated item.
-
+<level>
usesItem#level
to set the level of the created item, where<level>
is some integer.- If this doesn't work as expected (especially in the case of wands/artifacts), please use the
upgrade
method.
- If this doesn't work as expected (especially in the case of wands/artifacts), please use the
-
x<quantity>
, where<quantity>
is some integer value, can be included to collect multiple of the same item.- This only works as intended if the item is normally stackable.
-
--force
(or-f
) overrides the pick up logic of the item being collected to be the default, forcing the item to be collected into the player's inventory, even if this was not intended.
The method is called after the level and quantity are set and directly before the item is collected.
Spawns the indicated mob and places it randomly on the depth. All variants accept a method as the final inputs.
Attempts to spawns <quantity>
mobs, placing them randomly on the depth.
It is possible for this to fail to place the desired number of mobs depending on the level's implementation of randomRespawnCell
Allows for manual placing of the mob.
Attaches the specified buff to a chosen character.
Specifying <duration>
(a double value) will attempt to call the method Buff.affect(target,buff,duration)
where target
is the specified character. This method only works for FlavourBuffs, however. In the case of non-FlavourBuffs, the scroll will attempt to guess the proper method to use, calling the methods #set
, #reset
, #prolong
, and #extend
(in that order), and using the first one that matches a valid method for that buff. If none of those are valid, the user must manually specify the correct method to use by using the <method>
functionality.
If <method>
is provided, it is called after the buff is successfully attached. An invalid input for <method>
will result in a warning.
Places <amount>
(an integer value) units of the desired blob on a chosen tile.
Attempts to use the indicated method corresponding to the specified object.
This is mostly useful for using methods that have noticeable side-effects. For example, the command use tengusmask choose gladiator
will set the hero's subclass to Gladiator by using the method TengusMask#choose(GLADIATOR)
.
An alias for inspect
.
Gives a window showing all supported methods of a given class.
Define a new macro, or change an existing one. Submitting a blank macro will delete it if it already exists.
Gives a list of all macros currently defined.