mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
tech tree view wip
This commit is contained in:
@@ -130,6 +130,12 @@ open class FixtureInventory() {
|
||||
updateEncumbrance()
|
||||
}
|
||||
|
||||
open fun removeEntryForced(itemID: ItemID) {
|
||||
searchByID(itemID)?.let {
|
||||
itemList.remove(it)
|
||||
}
|
||||
}
|
||||
|
||||
open fun remove(itemID: ItemID, count: Long) = remove(ItemCodex[itemID]!!, count) {}
|
||||
open fun remove(item: GameItem, count: Long = 1L) = remove(item, count) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user