From fb28fefc8ad49f88005b60e0e5fe1fc602f58cb0 Mon Sep 17 00:00:00 2001 From: Tanner Date: Thu, 19 Nov 2026 16:58:50 +0000 Subject: [PATCH] Add Stick sign cache label --- mosfet/info/items.py | 2 ++ tests/test_storage_labels.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/mosfet/info/items.py b/mosfet/info/items.py index 35a6137..ea34a38 100644 --- a/mosfet/info/items.py +++ b/mosfet/info/items.py @@ -118,6 +118,7 @@ BEETROOT_ID = get_id('beetroot') EMERALD_ID = get_id('emerald') BERRIES_ID = get_id('sweet_berries') IRON_INGOT_ID = get_id('iron_ingot') +STICK_ID = get_id('stick') _LABEL_ITEM_IDS = { @@ -128,6 +129,7 @@ _LABEL_ITEM_IDS = { 'torchflower_seeds', 'wheat_seeds', }), 'wheat': {WHEAT_ID}, + 'stick': {STICK_ID}, 'log': LOG_IDS, 'sapling': SAPLING_IDS, **_LOG_FAMILY_ITEM_IDS, diff --git a/tests/test_storage_labels.py b/tests/test_storage_labels.py index ac2d4da..0d9977a 100644 --- a/tests/test_storage_labels.py +++ b/tests/test_storage_labels.py @@ -10,6 +10,7 @@ class StorageLabelTests(unittest.TestCase): seeds = items.storage_item_ids_for_label('Seeds') wheat = items.storage_item_ids_for_label('Wheat') logs = items.storage_item_ids_for_label('Logs') + sticks = items.storage_item_ids_for_label('Sticks') saplings = items.storage_item_ids_for_label('Saplings') sand = items.storage_item_ids_for_label('Sand') red_sand = items.storage_item_ids_for_label('Red Sand') @@ -28,6 +29,8 @@ class StorageLabelTests(unittest.TestCase): self.assertNotIn(items.BEETROOT_ID, seeds) self.assertEqual(wheat, {items.WHEAT_ID}) self.assertNotIn(items.WHEAT_SEEDS_ID, wheat) + self.assertEqual(sticks, {items.STICK_ID}) + self.assertEqual(items.storage_item_ids_for_label('Stick'), sticks) self.assertEqual(logs, items.LOG_IDS) self.assertTrue(items.get_set({ 'oak_log', 'stripped_oak_log', 'oak_wood',