Shattered Kingdoms
https://shatteredkingdoms.org/forums/

Fill bug / fountain bug?
https://shatteredkingdoms.org/forums/viewtopic.php?f=26&t=10263
Page 1 of 2

Author:  allikat [ Wed Dec 22, 2004 2:04 pm ]
Post subject:  Fill bug / fountain bug?

Code:
You get a skin of lemonade from a rust-colored quiver.

[HP: 96%] [ME: 55%] [PE: 97%]
> fill lemon
There is already another liquid in it.

[HP: 96%] [ME: 55%] [PE: 97%]
> l in lemon
It's less than full of a pink liquid.

[HP: 96%] [ME: 55%] [PE: 97%]
> drink lemon
You drink lemonade from a skin of lemonade.
You do not feel thirsty.

[HP: 96%] [ME: 55%] [PE: 97%]
> drink fount
You drink lemonade from a fountain.
You do not feel thirsty.


I can't fill a part full skin of lemonade with lemonade? Why?

Author:  Adder [ Wed Dec 22, 2004 2:16 pm ]
Post subject: 

deleted: silly me.

Author:  allikat [ Wed Dec 22, 2004 2:20 pm ]
Post subject: 

Adder can't read the whole quote...
Code:
> drink lemon
You drink lemonade from a skin of lemonade.
You do not feel thirsty.

[HP: 96%] [ME: 55%] [PE: 97%]
> drink fount
You drink lemonade from a fountain.
You do not feel thirsty.


Dumbass

Author:  Corporate Avenger [ Wed Dec 22, 2004 2:36 pm ]
Post subject: 

My guess would be either you just bought the skin of lemonade and the game is reading the contents as something different.

To test I would suggest emptying the skin and filling, take a drink or two, and then try to refill it again.

Author:  Elecho [ Wed Dec 22, 2004 2:39 pm ]
Post subject: 

It says its full of pink liquid, so its most likely lemonade.

I'm guessing the fill command only checks whether or not the container is empty, and not the actual contents. So to prevent 'mixing' or contaminating your original liquid it just doesn't let you fill partially full containers even if its the same type of liquid.

The way to change it, if Dulrik thinks its a life and death situation, would be to add a way to check the skin for its content as well as for emptiness when trying to fill it up. Thanks to the empty command though, you can just empty the thing and fill it back up.

Author:  sleeper [ Wed Dec 22, 2004 2:41 pm ]
Post subject: 

From my experiences, Corporate Avenger is correct.

Edit: For I have been able to in the past fill only a half full container.

sleeper

Author:  allikat [ Wed Dec 22, 2004 3:04 pm ]
Post subject: 

Once empty, it could be refilled. The thing is the comment about another liquid being in it. It is lemonade, same as the fountain.

Author:  Benzo Balrog [ Wed Dec 22, 2004 3:23 pm ]
Post subject: 

Elecho wrote:
So to prevent 'mixing' or contaminating your original liquid it just doesn't let you fill partially full containers even if its the same type of liquid.

I know for a fact that you can fill partially full containers of water from water fountains.

Author:  juggernaut [ Wed Dec 22, 2004 11:12 pm ]
Post subject: 

True, it does sound like a bug to me, although of minor importance. Yes, you can empty the skin and refill it from the fountain, and from then on, refill it anytime you like, without emptying it. Yet, the code should recognise that the liquid in the skin is the same with the liquid in the fountain. Sounds like the bug is in the skin's properties, so, it can easilly be fixed.

Author:  allikat [ Thu Dec 23, 2004 1:05 am ]
Post subject: 

Nope, the bug is in the refill code.
I emptied the skin, refilled it, drank half of it, and tried to refill it from the same fountain. It did the same. The code works on water, but not on lemonade. I think it will likely do the same with other liquids.

Page 1 of 2 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/