mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
crafting: mutual exclusiveness for $WALL tag
This commit is contained in:
@@ -64,7 +64,9 @@ class EntryPoint : ModuleEntryPoint() {
|
||||
if (IS_DEVELOPMENT_BUILD) print(tile.id+" ")
|
||||
|
||||
if (BlockCodex[tile.id].isWallable) {
|
||||
ItemCodex["wall@" + tile.id] = makeNewItemObj(tile, true)
|
||||
ItemCodex["wall@" + tile.id] = makeNewItemObj(tile, true).also {
|
||||
it.tags.add("WALL")
|
||||
}
|
||||
if (IS_DEVELOPMENT_BUILD) print("wall@" + tile.id + " ")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user