From d8cafe7f12590da8654992b144eb7ccab7be7e3b Mon Sep 17 00:00:00 2001 From: minjaesong Date: Mon, 9 Oct 2023 02:19:20 +0900 Subject: [PATCH] new item sprite: woods --- assets/mods/basegame/items/items.tga | 2 +- src/net/torvald/terrarum/TerrarumAppConfiguration.kt | 3 +++ work_files/graphics/items/basegame_items.kra | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/mods/basegame/items/items.tga b/assets/mods/basegame/items/items.tga index c3a3b84dd..50e8e6afe 100644 --- a/assets/mods/basegame/items/items.tga +++ b/assets/mods/basegame/items/items.tga @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d6892fbaeb3146c329f0d664c3cdf78ba42d031aa7e349e9a049034b7bd9e73b +oid sha256:5ba755a2fc93d97fb23cd99ed4372ee674e9ceea5c294a81788b818bcb9d96e6 size 2408466 diff --git a/src/net/torvald/terrarum/TerrarumAppConfiguration.kt b/src/net/torvald/terrarum/TerrarumAppConfiguration.kt index 8b8caaf04..388399f3a 100644 --- a/src/net/torvald/terrarum/TerrarumAppConfiguration.kt +++ b/src/net/torvald/terrarum/TerrarumAppConfiguration.kt @@ -100,6 +100,9 @@ data class Snapshot(var revision: Int) { } init { + if (revision !in 0..7) { + throw IllegalArgumentException("Revision out of range -- expected 0..7 (a..h), got $revision") + } update() } diff --git a/work_files/graphics/items/basegame_items.kra b/work_files/graphics/items/basegame_items.kra index 8ed4d5462..f792e056f 100644 --- a/work_files/graphics/items/basegame_items.kra +++ b/work_files/graphics/items/basegame_items.kra @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:713502b9a882bd362aee7995f88571054381ccad363bca656ffa43ecda25cf30 -size 282794 +oid sha256:4bcf9c503dd3496ffad5bf028e74e6104fdf2cbe6770cf56b33547a1f79a5a23 +size 302900