mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
wire pieces will be 'lit' when it receives power (power propagation not implemented)
This commit is contained in:
@@ -156,6 +156,7 @@ object BlockCodex {
|
||||
prop.nameKey = record.get("name")
|
||||
|
||||
prop.id = "$modname:$key"
|
||||
prop.numericID = key
|
||||
prop.drop = "$modname:${intVal(record, "drop")}"
|
||||
|
||||
prop.shadeColR = floatVal(record, "shdr")
|
||||
|
||||
@@ -12,6 +12,7 @@ import net.torvald.terrarum.serialise.toLittle
|
||||
class BlockProp {
|
||||
|
||||
var id: ItemID = ""
|
||||
var numericID: Int = -1
|
||||
|
||||
var nameKey: String = ""
|
||||
|
||||
|
||||
@@ -104,6 +104,7 @@ object WireCodex {
|
||||
prop.nameKey = record.get("name")
|
||||
|
||||
prop.id = "wire@$modname:$key"
|
||||
prop.numericID = key
|
||||
prop.renderClass = record.get("renderclass")
|
||||
prop.accepts = record.get("accept")
|
||||
prop.inputCount = intVal(record, "inputcount")
|
||||
|
||||
@@ -8,6 +8,7 @@ import net.torvald.terrarum.gameitem.ItemID
|
||||
class WireProp {
|
||||
|
||||
var id: ItemID = ""
|
||||
var numericID: Int = -1
|
||||
var nameKey: String = ""
|
||||
|
||||
var renderClass: String = ""
|
||||
|
||||
Reference in New Issue
Block a user