mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
preparing fluid updater: debug water bucket
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user