Skip to content

Commit 8648616

Browse files
committed
Horror Toy Factory Instance implementation based on official conversion.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
1 parent bf7bdd1 commit 8648616

9 files changed

Lines changed: 3669 additions & 12 deletions

File tree

db/quest_db.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10946,6 +10946,15 @@ quest_db: (
1094610946
Id: 12322
1094710947
Name: "Space Distortion"
1094810948
},
10949+
{
10950+
Id: 12330
10951+
Name: "Skull-faced Girl"
10952+
},
10953+
{
10954+
Id: 12331
10955+
Name: "Trail of Toy Factory"
10956+
TimeLimit: 82800
10957+
},
1094910958
{
1095010959
Id: 12363
1095110960
Name: "?????? ?? ??"

db/re/item_db.conf

Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41122,6 +41122,71 @@ item_db: (
4112241122
bonus bMatkRate,7;
4112341123
">
4112441124
},
41125+
{
41126+
Id: 2976
41127+
AegisName: "Red_Lantern"
41128+
Name: "Red Lantern"
41129+
Type: 5
41130+
Weight: 200
41131+
Slots: 1
41132+
Loc: 136
41133+
EquipLv: 100
41134+
Script: <"
41135+
bonus bMaxSP, -300;
41136+
skill MG_SIGHT, 1;
41137+
bonus2 bAddMonsterDropItem, Alchol, 100;
41138+
bonus2 bAddMonsterDropItem, Detrimindexta, 100;
41139+
bonus2 bAddMonsterDropItem, Karvodailnirol, 100;
41140+
">
41141+
OnUnequipScript: <" sc_end SC_SIGHT; ">
41142+
},
41143+
{
41144+
Id: 2977
41145+
AegisName: "Hurt_Mind"
41146+
Name: "Broken Heart"
41147+
Type: 5
41148+
Weight: 100
41149+
Slots: 1
41150+
Loc: 136
41151+
EquipLv: 110
41152+
Script: <"
41153+
bonus bMaxSP, 200;
41154+
skill DC_SCREAM, 3;
41155+
">
41156+
},
41157+
{
41158+
Id: 2978
41159+
AegisName: "KindHeart"
41160+
Name: "Gentle Heart"
41161+
Type: 5
41162+
Weight: 100
41163+
Slots: 1
41164+
Loc: 136
41165+
EquipLv: 110
41166+
Script: <"
41167+
bonus bMaxHP, 500;
41168+
bonus2 bHPRegenRate, 300, 10000;
41169+
">
41170+
},
41171+
{
41172+
Id: 2980
41173+
AegisName: "Evilspirit_Gloves"
41174+
Name: "Evilspirit Gloves"
41175+
Type: 5
41176+
Weight: 100
41177+
Slots: 1
41178+
Loc: 136
41179+
EquipLv: 110
41180+
Script: <"
41181+
bonus bMaxSP, 200;
41182+
bonus bMaxHP, 500;
41183+
skill PF_SPIDERWEB, 1;
41184+
bonus4 bAutoSpell, WZ_FROSTNOVA, 10, 25, 0;
41185+
bonus4 bAutoSpell, SO_PSYCHIC_WAVE, 10, 15, 1;
41186+
bonus5 bAutoSpell, HW_MAGICPOWER, 1, 15, BF_MAGIC, 0;
41187+
bonus5 bAutoSpellWhenHit, DC_SCREAM, 1, 50, BF_WEAPON | BF_MAGIC, 0;
41188+
">
41189+
},
4112541190
{
4112641191
Id: 2981
4112741192
AegisName: "RingOfHero"
@@ -74426,6 +74491,13 @@ item_db: (
7442674491
noauction: true
7442774492
}
7442874493
},
74494+
{
74495+
Id: 6683
74496+
AegisName: "Dried_Flower"
74497+
Name: "Dried Flower"
74498+
Weight: 10
74499+
BuyingStore: true
74500+
},
7442974501
{
7443074502
Id: 6712
7443174503
AegisName: "Lovely_Stick"
@@ -80069,6 +80141,27 @@ item_db: (
8006980141
Name: "Red Box"
8007080142
Weight: 10
8007180143
},
80144+
{
80145+
Id: 7642
80146+
AegisName: "Bloody_Coin"
80147+
Name: "Bloody Coin"
80148+
BuyingStore: true
80149+
},
80150+
{
80151+
Id: 7643
80152+
AegisName: "Bloody_Letter"
80153+
Name: "Bloody Letter"
80154+
Buy: 220
80155+
Weight: 10
80156+
BuyingStore: true
80157+
},
80158+
{
80159+
Id: 7644
80160+
AegisName: "Draft_Letter"
80161+
Name: "Draft Letter"
80162+
Buy: 560
80163+
BuyingStore: true
80164+
},
8007280165
{
8007380166
Id: 7646
8007480167
AegisName: "RO_Luk_Bookmark"
@@ -84931,6 +85024,24 @@ item_db: (
8493185024
Weight: 100
8493285025
Script: <" itemheal rand(325,405),0; ">
8493385026
},
85027+
{
85028+
Id: 11563
85029+
AegisName: "Hot_Tee"
85030+
Name: "Hot Tea"
85031+
Type: 0
85032+
Weight: 20
85033+
BuyingStore: true
85034+
Script: <" itemheal 0, rand(80, 100); ">
85035+
},
85036+
{
85037+
Id: 11564
85038+
AegisName: "Sweet_Canape"
85039+
Name: "Sweet Pastry"
85040+
Type: 0
85041+
Weight: 20
85042+
BuyingStore: true
85043+
Script: <" itemheal rand(800, 1000), 0; ">
85044+
},
8493485045
{
8493585046
Id: 11592
8493685047
AegisName: "Trance_Candy_R"
@@ -125501,6 +125612,32 @@ item_db: (
125501125612
">
125502125613
OnUnequipScript: <" heal -1000,0; ">
125503125614
},
125615+
{
125616+
Id: 16029
125617+
AegisName: "Noble_Cross"
125618+
Name: "Noble Cross"
125619+
Type: 4
125620+
Weight: 1500
125621+
Atk: 195
125622+
Matk: 150
125623+
Range: 1
125624+
Job: {
125625+
Acolyte: true
125626+
Priest: true
125627+
Monk: true
125628+
}
125629+
Upper: 58
125630+
Loc: 2
125631+
WeaponLv: 4
125632+
EquipLv: 40
125633+
View: 8
125634+
Script: <"
125635+
bonus bAtkEle, Ele_Holy;
125636+
bonus3 bAutoSpell, PR_TURNUNDEAD, 6, 100;
125637+
bonus2 bSPDrainValueRace, RC_Undead, 1;
125638+
bonus2 bSPGainRace, RC_Undead, 12;
125639+
">
125640+
},
125504125641
{
125505125642
Id: 16030
125506125643
AegisName: "Pilebuncker_S"
@@ -146807,6 +146944,29 @@ item_db: (
146807146944
Buy: 10
146808146945
Weight: 300
146809146946
},
146947+
{
146948+
Id: 22516
146949+
AegisName: "Dark_Red_Clot"
146950+
Name: "Dark Red Lump"
146951+
Type: 2
146952+
Buy: 1440
146953+
Weight: 10
146954+
BuyingStore: true
146955+
Script: <"
146956+
if (rand(1000) < 300)
146957+
sc_start SC_CURSE, 30000, 0, 3000, SCFLAG_NONE;
146958+
">
146959+
},
146960+
{
146961+
Id: 22534
146962+
AegisName: "Closedmind_Box"
146963+
Name: "Sealed Mind Box"
146964+
Type: 2
146965+
Buy: 1000
146966+
Weight: 1000
146967+
BuyingStore: true
146968+
Script: <" packageitem(); ">
146969+
},
146810146970
{
146811146971
Id: 22540
146812146972
AegisName: "Runstone_Lux"
@@ -151569,4 +151729,102 @@ item_db: (
151569151729
Loc: 1023
151570151730
Script: <" bonus2 bExpAddRace, RC_All, 2; ">
151571151731
},
151732+
{
151733+
Id: 31016
151734+
AegisName: "Decorated_Evil_Tree_Card"
151735+
Name: "Decorated Tree Matilda Card"
151736+
Type: 6
151737+
Weight: 10
151738+
Loc: 16
151739+
Script: <"
151740+
bonus bMaxHP, 1000;
151741+
bonus bMaxSP, 150;
151742+
bonus bFlee, -25;
151743+
">
151744+
},
151745+
{
151746+
Id: 31017
151747+
AegisName: "Brutal_Tattered_Cookie_Card"
151748+
Name: "Terrifying Cookie Card"
151749+
Type: 6
151750+
Weight: 10
151751+
Loc: 64
151752+
Script: <"
151753+
bonus2 bAddRace, RC_All, 1 + getrefine() / 2;
151754+
bonus bMatkRate, 1 + getrefine() / 2;
151755+
bonus bMaxHPrate, -2 - (getrefine() / 2) * 2;
151756+
">
151757+
},
151758+
{
151759+
Id: 31018
151760+
AegisName: "Evil_Enchanted_Box_Card"
151761+
Name: "Gift of Darkness Card"
151762+
Type: 6
151763+
Weight: 10
151764+
Loc: 2
151765+
Script: <"
151766+
bonus bMaxHP, -1225;
151767+
bonus3 bAddEff, Eff_Curse, 1000, ATF_MAGIC;
151768+
">
151769+
},
151770+
{
151771+
Id: 31019
151772+
AegisName: "Eerie_Spirit_Card"
151773+
Name: "Eerie Spirit Card"
151774+
Type: 6
151775+
Weight: 10
151776+
Loc: 136
151777+
Script: <"
151778+
bonus bMaxHPrate, -13;
151779+
bonus5 bAutoSpellWhenHit, NPC_WIDECURSE, 5, 100, BF_MAGIC, 0;
151780+
">
151781+
},
151782+
{
151783+
Id: 31020
151784+
AegisName: "Evil_Chill_Ghost_Card"
151785+
Name: "Bloody Poltergeist Card"
151786+
Type: 6
151787+
Weight: 10
151788+
Loc: 136
151789+
Script: <"
151790+
bonus bMaxHPrate, -13;
151791+
bonus5 bAutoSpellWhenHit, NPC_WIDECURSE, 5, 100, BF_WEAPON, 0;
151792+
">
151793+
},
151794+
{
151795+
Id: 31021
151796+
AegisName: "Dancing_Marionette_Card"
151797+
Name: "Demonic Marionette Card"
151798+
Type: 6
151799+
Weight: 10
151800+
Loc: 2
151801+
Script: <"
151802+
bonus bAspdRate, 10;
151803+
bonus2 bAddRace, RC_All, -3;
151804+
">
151805+
},
151806+
{
151807+
Id: 31022
151808+
AegisName: "Dumped_Teddy_Bear_Card"
151809+
Name: "Dumped Teddy Bear Card"
151810+
Type: 6
151811+
Weight: 10
151812+
Loc: 64
151813+
Script: <"
151814+
bonus bMaxSPrate, 20;
151815+
bonus2 bAddEff2, Eff_Curse, 100;
151816+
">
151817+
},
151818+
{
151819+
Id: 31023
151820+
AegisName: "Celine_Kimi_Card"
151821+
Name: "Celine Kimi Card"
151822+
Type: 6
151823+
Weight: 10
151824+
Loc: 2
151825+
Script: <"
151826+
bonus bMatkRate, 10;
151827+
bonus5 bAutoSpell, NPC_CRITICALWOUND, 3, 50 + 5 * (getrefine() / 3), BF_MAGIC, 1;
151828+
">
151829+
},
151572151830
)

db/re/item_packages.conf

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12869,3 +12869,65 @@ Malang_Woe_Encard_Box: {
1286912869
Random: 0
1287012870
}
1287112871
}
12872+
Closedmind_Box: {
12873+
Crystal_Jewel__: {
12874+
Random: 1
12875+
Count: 10
12876+
Rate: 1
12877+
}
12878+
Violet_Jewel: {
12879+
Random: 1
12880+
Count: 10
12881+
Rate: 1
12882+
}
12883+
Bloody_Coin: {
12884+
Random: 1
12885+
Count: 5
12886+
Rate: 1
12887+
}
12888+
Gold: {
12889+
Random: 1
12890+
Count: 2
12891+
Rate: 1
12892+
}
12893+
Manacles: {
12894+
Random: 1
12895+
Count: 10
12896+
Rate: 1
12897+
}
12898+
Old_Card_Album: {
12899+
Random: 1
12900+
Count: 1
12901+
Rate: 1
12902+
}
12903+
Old_Violet_Box: {
12904+
Random: 1
12905+
Count: 3
12906+
Rate: 1
12907+
}
12908+
Sweet_Canape: {
12909+
Random: 1
12910+
Count: 5
12911+
Rate: 1
12912+
}
12913+
Hot_Tee: {
12914+
Random: 1
12915+
Count: 5
12916+
Rate: 1
12917+
}
12918+
KindHeart: {
12919+
Random: 1
12920+
Count: 1
12921+
Rate: 1
12922+
}
12923+
Hurt_Mind: {
12924+
Random: 1
12925+
Count: 1
12926+
Rate: 1
12927+
}
12928+
Lush_Rose: {
12929+
Random: 1
12930+
Count: 1
12931+
Rate: 1
12932+
}
12933+
}

0 commit comments

Comments
 (0)