Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 78370e8

Browse files
committed
Merge pull request #12 from Mistgun/master
added new regex to constants, fixed typo in general
2 parents 332d833 + 9454e72 commit 78370e8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/Constants.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ REGEX_COORDS = '^x:(%d+), y:(%d+), z:(%d+)$'
109109
REGEX_RANGE = '^(%d+) x (%d+)$'
110110
REGEX_ITEMS_SOLD = '^Sold (%d+)x (.-) for (%d+) gold%.$'
111111
REGEX_ITEMS_BOUGHT = '^Bought (%d+)x (.-) for (%d+) gold%.$'
112+
REGEX_MONEY_PAID = '^Paid %d+ gold from .-bank account%. Your account balance is now (%d+) gold%.$'
112113

113114
-- Deprecated regexes
114115
REGEX_SPA_COORDS = REGEX_COORDS

src/General.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ function getwpt(id)
699699
end
700700
end
701701

702-
return null
702+
return nil
703703
end
704704

705705

0 commit comments

Comments
 (0)