Skip to content

Commit

Permalink
change: solidifer now turns stuff to powder instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Petally committed Jun 9, 2024
1 parent 3331b04 commit 6544fac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/sim/behaviours/solidifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class SolidifierBehaviour extends Behaviour {

solidify(particleToSolidify, grid) {
particleToSolidify.removeBehaviour('Moves');
particleToSolidify.elementType = 'Solid';
particleToSolidify.removeBehaviour('MovesToSideRandomly');
particleToSolidify.elementType = 'Powder'
particleToSolidify.color = particleToSolidify.color.subtract(new Color(0, 0, -10));
}

Expand Down

0 comments on commit 6544fac

Please # to comment.