Skip to content

Commit fec34a0

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

17 files changed

Lines changed: 3689 additions & 12 deletions

db/quest_db.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10938,6 +10938,15 @@ quest_db: (
1093810938
Id: 12322
1093910939
Name: "Space Distortion"
1094010940
},
10941+
{
10942+
Id: 12330
10943+
Name: "Skull-faced Girl"
10944+
},
10945+
{
10946+
Id: 12331
10947+
Name: "Trail of Toy Factory"
10948+
TimeLimit: 82800
10949+
},
1094110950
{
1094210951
Id: 12363
1094310952
Name: "?????? ?? ??"

db/re/item_db.conf

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

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)