summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf17
-rw-r--r--npc/003-2/lua.txt14
2 files changed, 31 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index c119cd8cb..5f156584d 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -5134,6 +5134,23 @@ item_db: (
Sprite: 0
},
{
+ Id: 1018
+ AegisName: "SponsorNecklace"
+ Name: "Sponsor Necklace"
+ Type: "IT_ARMOR"
+ Buy: 2
+ Sell: 1
+ Weight: 1
+ Loc: 1024
+ WeaponLv: 0
+ Refine: false
+ Trade: {
+ notrade: true
+ nodrop: true
+ noselltonpc: true
+ }
+},
+{
Id: 1150
AegisName: "FourLeafClover"
Name: "Four Leaf Clover"
diff --git a/npc/003-2/lua.txt b/npc/003-2/lua.txt
index c4207157e..cd06751e8 100644
--- a/npc/003-2/lua.txt
+++ b/npc/003-2/lua.txt
@@ -16,6 +16,7 @@ L_Menu:
rif(is_gm(), l("I need a GM set, please!")), L_GMItems,
rif(is_gm() && #GMEVENT_T <= gettimetick(2), l("I plan in doing an event! Give me the coins!")), L_GMEvent,
rif(is_staff(), l("Tell people the name of a new hero.")), L_NewHero,
+ rif((getgmlevel() == 1 || is_admin()) && #T_SPONSOR <= gettimetick(2), l("I want a Sponsor Necklace.")), L_Sponsor,
l("What alliance?"),-;
mes "";
mesn;
@@ -53,6 +54,19 @@ L_NewHero:
$MOST_HEROIC$ = .@MH$;
goto L_Menu;
+L_Sponsor:
+ #T_SPONSOR=gettimetick(2)+(60*60*24*30);
+ rentitem "SponsorNecklace", (60*60*24*30);
+ logmes(strcharinfo(0)+" just took a Sponsor Necklace.");
+ logmes(strcharinfo(0)+" just took a Sponsor Necklace.", LOGMES_ATCOMMAND);
+ mes "";
+ mesn;
+ mesq lg("Here it is, miss.", "Here it is, mister.");
+ mes col("This item will be returned in 30 days counting from now, and you will need to take another.", 9);
+ mes col("It cannot be dropped, traded, sold, but you can store it and use with same account.", 9);
+ mes "";
+ goto L_Menu;
+
L_Info:
mes "";
mesn;