Colors
This commit is contained in:
parent
d520e5f67e
commit
a425f62267
9 changed files with 25 additions and 6 deletions
|
|
@ -7,5 +7,5 @@ func _ready() -> void:
|
|||
if substance:
|
||||
var jar_fill_material = $"../JarFill".material_override
|
||||
jar_fill_material.albedo_color = substance.color
|
||||
if substance.melting_point > 20:
|
||||
if substance.melting_point > 20 and not substance.is_solution:
|
||||
jar_fill_material.albedo_texture = preload("res://assets/textures/solid.png")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue