Add Stick sign cache label
This commit is contained in:
1 parent
7ab354800b
commit
fb28fefc8a
2 files changed
+5
No files matched your search
@@ -118,6 +118,7 @@ BEETROOT_ID = get_id('beetroot')
|
|||||||
EMERALD_ID = get_id('emerald')
|
EMERALD_ID = get_id('emerald')
|
||||||
BERRIES_ID = get_id('sweet_berries')
|
BERRIES_ID = get_id('sweet_berries')
|
||||||
IRON_INGOT_ID = get_id('iron_ingot')
|
IRON_INGOT_ID = get_id('iron_ingot')
|
||||||
|
STICK_ID = get_id('stick')
|
||||||
|
|
||||||
|
|
||||||
_LABEL_ITEM_IDS = {
|
_LABEL_ITEM_IDS = {
|
||||||
@@ -128,6 +129,7 @@ _LABEL_ITEM_IDS = {
|
|||||||
'torchflower_seeds', 'wheat_seeds',
|
'torchflower_seeds', 'wheat_seeds',
|
||||||
}),
|
}),
|
||||||
'wheat': {WHEAT_ID},
|
'wheat': {WHEAT_ID},
|
||||||
|
'stick': {STICK_ID},
|
||||||
'log': LOG_IDS,
|
'log': LOG_IDS,
|
||||||
'sapling': SAPLING_IDS,
|
'sapling': SAPLING_IDS,
|
||||||
**_LOG_FAMILY_ITEM_IDS,
|
**_LOG_FAMILY_ITEM_IDS,
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ class StorageLabelTests(unittest.TestCase):
|
|||||||
seeds = items.storage_item_ids_for_label('Seeds')
|
seeds = items.storage_item_ids_for_label('Seeds')
|
||||||
wheat = items.storage_item_ids_for_label('Wheat')
|
wheat = items.storage_item_ids_for_label('Wheat')
|
||||||
logs = items.storage_item_ids_for_label('Logs')
|
logs = items.storage_item_ids_for_label('Logs')
|
||||||
|
sticks = items.storage_item_ids_for_label('Sticks')
|
||||||
saplings = items.storage_item_ids_for_label('Saplings')
|
saplings = items.storage_item_ids_for_label('Saplings')
|
||||||
sand = items.storage_item_ids_for_label('Sand')
|
sand = items.storage_item_ids_for_label('Sand')
|
||||||
red_sand = items.storage_item_ids_for_label('Red 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.assertNotIn(items.BEETROOT_ID, seeds)
|
||||||
self.assertEqual(wheat, {items.WHEAT_ID})
|
self.assertEqual(wheat, {items.WHEAT_ID})
|
||||||
self.assertNotIn(items.WHEAT_SEEDS_ID, wheat)
|
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.assertEqual(logs, items.LOG_IDS)
|
||||||
self.assertTrue(items.get_set({
|
self.assertTrue(items.get_set({
|
||||||
'oak_log', 'stripped_oak_log', 'oak_wood',
|
'oak_log', 'stripped_oak_log', 'oak_wood',
|
||||||
|
|||||||
Reference in new issue
Block a user