Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Ground Storage) Apply smoke particles to some items #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Craluminum2413
Copy link

@Craluminum2413 Craluminum2413 commented Mar 7, 2024

This change fixes anegostudios/VintageStory-Issues#1577

Crucible, cooking pot and meal containers don't have particles when placed, this code adds those particles.

I tested all particle positions, they are aligned with MeshAngle.

I couldn't use tfMatrices because it is a mess when rotated, -8.xxxx, -4.xxx etc. are unreadable values so it is much easier to do it manually.

Top position is set from MaxY field from first collision box, so you might need to lower collision box in GroundStorable behavior for some items or add OverrideMaxYParticlePos to GroundStorageProperties and then apply it in OnAsyncClientParticleTick method.

Crucible, cooking pot and meal containers don't have particles when placed. These changes fixes anegostudios/VintageStory-Issues#1577
Make BlockSmeltedContainer.GetContents public
@Craluminum2413 Craluminum2413 changed the title Apply smoke particles to some items in Ground Storage (Ground Storage) Apply smoke particles to some items Mar 11, 2024
@pizza2004
Copy link

Could you fix this so there aren't merge conflicts?

@Craluminum2413
Copy link
Author

No idea how to fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hot food doesn't smoke when pot/bowl is placed to floor (GroundStorable)
2 participants