diff --git a/src/nostalgia/modules/core/src/studio/studiomodule.cpp b/src/nostalgia/modules/core/src/studio/studiomodule.cpp index f789c2a6..91a2dc5b 100644 --- a/src/nostalgia/modules/core/src/studio/studiomodule.cpp +++ b/src/nostalgia/modules/core/src/studio/studiomodule.cpp @@ -21,8 +21,11 @@ static class: public studio::Module { ox::Vector> itemMakers(studio::StudioContext&) const noexcept final { ox::Vector> out; - out.emplace_back(ox::make>("Tile Sheet", "TileSheets", FileExt_ng)); - out.emplace_back(ox::make>("Palette", "Palettes", FileExt_npal)); + out.emplace_back(ox::make>("Tile Sheet", "TileSheets", FileExt_ng)); + out.emplace_back(ox::make>("Palette", "Palettes", FileExt_npal, Palette{ + .colorNames = {}, + .pages = {{"Page 1", ox::Vector{}}}, + }, ox::ClawFormat::Organic)); return out; } } const mod; diff --git a/src/olympic/studio/modlib/include/studio/itemmaker.hpp b/src/olympic/studio/modlib/include/studio/itemmaker.hpp index e0b70e61..85a9e6ce 100644 --- a/src/olympic/studio/modlib/include/studio/itemmaker.hpp +++ b/src/olympic/studio/modlib/include/studio/itemmaker.hpp @@ -218,7 +218,7 @@ class ItemMakerT final: public ItemMaker { std::move(pParentDir), std::move(fileExt)), m_fmt{pFmt} { - installTemplate(ox::make_unique>(std::move(pItem))); + installTemplate(ox::make_unique>("Default", std::move(pItem))); } constexpr ItemMakerT( @@ -232,7 +232,7 @@ class ItemMakerT final: public ItemMaker { std::move(pParentDir), std::move(fileExt)), m_fmt{pFmt} { - installTemplate(ox::make_unique>(std::move(pItem))); + installTemplate(ox::make_unique>("Default", std::move(pItem))); } ox::StringView typeName() const noexcept override {