Jump to content

Empty Bottles use incorrect animations


ClumsyPenny
  • Pending

When dropping an Empty Bottle, it looks like it has a message inside until it reaches the ground, then it properly looks empty.

Furthermore, if dropped in the ocean, picked up and dropped on land, the animation used when it's dropping is sideways.

Looking at prefabs/messagebottle.lua, these issues are caused by the function ListenForEvent at line 169 trying to listen to the event "ondropped_empty" to run the function "ondropped", instead of the event "ondropped" to run the function "ondropped_empty".

Additionally, Empty Bottles use the "idle" animation by default instead of "idle_empty" (line 147), which causes similar problems to the first issue when spawning a bottle in.


Steps to Reproduce

Drop or spawn in an Empty Bottle for the message visual bug.

Drop an Empty Bottle in the ocean, pick it up and drop in the ground for the sideways visual bug.




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...