Resolved interaction system
This commit is contained in:
parent
72bea66082
commit
22cdc782f9
9 changed files with 96 additions and 73 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue