Skip to content

Commit

Permalink
Adding dissected plants to the icon test exceptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 committed Oct 26, 2024
1 parent 425f687 commit 65ce846
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/unit_tests/icon_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@
)
var/list/skip_types = list()

/datum/unit_test/icon_test/food_shall_have_icon_states/start_test()

/datum/unit_test/icon_test/food_shall_have_icon_states/proc/assemble_skipped_types()
skip_types |= typesof(/obj/item/food/grown)
skip_types |= typesof(/obj/item/food/processed_grown)

/datum/unit_test/icon_test/food_shall_have_icon_states/start_test()

assemble_skipped_types()

var/list/failures = list()
for(var/check_type in check_types)
for(var/check_subtype in typesof(check_type))
Expand Down
4 changes: 4 additions & 0 deletions mods/pyrelight/plants/plants_fruit_segment.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/datum/unit_test/icon_test/food_shall_have_icon_states/assemble_skipped_types()
..()
skip_types |= typesof(/obj/item/food/processed_grown)

/obj/item/food/fruit_segment
name = "abstract fruit segment"
is_spawnable_type = FALSE
Expand Down

0 comments on commit 65ce846

Please sign in to comment.