bug: basalt overrides custom palettes #95

Open
opened 2023-07-05 03:25:58 +08:00 by badgeminer · 0 comments
badgeminer commented 2023-07-05 03:25:58 +08:00 (Migrated from github.com)

What happened?

basalt overrides custom palettes

-- Modified version of @1Turtle's GNOME  palette
-- black set back to default
-- and using the phoenix installer orange
local GNOME = {
    ["black"]     = 0x111111,
    ["blue"]      = 0x2A7BDE,
    ["brown"]     = 0xA2734C,
    ["cyan"]      = 0x2AA1B3,
    ["gray"]      = 0x5E5C64,
    ["green"]     = 0x26A269,
    ["lightBlue"] = 0x33C7DE,
    ["lightGray"] = 0xD0CFCC,
    ["lime"]      = 0x33D17A,
    ["magenta"]   = 0xC061CB,
    ["orange"]    = 0xD06018,
    ["pink"]      = 0xF66151,
    ["purple"]    = 0xA347BA,
    ["red"]       = 0xC01C28,
    ["white"]     = 0xFFFFFF,
    ["yellow"]    = 0xF3F03E
}

for color, code in pairs(GNOME) do
    term.setPaletteColor(colors[color], code)
end

Computercraft client

CraftOSPC

Relevant log output

No response

Latest Basalt Version

  • I use the latest stable version
### What happened? basalt overrides custom palettes ```lua -- Modified version of @1Turtle's GNOME palette -- black set back to default -- and using the phoenix installer orange local GNOME = { ["black"] = 0x111111, ["blue"] = 0x2A7BDE, ["brown"] = 0xA2734C, ["cyan"] = 0x2AA1B3, ["gray"] = 0x5E5C64, ["green"] = 0x26A269, ["lightBlue"] = 0x33C7DE, ["lightGray"] = 0xD0CFCC, ["lime"] = 0x33D17A, ["magenta"] = 0xC061CB, ["orange"] = 0xD06018, ["pink"] = 0xF66151, ["purple"] = 0xA347BA, ["red"] = 0xC01C28, ["white"] = 0xFFFFFF, ["yellow"] = 0xF3F03E } for color, code in pairs(GNOME) do term.setPaletteColor(colors[color], code) end ``` ### Computercraft client CraftOSPC ### Relevant log output _No response_ ### Latest Basalt Version - [X] I use the latest stable version
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GitHub/Basalt#95
No description provided.