mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-12 06:41:51 +09:00
variable tool reach wip
This commit is contained in:
@@ -28,6 +28,8 @@ class Material {
|
||||
|
||||
var identifier: String = "Name not set"
|
||||
|
||||
var toolReach: Int = 6
|
||||
|
||||
/**
|
||||
* Mainly intended to be used by third-party modules
|
||||
*/
|
||||
@@ -68,6 +70,7 @@ class MaterialCodex {
|
||||
prop.enduranceMod = it.floatVal("endurance")
|
||||
prop.thermalConductivity = it.floatVal("tcond")
|
||||
prop.identifier = it.get("idst").toUpperCase()
|
||||
prop.toolReach = it.intVal("reach")
|
||||
|
||||
materialProps[prop.identifier] = prop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user