Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore the list of unused microblocks #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions microblocks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,76 @@ local function register(recipe_item, make_stairs, make_facade, make_letters)
end
end

-- This is done so we can add them back in more easily if we need them
-- and because some mods register them automatically so we cannot just remove the registrations easily
local ignore_variations = {
{"artdeco","1c"},
{"artdeco","1d"},
{"artdeco","1f"},
{"artdeco","1g"},
{"artdeco","1i"},
{"artdeco","1j"},
{"artdeco","1k"},
{"artdeco","1l"},
{"artdeco","2b"},
{"artdeco","decoblock2"},
{"artdeco","decoblock4"},
{"artdeco","decoblock5"},
{"artdeco","tile5"},
{"moreblocks","clean_glow_glass"},
{"moreblocks","clean_super_glow_glass"},
{"moreblocks","desert_cobble_compressed"},
{"moreblocks","tar"},
{"my_door_wood","wood_brown"},
{"my_door_wood","wood_grey"},
{"scifi_nodes","blackoct"},
{"scifi_nodes","blackpipe"},
{"scifi_nodes","blackvnt"},
{"scifi_nodes","bluetile"},
{"scifi_nodes","doomengine"},
{"scifi_nodes","doomlight"},
{"scifi_nodes","doomwall2"},
{"scifi_nodes","doomwall4"},
{"scifi_nodes","doomwall41"},
{"scifi_nodes","doomwall42"},
{"scifi_nodes","doomwall43"},
{"scifi_nodes","doomwall431"},
{"scifi_nodes","doomwall44"},
{"scifi_nodes","fan"},
{"scifi_nodes","green2"},
{"scifi_nodes","greenbar"},
{"scifi_nodes","greenlights"},
{"scifi_nodes","greenlights2"},
{"scifi_nodes","greenmetal2"},
{"scifi_nodes","greybolts"},
{"scifi_nodes","greygreenbar"},
{"scifi_nodes","holes"},
{"scifi_nodes","octofloor"},
{"scifi_nodes","octofloor2"},
{"scifi_nodes","pplblk"},
{"scifi_nodes","ppllght"},
{"scifi_nodes","pplwll3"},
{"scifi_nodes","purple"},
{"scifi_nodes","red"},
{"scifi_nodes","red_square"},
{"scifi_nodes","rock2"},
{"scifi_nodes","rust"},
{"scifi_nodes","screen3"},
{"scifi_nodes","stripes2top"},
{"technic","blast_resistant_concrete"},
{"technic","cast_iron_block"},
{"technic","marble"},
{"technic","marble_bricks"},
{"techpack_stairway","lattice"},
{"terumet","block_coke"},
{"terumet","block_con_orange"},
{"terumet","block_con_pink"},
{"terumet","block_entropy"},
}
for _,ignore_variation in ipairs(ignore_variations) do
stairsplus.remove_all_and_ignore(ignore_variation[1], ignore_variation[2], ignore_variation[3] or (ignore_variation[1] .. ":" .. ignore_variation[2]))
end

local COLORS = {
"black", "blue", "brown", "cyan", "dark_green", "dark_grey", "green", "grey",
"magenta", "orange", "pink", "red", "violet", "white", "yellow"
Expand Down