Resolved interaction system

This commit is contained in:
Rendo 2025-12-25 19:36:34 +05:00
commit 22cdc782f9
9 changed files with 96 additions and 73 deletions

View file

@ -9,3 +9,6 @@ func _ready() -> void:
jar_fill_material.albedo_color = substance.color
if substance.melting_point > 20 and not substance.is_solution:
jar_fill_material.albedo_texture = preload("res://assets/textures/solid.png")
get_parent().add_to_group("solid_source")
else:
get_parent().add_to_group("fluid_source")