From 237130b82e9ca246007b179515c89bee8671aa87 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 23 Feb 2021 18:23:58 -0300 Subject: Insurance items --- db/re/item_chain.conf | 1 + db/re/item_db.conf | 31 +++++++++++++++++++++++++++++++ npc/025-1/yuko.txt | 6 ++++-- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/db/re/item_chain.conf b/db/re/item_chain.conf index b5be95f9c..e0b1b4dca 100644 --- a/db/re/item_chain.conf +++ b/db/re/item_chain.conf @@ -62,4 +62,5 @@ ITMCHAIN_SIEGFRIED: { } ITMCHAIN_NEO_INSURANCE: { + Insurance: 1 } diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 3a4f028ec..4f45f74c1 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -5405,6 +5405,22 @@ item_db: ( noauction: true } }, +{ + Id: 922 + AegisName: "Insurance" + Name: "Insurance" + Type: "IT_ETC" + Buy: 0 + Sell: 0 + Weight: 0 + Trade: { + notrade: true + nodrop: true + noselltonpc: true + nomail: true + noauction: true + } +}, // @@ -16458,6 +16474,21 @@ item_db: ( dispbottom l("Homunculus stats were reset!"); "> }, +{ + Id: 8029 + AegisName: "InsuranceContract" + Name: "Insurance Contract" + Type: "IT_USABLE" + Buy: 70000 + Sell: 5000 + Weight: 20 + Refine: false + KeepAfterUse: false + Delay: 200 + Script: <" + sc_start SC_CASH_DEATHPENALTY, 900000, 1; + "> +}, ) diff --git a/npc/025-1/yuko.txt b/npc/025-1/yuko.txt index 0eb692d9d..bfe3698f2 100644 --- a/npc/025-1/yuko.txt +++ b/npc/025-1/yuko.txt @@ -28,6 +28,7 @@ OnInit: .distance = 4; tradertype(NST_MARKET); + sellitem InsuranceContract, -1, 1; sellitem HomunResetPotion, -1, 5; sellitem PurificationPotion, -1, 20; sellitem AtroposMixture, -1, 50; @@ -38,8 +39,9 @@ OnInit: end; OnClock1149: - restoreshopitem ThornAmmoBox, 5; - restoreshopitem PileOfAsh, 25; + restoreshopitem InsuranceContract, 1; + restoreshopitem ThornAmmoBox, 5; + restoreshopitem PileOfAsh, 25; OnClock2359: restoreshopitem HomunResetPotion, 5; restoreshopitem PurificationPotion, 20; -- cgit v1.2.3-60-g2f50