mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 05:54:05 +09:00
new inventory category 'fixtures'; fixture code refactoring
This commit is contained in:
@@ -11,17 +11,12 @@ class ItemWallCalendar(originalID: ItemID) : FixtureItemBase(originalID, "net.to
|
||||
|
||||
override var dynamicID: ItemID = originalID
|
||||
override var baseMass = 1.0
|
||||
override var inventoryCategory = Category.MISC
|
||||
override val isDynamic = false
|
||||
override val materialId = ""
|
||||
override val itemImage: TextureRegion
|
||||
get() = getItemImageFromSingleImage("basegame", "sprites/fixtures/calendar.tga")
|
||||
|
||||
override var baseToolSize: Double? = baseMass
|
||||
|
||||
init {
|
||||
equipPosition = EquipPosition.HAND_GRIP
|
||||
originalName = "ITEM_CALENDAR"
|
||||
}
|
||||
override var originalName = "ITEM_CALENDAR"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user