mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
now dropped items can produce light (e.g. dropped torch)
This commit is contained in:
@@ -184,7 +184,7 @@ class BlockCodex {
|
||||
// otherModname:id -> as-is
|
||||
// id -> thisModname:id
|
||||
prop.drop = record.get("drop").let { if (it == null) "" else if (it.contains(':')) it else "$modname:$it" }
|
||||
prop.world = record.get("world").let { if (it == null) "" else if (it.contains(':')) it else "$modname:$it" }
|
||||
prop.world = record.get("spawn").let { if (it == null) "" else if (it.contains(':')) it else "$modname:$it" }
|
||||
|
||||
prop.shadeColR = record.floatVal("shdr")
|
||||
prop.shadeColG = record.floatVal("shdg")
|
||||
|
||||
Reference in New Issue
Block a user