diff options
Diffstat (limited to 'npc/003-2/lua.txt')
-rw-r--r-- | npc/003-2/lua.txt | 14 |
1 files changed, 14 insertions, 0 deletions
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; |