Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
przemo1232 committed Oct 28, 2024
1 parent 62c2056 commit 35fb4d2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ local function test_entity_graphics()
for i = 1, 4, 1 do
excluded_entities["aerial-blimp-mk0" .. i .. "-accumulator"] = true
end

log("test entity graphics:")
for entity_type, _ in pairs(defines.prototypes.entity) do
for name, entity in pairs((excluded_types[entity_type] and {}) or (data.raw[entity_type] or {})) do
if not excluded_entities[name] then
Expand Down Expand Up @@ -156,8 +158,12 @@ local function test_entity_graphics()
end

local function scan_for_cages()
log("test cage recipes:")
for recipe_name, recipe in pairs(data.raw.recipe) do
if recipe_name:find("%-pyvoid$") or recipe_name:find("^biomass%-") then
if recipe_name:find("%-pyvoid$")
or recipe_name:find("^biomass%-")
or recipe_name:find("^vonix")
or recipe_name:find("^space%-dingrit") then
goto NEXT_RECIPE_CAGECHECK
end
if not recipe.ingredients then
Expand Down

0 comments on commit 35fb4d2

Please sign in to comment.