I’d like to make an upgrade that changes a layer’s type from static to normal.
“normal":'“static"
Use this to Make It normal
use custom type
replace type: with type() {}
in the “{}”, add if (requirement) return “normal/static” (choose 1)
also in the “{}” on a new line or smt, add if (another requirement) return “normal/static” (choose 1)
example:
type() {
if (hasUpgrade(‘p’, 15) return normal
else return static
},