summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-23 18:23:58 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-23 18:23:58 -0300
commit237130b82e9ca246007b179515c89bee8671aa87 (patch)
treeb7d6b58164835a3b61341eaec33288b0dfdb07b4
parent0bd4c906db2e55d8cff4c1c7bcacf14884f451c9 (diff)
downloadserverdata-237130b82e9ca246007b179515c89bee8671aa87.tar.gz
serverdata-237130b82e9ca246007b179515c89bee8671aa87.tar.bz2
serverdata-237130b82e9ca246007b179515c89bee8671aa87.tar.xz
serverdata-237130b82e9ca246007b179515c89bee8671aa87.zip
Insurance items
-rw-r--r--db/re/item_chain.conf1
-rw-r--r--db/re/item_db.conf31
-rw-r--r--npc/025-1/yuko.txt6
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
+ }
+},
// <!-- Necklaces -->
@@ -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;