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






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ethy's
Author Message
Pidrila
Apprentice
*

Posts: 36
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2013
Reputation: 0



Post: #7
RE: ethy's
Code:
[chardef c_m_reptalon2_newbie]
id=C_giant_beetle
name=Reptalon
SOUND=snd_ANIMALS_HORSE1
CAN=MT_WALK|MT_RUN
ICON=i_pet_dragon
DAM=15,20
ARMOR=40
FOODTYPE=9999 t_fruit

On=@Create
color=0870
STR={100 180}
DEX={90 130}
INT={6 10}
PARRYING={35.0 45.0}
MAGICRESISTANCE={25.0 30.0}
TACTICS={29.0 44.0}
WRESTLING={29.0 44.0}
TAMING=300.0
NPC=brain_animal


ON=@HUNGER
FOOD=<MAXFOOD>
RETURN 1


[itemdef i_et_reptalon]
NAME=Ethereal Reptalon
id=i_pet_dragon
type=t_normal
WEIGHT=4

ON=@CREATE
color=0870
tag0.owned 1
ATTR=04
//TAG.LIFETIME = <EVAL <SERV.TIME>+60*60*24*365*10>

ON=@CLICK
NAME = <SERV.ITEMDEF.<BASEID>.NAME> owned by <link.name>
MESSAGE <NAME>
RETURN 1

ON=@DCLICK
IF (<src.flags> & statf_onhorse)
    src.sysmessage You are already on a transport!
    RETURN 1
ENDIF

IF <cont.uid>==<src.findlayer(21).uid>
ELSE
    src.message You must have it in your backpack to use!
    RETURN 1
ENDIF

IF (<src.body>!=c_man) && (<src.body>!=c_woman) && (<src.body>!=c_elf_female) && (<src.body>!=c_elf_male)
    src.sysmessage You can't use that in your current state!
    RETURN 1
ENDIF

IF (<link>==04fffffff)
    LINK = <src.uid>
ENDIF

IF (<link>==<src.uid>)
    SRC.NEWNPC c_m_reptalon2_newbie
    NEW.P <SRC.P>
    IF (<src.findlayer.22.uid>)
        new.color=<src.findlayer.22.color>
    ELIF (<src.findlayer.13.uid>)
        new.color=<src.findlayer.13.color>
    ELSE
        new.color=0870
    ENDIF
    TAG.NPCUID = <NEW.UID>
    SERV.NEWITEM i_memory
    NEW.COLOR memory_ipet
    NEW.MORE1 04
    NEW.MORE2 <SERV.TIME>
    NEW.MOREP <P>
    NEW.LINK <SRC.UID>
    NEW.CONT <TAG.NPCUID>
    NEW = <TAG.NPCUID>
    NEW.DCLICK
    TAG.NPCUID =
    //SRC.TAG.NT_<src.findlayer.25.uid>_LT = <TAG0.LIFETIME>
    REMOVE
    RETURN 1
ENDIF
SRC.MESSAGE This isn't your horse!
RETURN 1
02-07-2014 04:33 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
ethy's - dabritmusic - 02-06-2014, 08:58 AM
RE: ethy's - XuN - 02-06-2014, 09:00 AM
RE: ethy's - dabritmusic - 02-07-2014, 07:35 AM
RE: ethy's - Alaric - 02-06-2014, 07:45 PM
RE: ethy's - Shidhun - 02-07-2014, 12:15 AM
RE: ethy's - Mordaunt - 02-07-2014, 10:17 AM
RE: ethy's - Pidrila - 02-07-2014 04:33 PM
RE: ethy's - XuN - 02-07-2014, 07:47 PM
RE: ethy's - miltonvo - 05-24-2016, 03:38 AM
RE: ethy's - Criminal - 05-24-2016, 05:54 AM
RE: ethy's - dabritmusic - 02-09-2014, 05:32 PM
RE: ethy's - Vaikin - 05-24-2016, 06:09 AM
RE: ethy's - XuN - 05-28-2016, 06:06 PM
RE: ethy's - miltonvo - 06-03-2016, 06:01 AM

Forum Jump:


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