summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-1/events.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index e7ea8a826..5abc40577 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -115,18 +115,24 @@ OnInit:
#VALENTINE_SENT=0;
#VALENTINE_OPENED=0;
#VALENTINE_RECEIVED=0;
- if (strcharinfo(0) == .@name$[0])
+ if (strcharinfo(0) == .@name$[0]) {
makepet DoggyDog;
- else if (strcharinfo(0) == .@name$[1] || strcharinfo(0) == .@name$[2])
getitem PrismGift, 1;
- else if (strcharinfo(0) == .@name$[3] || strcharinfo(0) == .@name$[4])
+ } else if (strcharinfo(0) == .@name$[1] || strcharinfo(0) == .@name$[2]) {
+ getitem PrismGift, 1;
+ getitem GoldenGift, 1;
+ } else if (strcharinfo(0) == .@name$[3] || strcharinfo(0) == .@name$[4]) {
getitem GoldenGift, 1;
- else if (strcharinfo(0) == .@name$[5] || strcharinfo(0) == .@name$[6])
getitem SilverGift, 1;
- else if (strcharinfo(0) == .@name$[7] || strcharinfo(0) == .@name$[8] || strcharinfo(0) == .@name$[9])
+ } else if (strcharinfo(0) == .@name$[5] || strcharinfo(0) == .@name$[6]) {
+ getitem SilverGift, 1;
+ getitem BronzeGift, 1;
+ } else if (strcharinfo(0) == .@name$[7] || strcharinfo(0) == .@name$[8] || strcharinfo(0) == .@name$[9]) {
getitem BronzeGift, 1;
- else
- getitem StrangeCoin, 1;
+ getitem StrangeCoin, 5;
+ } else {
+ getitem StrangeCoin, 5;
+ }
getexp #VALENTINE_SENT+#VALENTINE_RECEIVED, #VALENTINE_SENT;
Zeny=Zeny+#VALENTINE_OPENED;