Jump to content

Can't fill a bottle at some sinks.

Hugo Qwerty

Recommended Posts



I can fill a bottle using the left sink, but not the right.  Location: https://map.projectzomboid.com/#14826x3699x13228


I've seen this before in a few locations with double sinks, and it's always the right hand sink that is the problem one.  IIRC, the en suite bathroom here has the same issue:  https://map.projectzomboid.com/#14576x3032x16345


I've confirmed it is being caused by line 3134 of /media/lua/client/ISUI/ISWorldObjectContextMenu.lua


From what I can tell, based on a few print statements inserted into the code, the square in front of the sink is incorrectly considered invalid because of line 14 of /media/lua/shared/Util/AdjacentFreeTileFinder.lua.


if test:Is(IsoFlagType.cutW) or test:Is(IsoFlagType.collideW) then return false; end

Print statements show that test:Is(IsoFlagType.cutW) is returning true for the right sink, but false for the left sink.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...