new block clay

This commit is contained in:
minjaesong
2023-12-01 12:25:00 +09:00
parent ab5c544db3
commit 93a1d688a5
11 changed files with 41 additions and 17 deletions

View File

@@ -163,6 +163,14 @@ internal object SavegameMigrator {
}
@AppliedVersion("0.3.99999")
fun updatePlayerEncumbrance(actor: Actor) {
if (actor is IngamePlayer && actor.actorValue.getAsInt("encumbrance") == 1000) {
actor.actorValue.set("encumbrance", 50000)
}
}
}