summaryrefslogtreecommitdiff
path: root/npc/001-2-19
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-2-19')
-rw-r--r--npc/001-2-19/lloyd.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/001-2-19/lloyd.txt b/npc/001-2-19/lloyd.txt
index 2f3a959b..67e3fbc0 100644
--- a/npc/001-2-19/lloyd.txt
+++ b/npc/001-2-19/lloyd.txt
@@ -233,4 +233,12 @@ OnInit:
.sex = G_MALE;
.distance = 4;
end;
+
+OnPCLoginEvent:
+ if (#MerchantBank)
+ {
+ BankVault += max(0, #MerchantBank);
+ #MerchantBank = 0;
+ }
+ end;
}