The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Item to be identified
Author Message
Osirirs
Journeyman
*

Posts: 73
Likes Given: 6
Likes Received: 4 in 2 posts
Joined: Feb 2014
Reputation: 2



Post: #1
Item to be identified
(Version 56b)
Hey guys, I'm trying to make items to be Identified with ItemID(obviously xD) which only have a basic name like Magic Hammer (example) and when identified, the real name is revealed, but thing is that when I add it ingame or loot it on a specific monster it's called Magic The Golden Hammer -.- and when I click on it I can already see the stats where the sysmessage are displayed without identifying it first, so here's my script:

[ITEMDEF i_golden_hammer]
ID=i_hammer_smith
Name=The Golden Hammer
Resources=1000 i_ingot_iron
Skillmake=Blacksmithing 200.0
Type=t_weapon_mace_smith
Dam=2,10

Category=
Subsection=Crafting Items
Description=The Golden Hammer

ON=@Create
Attr=attr_magic
Hitpoints=9000
Color=0b86

ON=@Click
src.sysmessage @026 Item Rank: Artifact
src.sysmessage @026 Skill: Blacksmithing +100.0
message @026 The Golden Hammer
Return 1

ON=@Equip
src.blacksmithing = (<src.blacksmithing>+1000)

ON=@Unequip
src.blacksmithing = (<src.blacksmithing>-1000)


Ideally I'm trying to make it look like a normal weapon until it is identified Shock Any thoughts? Thanks! Smile
So people are like: SURPRISE!!! and they fall off their chairs cause they just got that super crazy item o.o Tongue
(This post was last modified: 03-02-2014 03:28 AM by Osirirs.)
03-02-2014 03:26 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Item to be identified - Osirirs - 03-02-2014 03:26 AM
RE: Item to be identified - JohnVeritas - 03-02-2014, 03:35 AM
RE: Item to be identified - Osirirs - 03-02-2014, 03:39 AM
RE: Item to be identified - Osirirs - 03-02-2014, 07:44 AM
RE: Item to be identified - JohnVeritas - 03-02-2014, 09:38 AM
RE: Item to be identified - Osirirs - 03-02-2014, 12:42 PM
RE: Item to be identified - Runcuks - 03-02-2014, 04:26 PM
RE: Item to be identified - XuN - 03-02-2014, 07:28 PM
RE: Item to be identified - Osirirs - 03-03-2014, 02:00 AM
RE: Item to be identified - JohnVeritas - 03-03-2014, 10:03 PM
RE: Item to be identified - Osirirs - 03-04-2014, 02:30 AM
RE: Item to be identified - JohnVeritas - 03-04-2014, 04:56 AM
RE: Item to be identified - Osirirs - 03-05-2014, 01:08 AM
RE: Item to be identified - Osirirs - 03-06-2014, 01:45 AM
RE: Item to be identified - JohnVeritas - 03-06-2014, 02:35 AM
RE: Item to be identified - Osirirs - 03-06-2014, 02:45 AM
RE: Item to be identified - JohnVeritas - 03-06-2014, 03:17 AM
RE: Item to be identified - Alaric - 03-06-2014, 03:25 AM
RE: Item to be identified - Osirirs - 03-06-2014, 04:41 AM
RE: Item to be identified - Coruja - 03-11-2014, 08:48 AM
RE: Item to be identified - Osirirs - 03-14-2014, 07:11 AM
RE: Item to be identified - Alaric - 03-14-2014, 07:22 AM
RE: Item to be identified - Coruja - 03-14-2014, 01:02 PM
RE: Item to be identified - Osirirs - 03-15-2014, 03:05 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)