Lots of localization setup, added controller BBCode stuff also.

This commit is contained in:
2025-05-25 14:09:40 -05:00
parent f5cb84e0c9
commit 6a39e1f2df
825 changed files with 16497 additions and 18 deletions

View File

@@ -15,15 +15,19 @@ func start() -> void:
if !showText:
return
var text:String = "";
var textKey:String
match getType:
GetType.FOUND:
text = "Found " + str(quantity) + " " + ITEM.getItemName(itemType, quantity) + ".";
textKey = "event.get_item.found"
GetType.GIVEN:
text = "Received " + str(quantity) + " " + ITEM.getItemName(itemType, quantity) + ".";
textKey = "event.get_item.given"
_:
pass
VN.getTextbox().setText(text);
VN.getTextbox().setText(tr_n(textKey, textKey + "_plural", quantity).format({
"item": ITEM.getItemName(itemType, quantity),
"quantity": quantity
}));
func isDone() -> bool:
if !super.isDone():