Message Order (adv3lite)

Using the following:

Home: Room 'Home'
;

+ me: Thing 'you'   
    isFixed = true       
    person = 2
    contType = Carrier 
    
    bulkCapacity = 3
;

+pen: Thing 'pen'
;

+box: Thing 'box'
;

+mug: Thing 'mug'
;

+cup: Thing 'cup'
;

modify Thing
    bulk = 1
;

This produces:

Home

You can see a box, a mug, a cup, and a pen here.

>take all
mug: You can’t carry any more than you’re already carrying. 
You take the pen, the cup, and the box.

Is there a simple way to change order of the messages in take all?

Thanks.

1 Like

What order (or output) are you hoping to achieve? There’s a few ways to read your question.

For example, do you want the player to pick up the items in a certain order, so a different item is not taken? Or do you mean listing the items the player does pick up in a different order (alphabetically, etc.) Or do you want the “You can’t carry…” message to be printed after the list of items the player picks up?

The latter. I want to fill the inventory before being told the inventory is full.

take all
You take the pen, the cup, and the box.
mug: You can’t carry any more than you’re already carrying.

Apologies for the confusion.