torch sprites to the spritesheet

This commit is contained in:
minjaesong
2024-03-11 17:25:39 +09:00
parent 707abe8c6d
commit 5a18ba4b06
5 changed files with 5 additions and 11 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -65,9 +65,9 @@ class ItemTorch(originalID: ItemID) : LightIngredientBase(originalID) {
override var originalName = "BLOCK_TORCH"
override val itemImage: TextureRegion
get() = FixtureItemBase.getItemImageFromSingleImage("basegame", "items/torch.tga")
get() = CommonResourcePool.getAsItemSheet("basegame.items").get(0,14)
override val itemImageEmissive: TextureRegion
get() = FixtureItemBase.getItemImageFromSingleImage("basegame", "items/torch_emsv.tga")
get() = CommonResourcePool.getAsItemSheet("basegame.items").get(1,14)
override fun getLumCol() = BlockCodex[Block.TORCH].getLumCol(0, 0)