mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
material and 5 temporary vectors no longer go into the savegame
This commit is contained in:
@@ -108,7 +108,9 @@ abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneabl
|
||||
*/
|
||||
var equipPosition: Int = EquipPosition.NULL
|
||||
|
||||
abstract val material: Material
|
||||
internal val material: Material
|
||||
get() = MaterialCodex.getOrDefault(materialId)
|
||||
abstract val materialId: String
|
||||
|
||||
/**
|
||||
* DO NOT READ FROM THIS VALUE: USE `ItemCodex.getItemImage(item)`;
|
||||
|
||||
Reference in New Issue
Block a user