ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Inventory outputs falsely 'nothing inside backpack'

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Inventory outputs falsely 'nothing inside backpack'

Postby DazaKiwi » Mon May 06, 2019 9:54 am

By default if you have a container like a backpack that has things inside it and is closed when using the inventory command it will say 'nothing is on or inside the backpack'. Which is rather misleading. If the bag/container is open then it will output what is inside in the inventory output.

Is there a way to fix this? it appears this line is hidden and cannot be altered? i used a specific task to override Inventory but I wish there was a way to correct the default task though.
User avatar
DazaKiwi
 
Posts: 605
Joined: Thu Oct 21, 2010 9:05 am
Location: New Zealand
Points: 16

Re: Inventory outputs falsely 'nothing inside backpack'

Postby P/o Prune » Mon May 06, 2019 10:08 am

I don't know if there's a way to fix this.
I experienced the same problem when creating a backpack in my next game. I didn't put up a bug report but wrote Campbell and suggested that this was fixed asap. (A lot of good that did :blush: )
D-Day in progress 86Kb (Slowly drifting)
Just a Fairy Tale: 52Kb
User avatar
P/o Prune
Site Admin
 
Posts: 4342
Joined: Mon Jun 24, 2002 8:18 am
Location: Denmark
Points: 58

Re: Inventory outputs falsely 'nothing inside backpack'

Postby saabie » Mon May 06, 2019 1:38 pm

There is already a bug report (#18817)
The only way I know to fix this is to change the standard library inventory task, removing the general function and instead passing each held object to an executed task that lists their contents.
saabie
 
Posts: 958
Joined: Fri Aug 12, 2011 2:07 am
Location: Adelaide, South Australia
Points: 25


Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 1 guest

cron