preparing fluid updater: debug water bucket

This commit is contained in:
Minjae Song
2018-12-12 23:29:30 +09:00
parent a53f9b8aad
commit 7a06b2cc90
9 changed files with 67 additions and 200 deletions

View File

@@ -177,6 +177,9 @@ class ActorInventory(val actor: Pocketed, var maxCapacity: Int, var capacityMode
if (item.stackable && !item.isDynamic) {
remove(item, 1)
}
else if (item.isUnique) {
return // don't consume a bike!
}
else {
val newItem: GameItem

View File

@@ -95,6 +95,7 @@ object PlayerBuilderSigrid {
blocks.forEach { p.addItem(it, 999) }
walls.forEach { p.addItem(it + 4096, 999) }
p.inventory.add(ItemCodex.ITEM_STATIC.first)
p.inventory.add(9000)