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
Trying to make an item that...
Author Message
Murmur
Apprentice
*

Posts: 33
Likes Given: 3
Likes Received: 2 in 2 posts
Joined: Feb 2013
Reputation: 0



Post: #1
Trying to make an item that...
What up everyone!

Was messing around with making a mask that when you equip it, it changes your form, kind of like Polymorph.

Here is what I scripted after looking at the relationship between s_polymorph and sm_polymorph. I'm assuming at this point the 'POLY' function is hardcoded in the source, so I'm hoping someone knows if there is like MORE or some other reference I could use to easily do this.

Here is my code, the server throws errors on the reference to 'POLY'
Code:
[itemdef i_mask_dire_wolf_form}
DEFNAME=i_mask_dire_wolf_form
ID=i_mask_tribal_red
NAME=mask of dire wolf form

on=@create
color=044a
hitpoints={10 50}

on=@equip
POLY c_wolf_dire
src.message=You feel the power of the <name>.

on=@unequip
POLY c_man

I appreciate any help or comments.

Also, is there a reference somewhere that lists what all the MORE's do for each item? Probably not, but figured I'd ask Smile

Thanks again,
Murmur

*you glance to your left to a region you just surveyed... you glimpse a magical being, more shadow than substance, caught midway in transformation... the figure smiles, the corners of his mouth jut upwards slightly on the edges, suddenly stretched to a length not at all human...*
04-28-2017 03:46 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Trying to make an item that... - Murmur - 04-28-2017 03:46 PM
RE: Trying to make an item that... - Ben - 04-29-2017, 09:50 PM

Forum Jump:


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