Difference between revisions of "Keep"

From StickMUD
Jump to navigation Jump to search
(Created page with "<code>keep</code> - Do not inadvertently let go of items marked kept. ==Description== Do not drop or sell items marked as kept. Keep is useful for not selling items to shops...")
 
m
Line 2: Line 2:
  
 
==Description==
 
==Description==
Do not drop or sell items marked as kept. Keep is useful for not selling items to shops which are intended to remain in inventory.
+
Do not drop or sell items marked as kept. Keep is useful for not selling items to shops which are intended to remain in [[inventory]]. Reference the [[unkeep]] command to unmark kept items.
 
{| class="wikitable"
 
{| class="wikitable"
 
|+Syntax
 
|+Syntax
Line 9: Line 9:
 
|-
 
|-
 
|<code>keep</code> <item>
 
|<code>keep</code> <item>
|Keep the first inventory object matching <item>.
+
|Keep the first [[inventory]] object matching <item>.
 
|-
 
|-
 
|<code>keep</code> <item> [#]
 
|<code>keep</code> <item> [#]
|Keep the [#] inventory object matching <item>.
+
|Keep the [#] [[inventory]] object matching <item>.
 
|-
 
|-
 
|<code>keep</code> <all>
 
|<code>keep</code> <all>
|Keep all items in inventory.
+
|Keep all items in [[inventory]].
 
|-
 
|-
 
|<code>keep</code> <all> [type]
 
|<code>keep</code> <all> [type]
|Keep all items in inventory matching [type].
+
|Keep all items in [[inventory]] matching [type].
 
|-
 
|-
 
|<code>keep</code> eq
 
|<code>keep</code> eq
|Keep all items in inventory that are being worn or wielded.
+
|Keep all items in [[inventory]] that are being worn or wielded.
 
|}
 
|}
  
 
==See Also==
 
==See Also==
[[drop]], [[hold]], [[unkeep]], [[wear]], and [[wield]]
+
[[drop]], [[hold]], [[inventory]], [[unkeep]], [[wear]], and [[wield]]

Revision as of 21:37, 18 June 2021

keep - Do not inadvertently let go of items marked kept.

Description

Do not drop or sell items marked as kept. Keep is useful for not selling items to shops which are intended to remain in inventory. Reference the unkeep command to unmark kept items.

Syntax
Command Description
keep <item> Keep the first inventory object matching <item>.
keep <item> [#] Keep the [#] inventory object matching <item>.
keep <all> Keep all items in inventory.
keep <all> [type] Keep all items in inventory matching [type].
keep eq Keep all items in inventory that are being worn or wielded.

See Also

drop, hold, inventory, unkeep, wear, and wield