ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Containers can held over the max items!? (solved)

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.

Containers can held over the max items!? (solved)

Postby enerdoe » Fri Feb 24, 2017 7:33 pm

I am not sure if this was already posted or a known bug...
So, to test this I created a new project, without task overrides, custom properties and whatnot.

I set up a duffelbag as dynamic container with:
- "Object is container" "...and container can hold 1 Normal"

Then I created several dynamic objects to put into the container (like normal bottle with "object size normal").
In total I created one normal, one large and four huge sized items.

When I put the objects inside the container, I get several bad expression errors.
For the normal bottle I get:
Bad Expression: %object1%.Size
Bad Expression: 0+%object1%.Size
Bad Expression: %object1%.Size
Bad Expression: 0+%object1%.Size
Bad Expression: %object1%.Size
Bad Expression: 0+%object1%.Size
Three times the same error messages. Same goes for every other object, with different numbers for the huge objects.

Furthermore all objects fit into the container, despite the containers limit of 1 Normal. (It can hold four huge sized objects...)
I even set the containers limit to 1 tiny and it still can hold all objects.

So, did I something wrong or is this a bug?
I am completely new to adrift and would appreciate some help on this.
Last edited by enerdoe on Sat Feb 25, 2017 8:08 pm, edited 1 time in total.
enerdoe
 
Posts: 2
Joined: Fri Feb 24, 2017 6:48 pm

Re: Containers can held over the max items!?

Postby ParadoxGames » Sat Feb 25, 2017 2:26 pm

This is a bug. There's a thread on the forum where I asked this question. The solution was a little tricky so I don't remember what it is, but it is solvable. Can someone here post the thread that addresses the bug?
ParadoxGames
 
Posts: 157
Joined: Sat Sep 05, 2015 2:33 am

Re: Containers can held over the max items!?

Postby Denk » Sat Feb 25, 2017 2:58 pm

ParadoxGames wrote:This is a bug. There's a thread on the forum where I asked this question. The solution was a little tricky so I don't remember what it is, but it is solvable. Can someone here post the thread that addresses the bug?

there is a thread discussing the bug here: http://forum.adrift.co/viewtopic.php?f=14&t=11360

The solution to the problem is given here: http://www.adrift.co/bug/19030
Please upvote it so we can get that bug fixed.
-----------------------------------------------------------------------------------------
Out now: The Royal Puzzle, The Way Home & The Dragon Diamond
-----------------------------------------------------------------------------------------
Denk
 
Posts: 39
Joined: Mon Feb 22, 2016 6:21 pm
Location: Hjørring, Denmark

Re: Containers can held over the max items!?

Postby enerdoe » Sat Feb 25, 2017 7:24 pm

I knew it probably has something to do with messed up restrictions, but couldn't figure it out myself.

Thanks for the quick reply and the links, will go and fix this right away.
enerdoe
 
Posts: 2
Joined: Fri Feb 24, 2017 6:48 pm


Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 1 guest

cron