Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-04-2004, 09:58 AM
sheck
Fire Beetle
 
Join Date: Mar 2004
Posts: 10
Default getting item names

Is there a quest function that will return an item's name given it's id number? Not that it would be that difficult to write one, just wondering if one is already available...

Just an example, but rather than typing "rusty warhammer" I'd like to replace it with someFunction($item1), where someFunction fetches the item's name from the DB:
Code:
sub EVENT_ITEM{
	if($item1==6016){
		quest::say("Ooh, a rusty warhammer - here's your reward!");
		quest::givecash(5,0,0,0);
		quest::exp(100);
	}
	return 1;
}
Thanks,

Jason
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:34 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3