mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-29 15:23:01 -04:00
add starting inventory management to UI
This commit is contained in:
@@ -185,7 +185,7 @@ namespace randomizer {
|
||||
}
|
||||
}
|
||||
|
||||
bool Text::empty() const {
|
||||
bool Text::Empty() const {
|
||||
for (auto& text : mText) {
|
||||
if (!text.empty()) {
|
||||
return false;
|
||||
@@ -383,6 +383,10 @@ namespace randomizer {
|
||||
return tb;
|
||||
}
|
||||
|
||||
bool textObjectExists(const std::string& name) {
|
||||
return getTextDatabase().contains(name);
|
||||
}
|
||||
|
||||
const Text& getTextObject(const std::string& name, Text::Type type /*= Text::STANDARD*/)
|
||||
{
|
||||
const auto& tb = getTextDatabase();
|
||||
|
||||
Reference in New Issue
Block a user