Jump to content

Object handling

From Icesus Wiki

Handling Objects

Almost everything you do with an item comes down to moving it: picking it up, stowing it away, handing it over, taking it off. The commands below share one way of saying what you mean, so a phrase you learn for get works just as well for drop, give or wear.

The commands

get <what>     [from <container>] [to <container>]
drop <what>    [from <container>] [to <container>]
put <what>     in <container> [from <container>]
give <what>    [from <container>] to <whom>
remove <what>  take off what you wear or wield
wear <what>    put a piece of armour on
wield <what>   take a weapon in hand
eat <what>     eat something you are carrying

Each command has its own page, and its own extras: get loot empties the corpses you earned, get something from <bag> works even when you cannot see, and remove from <slot> names the slot instead of the item. See help get, help remove, and so on.

drink is the odd one out. It takes one thing at a time, so name the flask rather than an armful.

Choosing what to move

Instead of naming one item you can describe a whole armful.

Say this To pick
all everything except what is on your keeplist
all foo every item that answers to 'foo'
all no foo everything but your keeplist and any 'foo'
all not foo everything but your keeplist and that one item
all money coins and piles of coins alike
all coins your purse, one pile for each kind of coin
all gold gold from your purse, and so for the other three
all material steel steel gear, fine steel included
something one item, chosen at random
eq everything you wear or wield
worn the same as 'eq'
worn foo only the 'foo' you have on, never the spare
noeq everything you are not wearing or wielding
armours all armour
weapons all weapons
food everything edible
glows everything with a magical glow
keep your kept items, equipment aside
nokeep everything not kept, equipment aside
20 arrow that many of them
sword 2 the second sword you can see

all material steel catches fine steel too, because it matches the whole family. Name the full material, as in all material fine steel, and you pick out just that one.

worn foo reads your own equipment, so it serves drop, put, give and remove rather than taking something out of a chest or a corpse. eq foo says the same thing. And remove only ever touches what you wear or wield, so remove all foo and remove worn foo come to the same thing.

Several things at once

Separate the requests with commas and one command handles them all:

get all sword,apple,all no ring from bag,all key to sack

Name a container once and the items listed before it share it: get sword,heart,skin from sack takes all three out of the sack, and put sword,shield in chest stows both. give sword,shield to bob hands over both. Anything the container does not hold is looked for where it would be without the list, on the ground for get and in your hands for the rest.

Knowing what to type

An item answers to more words than its description shows, and a room can hold three things that answer to the same one. Armour also answers to its material in front of one of those words, so cloth cloak picks the cloth one out of several cloaks, and to its whole shown name. show id settles the rest:

Command Shows
show id <object> every name the parser knows for that item
show id inventory one name for each thing you carry
show id ground one name for each thing lying here

To see what you are carrying, inventory (or i) gives the plain list. minventory sorts it, weighs it, filters it by category, and opens containers up:

Command Shows
i weight mass and bulk of each item
minventory worn what you wear and wield, included
minventory deep food food, in your pack and in every bag
minventory bag,pouch inside your bag and inside your pouch

Not losing things

keep <item> marks an item so that it cannot be dropped, given or sold, which is what lets you type sell all in a shop without a moment of dread. It stays out of containers too, put all included, unless the container is kept as well, keep_to_container is set and you are not wearing or wielding it. Kept things can still be worn, taken off, eaten and drunk. Typing it again unmarks the item, and keep on its own lists what the keep holds. keep all, keep eq, keep noeq and keep all glows mark a whole group at once, and help keep has the rest.

name <object> as <name> gives an item a name of your own, up to fifteen letters. Afterwards you call for it by that name in quotes, and it stays yours even in a pile of identical gear:

name torch as Slayer
give "Slayer" to idles

unname <object> takes the name away again.

stack all plank piles logs, stones and repair kits into a heap that survives a reboot, whether out in the outworld or on province ground. unstack takes them back.

Cases for small things

Shards, gems and arrowheads pile up. A case holds one kind of them by the hundred without the sorting, and without filling up the way a sack of loose stones does: a shard pouch, a gem case, an arrowhead case. Shops sell small ones; leathercrafters, carpenters and fletchers make bigger ones. A carpenter builds a gem case in plain wood, or bands it with smelted metal for more room again, and the metal is what decides how much more: copper is a step above bare wood, and the metals that only come out of a deep mine are worth several times that. A full case still weighs what its contents weigh, so it saves you room rather than effort. The runed masterworks are the exception: they weigh nothing at all, however full they are, and almost nobody has one.

Loose, these things cost more room than their size suggests. A stone or a shard lying directly in a sack takes several times the space it takes in a case, so a sack that once swallowed thousands fills after a few hundred. A case charges you for the case and nothing more, however full it is. And if you are already carrying so much that you cannot pick anything up, a shopkeeper will still sell you a case -- that is the way out: buy one, fill it, and the weight comes off. If a shop is out of reach, drop the sack first and pick things back up a case at a time.

put all shard in pouch
look at pouch
get 3 broad arrowhead from case
get all strength shard from pouch

look at pouch lists what it holds, one kind to a line.

A case is the easy choice. Loot you pick up goes into it by itself, and the skills that use these things look inside it for you: imbue sword with strength shard, use gem cutting at ruby and use fletchery at 10 sheaf arrow with broad arrowhead all draw from a case you carry, and so do give and sell when you name one item by hand. A sack does none of that. What you take out of a case yourself stays out until you put it back.

tuck off shard pouch stops one case taking what you pick up or are handed, so you can carry shards for someone else or choose which of two pouches fills. Name the case as you would for put: tuck off pouch 2 is the second one you carry. put still works, and tuck on shard pouch turns it back on.

See also

get, drop, put, give, remove, wear, wield, keep, name, stack, imbue, inventory, minventory, show, materials, money, glow