summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-11-18 04:51:24 +0100
committerHaru <haru@dotalux.com>2016-11-20 18:10:39 +0100
commit0a4fdb4404900fb03726b98ecbe379f2d5da6bd0 (patch)
treeefee306e996ccc603ab8da9d0f90c44a5c0199ba
parent832d63da2daab969eeeb9795ea23ccb1b648ce35 (diff)
downloadhercules-0a4fdb4404900fb03726b98ecbe379f2d5da6bd0.tar.gz
hercules-0a4fdb4404900fb03726b98ecbe379f2d5da6bd0.tar.bz2
hercules-0a4fdb4404900fb03726b98ecbe379f2d5da6bd0.tar.xz
hercules-0a4fdb4404900fb03726b98ecbe379f2d5da6bd0.zip
Replaced some unsupported symbols in AegisNames (step 1)
This removes some unsupported symbols (despite they being official names) in AegisNames. The replacement rules used are: - Any non-`[A-Za-z0-9_']` character is replaced with an underscore (`_`). - If the replaced symbol is at a word boundary (beginning or end of the string, or next to another underscore), it is suppressed instead. - If the replacement causes an AegisName conflict, underscores are appended appropriately. Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--db/pre-re/item_db.conf16
-rw-r--r--db/pre-re/mob_db.conf4
-rw-r--r--db/re/item_db.conf16
-rw-r--r--db/re/mob_db.conf4
-rw-r--r--npc/quests/quests_prontera.txt2
5 files changed, 21 insertions, 21 deletions
diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf
index e99a046c7..7dfe7ed14 100644
--- a/db/pre-re/item_db.conf
+++ b/db/pre-re/item_db.conf
@@ -37493,7 +37493,7 @@ item_db: (
},
{
Id: 5012
- AegisName: "Ph.D_Hat"
+ AegisName: "Ph_D_Hat"
Name: "Ph.D Hat"
Type: 5
Buy: 20
@@ -43363,7 +43363,7 @@ item_db: (
},
{
Id: 5347
- AegisName: "Ph.D_Hat_"
+ AegisName: "Ph_D_Hat_"
Name: "Ph.D Hat"
Type: 5
Buy: 20
@@ -51770,7 +51770,7 @@ item_db: (
},
{
Id: 5810
- AegisName: "Ph.D_Hat_V"
+ AegisName: "Ph_D_Hat_V"
Name: "Ph.D Hat V"
Type: 5
Buy: 20
@@ -51822,7 +51822,7 @@ item_db: (
/*
{
Id: 5813
- AegisName: "Red_Ph.D_Hat"
+ AegisName: "Red_Ph_D_Hat"
Name: "Red Ph.D Hat"
Type: 5
Buy: 1000
@@ -56242,7 +56242,7 @@ item_db: (
},
{
Id: 6375
- AegisName: "Amatsu_Bead_!"
+ AegisName: "Amatsu_Bead_"
Name: "Amatsu Bead !"
Type: 3
},
@@ -58059,7 +58059,7 @@ item_db: (
},
{
Id: 7180
- AegisName: "Introduction_Of_Mr.Han"
+ AegisName: "Introduction_Of_Mr_Han"
Name: "Hahn Sukbong's Recommendation"
Type: 3
Weight: 10
@@ -65886,7 +65886,7 @@ item_db: (
},
{
Id: 9024
- AegisName: "Bapho_Jr._Egg"
+ AegisName: "Bapho_Jr_Egg"
Name: "Bapho Jr. Egg"
Type: 7
Buy: 20
@@ -95302,7 +95302,7 @@ item_db: (
*/
/*
Id: 16423
- AegisName: "Episode_13.1_Key_Package"
+ AegisName: "Episode_13_1_Key_Package"
},
*/
/*
diff --git a/db/pre-re/mob_db.conf b/db/pre-re/mob_db.conf
index 037e9421f..fecbf9bb7 100644
--- a/db/pre-re/mob_db.conf
+++ b/db/pre-re/mob_db.conf
@@ -13801,7 +13801,7 @@ mob_db: (
Fire_Scroll_1_5: 100
Blue_Potion: 40
Cold_Scroll_1_5: 100
- Ph.D_Hat: 1
+ Ph_D_Hat: 1
Sageworm_Card: 1
}
},
@@ -20426,7 +20426,7 @@ mob_db: (
Taegeuk_Plate: 5820
Sword_Of_Grave_Keeper: 5100
Hell_Fire: 80
- Ph.D_Hat: 80
+ Ph_D_Hat: 80
Gae_Bolg: 500
Pill: 900
Sway_Apron: 2000
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 6b3789d22..2af024f36 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -52943,7 +52943,7 @@ item_db: (
},
{
Id: 5012
- AegisName: "Ph.D_Hat"
+ AegisName: "Ph_D_Hat"
Name: "Ph.D Hat"
Type: 5
Buy: 20
@@ -58686,7 +58686,7 @@ item_db: (
},
{
Id: 5347
- AegisName: "Ph.D_Hat_"
+ AegisName: "Ph_D_Hat_"
Name: "Ph.D Hat"
Type: 5
Buy: 20
@@ -66819,7 +66819,7 @@ item_db: (
},
{
Id: 5810
- AegisName: "Ph.D_Hat_V"
+ AegisName: "Ph_D_Hat_V"
Name: "Ph.D Hat V"
Type: 5
Buy: 20
@@ -66878,7 +66878,7 @@ item_db: (
},
{
Id: 5813
- AegisName: "Red_Ph.D_Hat"
+ AegisName: "Red_Ph_D_Hat"
Name: "Red Scholar Hat"
Type: 5
Buy: 1000
@@ -72001,7 +72001,7 @@ item_db: (
},
{
Id: 6375
- AegisName: "Amatsu_Bead_!"
+ AegisName: "Amatsu_Bead_"
Name: "Amatsu Bead !"
},
{
@@ -75928,7 +75928,7 @@ item_db: (
},
{
Id: 7180
- AegisName: "Introduction_Of_Mr.Han"
+ AegisName: "Introduction_Of_Mr_Han"
Name: "Hahn Sukbong's Recommendation"
Weight: 10
},
@@ -83238,7 +83238,7 @@ item_db: (
},
{
Id: 9024
- AegisName: "Bapho_Jr._Egg"
+ AegisName: "Bapho_Jr_Egg"
Name: "Bapho Jr. Egg"
Type: 7
Buy: 20
@@ -142484,7 +142484,7 @@ item_db: (
},
{
Id: 20050
- AegisName: "C_Ph.D_Hat"
+ AegisName: "C_Ph_D_Hat"
Name: "Costume Ph.D Hat"
Type: 5
Loc: 1024
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index 9d72380f7..27c6f6686 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -13754,7 +13754,7 @@ mob_db: (
Fire_Scroll_1_5: 100
Fashionable_Glasses: 10
Cold_Scroll_1_5: 100
- Ph.D_Hat: 1
+ Ph_D_Hat: 1
Sageworm_Card: 1
}
},
@@ -20388,7 +20388,7 @@ mob_db: (
Taegeuk_Plate: 5820
Sword_Of_Grave_Keeper: 5100
Hell_Fire: 80
- Ph.D_Hat: 80
+ Ph_D_Hat: 80
Gae_Bolg: 500
Pill: 900
Sway_Apron: 2000
diff --git a/npc/quests/quests_prontera.txt b/npc/quests/quests_prontera.txt
index d443d5712..03b119456 100644
--- a/npc/quests/quests_prontera.txt
+++ b/npc/quests/quests_prontera.txt
@@ -186,7 +186,7 @@ prt_in,38,108,4 script Teacher 1_M_INNKEEPER,{
delitem Hinalle,1;
delitem Aloe,1;
delitem Ment,1;
- getitem 5012,1; //Ph.D_Hat
+ getitem(Ph_D_Hat, 1);
mes "[Teacher]";
mes "I really really appreciate you what you've done for me. I'm truly grateful. I will give my precious item to you as promised.";
next;