thermal tags for buckets and fluids

This commit is contained in:
minjaesong
2024-09-14 21:15:46 +09:00
parent 35bec7bc26
commit dfac9ed9a8
4 changed files with 21 additions and 12 deletions

View File

@@ -86,6 +86,8 @@ class FluidCodex {
prop.material = record.get("mate")
prop.therm = record.intVal("therm")
fluidProps[prop.id] = prop
printdbg(this, "Setting fluid prop ${prop.id} ->>\t${prop.nameKey}")
@@ -126,6 +128,8 @@ class FluidProp {
var reflectance = 0f // the exact colour of the reflected light depends on the texture
var therm = 0
@Transient var tags = HashSet<String>()
}