new inventory category 'fixtures'; fixture code refactoring

This commit is contained in:
minjaesong
2023-10-04 01:03:40 +09:00
parent fc8138f3b1
commit 9a527a4508
25 changed files with 73 additions and 158 deletions

View File

@@ -39,10 +39,13 @@ open class FixtureItemBase(originalID: ItemID, val fixtureClassName: String) : G
@Transient private var ghostInit = AtomicBoolean(false)
override var dynamicID: ItemID = originalID
override var baseMass = 1.0
override var inventoryCategory = Category.MISC
@Transient override var baseMass = 1.0
@Transient override var inventoryCategory = Category.FIXTURE
override val isDynamic = false
override val materialId = ""
@Transient override val materialId = ""
@Transient override var equipPosition: Int = EquipPosition.HAND_GRIP
/**
* Do not address the CommonResourcePool directly; just do it like this snippet: