mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 14:34:04 +09:00
equip item by body parts
Former-commit-id: 34294de21d16c03da98427edae3b3c6ed94088aa Former-commit-id: b37fe27635b1643e72e8f714bfea6ce214006931
This commit is contained in:
@@ -26,7 +26,7 @@ class DroppedItem(private val item: InventoryItem) : ActorWithBody() {
|
||||
}
|
||||
|
||||
override fun update(gc: GameContainer, delta: Int) {
|
||||
item.effectWhenTakenOut(gc, delta)
|
||||
item.effectWhenEquipped(gc, delta)
|
||||
}
|
||||
|
||||
override fun drawBody(gc: GameContainer, g: Graphics) {
|
||||
|
||||
Reference in New Issue
Block a user