fixed a bug where a dynamic item would not get saved/loaded at all

This commit is contained in:
minjaesong
2022-02-22 17:12:49 +09:00
parent 1787ad7cdd
commit df6950c0b8
30 changed files with 206 additions and 89 deletions

View File

@@ -24,6 +24,8 @@ typealias ItemID = String
*/
abstract class GameItem(val originalID: ItemID) : Comparable<GameItem>, Cloneable {
constructor() : this("-uninitialised-")
open var dynamicID: ItemID = originalID
/**
* if the ID is a Actor range, it's an actor contained in a pocket.