Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion addons/pandora/util/tokenizer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ static var regex:RegEx
static func tokenize(value:String) -> String:
if regex == null:
regex = RegEx.new()
regex.compile("(^[^A-Z_])|([^A-Z0-9_])")
regex.compile("(^[^A-Z_\u4e00-\u9fa5])|([^A-Z0-9_\u4e00-\u9fa5])")
var token = value.to_upper()

var regex_matches = regex.search_all(token)
Expand Down
6 changes: 3 additions & 3 deletions pandora/categories.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
class_name PandoraCategories


const ROOT = "BfNTMLO-WG"
const ROOT = "og1dmAzn1b"


class RootCategories:
const ITEMS = "t2gVU9hBys"
const NPCS = "dH4s0ttwht"
const ITEMS = "EBUfjZlkKO"
const NPCS = "S6Dp5mcWW6"