extra fields for something-props

This commit is contained in:
minjaesong
2021-09-06 10:39:31 +09:00
parent 6b86f65681
commit ec08f8d07e
9 changed files with 46 additions and 8 deletions

View File

@@ -95,4 +95,9 @@ class BlockProp {
@Transient var rngBase0 = Math.random().toFloat() // initial cycle phase (xxxxFuncX)
@Transient var rngBase1 = Math.random().toFloat() // flicker P0, etc
@Transient var rngBase2 = Math.random().toFloat() // flicker P1, etc
/**
* Mainly intended to be used by third-party modules
*/
val extra = Codex()
}

View File

@@ -1,5 +1,6 @@
package net.torvald.terrarum.blockproperties
import net.torvald.terrarum.Codex
import net.torvald.terrarum.gameitem.ItemID
/**
@@ -19,4 +20,8 @@ class WireProp {
var canBranch: Boolean = true
/**
* Mainly intended to be used by third-party modules
*/
val extra = Codex()
}