starting gold
Posted: 31 Aug 2011, 05:50
In order to clean up my rewrite of the server, the following trivial content patch is necessary.
However, when I looked at the script, I was left wondering "why does the player even have any gold?"
And while having a spare shirt is reasonable, I personally don't see an old lady just giving away gold to a stranger, even a stranger in need.
---
But anyway, here's the patch that keeps the same behavior as now:
However, when I looked at the script, I was left wondering "why does the player even have any gold?"
It doesn't seem realistic that they would take your equipment but not your money.sorfina wrote:"A group of ragtags immediately took advantage of that and stole all your stuff!"
And while having a spare shirt is reasonable, I personally don't see an old lady just giving away gold to a stranger, even a stranger in need.
---
But anyway, here's the patch that keeps the same behavior as now:
Code: Select all
From f6f98753d06909c47bb82a46d4afab0707efa4b6 Mon Sep 17 00:00:00 2001
From: Ben Longbons <b.r.longbons@gmail.com>
Date: Tue, 30 Aug 2011 22:39:35 -0700
Subject: [PATCH] give starting gold via script instead of start_zeny
---
world/conf/char_athena.conf | 8 ++++----
world/map/npc/042-2/sorfina.txt | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/world/conf/char_athena.conf b/world/conf/char_athena.conf
index a719a5b..8ea1f99 100644
--- a/world/conf/char_athena.conf
+++ b/world/conf/char_athena.conf
@@ -46,14 +46,14 @@ backup_txt: save/athena_backup.txt
// Start point, Map name followed by coordinates (x,y)
start_point: 042-2.gat,26,26
-// Starting weapon for new characters
+// Starting weapon for new characters (deprecated)
start_weapon: 0
-// Starting armor for new characters
+// Starting armor for new characters (deprecated)
start_armor: 0
-// Starting zeny for new characters
-start_zeny: 50
+// Starting zeny for new characters (deprecated)
+start_zeny: 0
// Name used for unknown characters
unknown_char_name: Unknown
diff --git a/world/map/npc/042-2/sorfina.txt b/world/map/npc/042-2/sorfina.txt
index 17bfcf8..0d457aa 100644
--- a/world/map/npc/042-2/sorfina.txt
+++ b/world/map/npc/042-2/sorfina.txt
@@ -11,6 +11,7 @@
callfunc "GameRules";
L_Start:
+ set Zeny, 50;
mes "You open your eyes.";
mes "";
mes "[Old Woman]";
--
1.7.6.1