From e3dba3daa3eff36059c6d6cf92d0ee1a334c4af0 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Wed, 8 Nov 2023 21:00:02 -0800 Subject: [PATCH] Set "use" cursor for picture in wooden frame item --- .../stendhal/client/gui/j2d/entity/EntityViewFactory.java | 1 + srcjs/stendhal/entity/ItemMap.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/games/stendhal/client/gui/j2d/entity/EntityViewFactory.java b/src/games/stendhal/client/gui/j2d/entity/EntityViewFactory.java index 0547f0c024b..758a1c02adf 100644 --- a/src/games/stendhal/client/gui/j2d/entity/EntityViewFactory.java +++ b/src/games/stendhal/client/gui/j2d/entity/EntityViewFactory.java @@ -140,6 +140,7 @@ private static void configure() { register("item", "club", "wizard_staff", UseableItem2DView.class); register("item", "drink", null, UseableItem2DView.class); register("item", "food", null, UseableItem2DView.class); + register("item", "furniture", "picture in wooden frame", UseableItem2DView.class); register("item", "misc", "bulb", UseableItem2DView.class); register("item", "misc", "seed", UseableItem2DView.class); register("item", "misc", "snowglobe", UseableGenericItem2DView.class); diff --git a/srcjs/stendhal/entity/ItemMap.ts b/srcjs/stendhal/entity/ItemMap.ts index 02444aba961..cbb61d517c8 100644 --- a/srcjs/stendhal/entity/ItemMap.ts +++ b/srcjs/stendhal/entity/ItemMap.ts @@ -83,6 +83,9 @@ export const ItemMap: {[index: string]: any} = { ["metal detector"]: { cursor: "itemuse" }, + ["picture in wooden frame"]: { + cursor: "itemuse" + }, ["rotary cutter"]: { cursor: "itemuse" },