smelter ui wip

This commit is contained in:
minjaesong
2024-01-29 22:28:33 +09:00
parent 3214f11375
commit a027506ad2
12 changed files with 349 additions and 108 deletions

View File

@@ -180,7 +180,7 @@ class BlockCodex {
private fun setProp(modname: String, key: Int, record: CSVRecord) {
val prop = BlockProp()
prop.nameKey = record.get("name")
prop.tags = record.get("tags").split(',').map { it.trim() }.toHashSet()
prop.tags = record.get("tags").split(',').map { it.trim().toUpperCase() }.toHashSet()
prop.id = "$modname:$key"
prop.numericID = key

View File

@@ -111,7 +111,7 @@ class BlockProp {
@Transient var rngBase1 = Math.random().toFloat() // flicker P0, etc
@Transient var rngBase2 = Math.random().toFloat() // flicker P1, etc
var tags = HashSet<String>()
@Transient var tags = HashSet<String>()
/**
* Mainly intended to be used by third-party modules