Interactions
This commit is contained in:
parent
22cdc782f9
commit
4f6c151e25
31 changed files with 498 additions and 12 deletions
|
|
@ -9,6 +9,8 @@ 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:
|
||||
jar_fill_material.albedo_color.a = substance.liquid_transparency
|
||||
get_parent().add_to_group("fluid_source")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue