Advertisement
nefthon

Untitled

Jan 11th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1.  
  2. [function bodyhex]
  3. return "0x<strsub 1 10 <hval <body> & 0ffff>>"
  4.  
  5. [ITEMDEF i_et_global]
  6. ID=i_pet_horse_brown_dk
  7. NAME=Mount Cloner
  8. TYPE=t_eth
  9.  
  10. ON=@Create
  11. color=078ff
  12. ATTR=04
  13.  
  14. on=@DropOn_Char
  15. if (<def0.mount_<argo.bodyhex>>)
  16. tag.ethid=<argo.baseid>
  17. name=Mount Cloner (<argo.name>)
  18. color=<argo.color>
  19. dispid=<argo.icon>
  20. update
  21. else
  22. src.sysmessage That can't be mounted.
  23. endif
  24. return 1
  25.  
  26. [ITEMDEF i_et_hiryu]
  27. DEFNAME=i_et_dragon
  28. ID=i_pet_hiryu
  29. NAME=Ethereal Hiryu
  30. TYPE=t_eth
  31. tdata1=c_hiryu
  32.  
  33. ON=@Create
  34. color=078ff
  35. ATTR=04
  36.  
  37. [ITEMDEF i_et_zostrich]
  38. ID=i_pet_ostard_frenzied_2
  39. NAME=Ethereal Zostrich
  40. TYPE=t_eth
  41. tdata1=c_ostard_zostrich
  42.  
  43. ON=@Create
  44. color=078ff
  45. ATTR=04
  46.  
  47.  
  48. [ITEMDEF i_et_oclock]
  49. ID=i_pet_ostard_desert
  50. NAME=Ethereal Oclock
  51. TYPE=t_eth
  52. tdata1=c_ostard_desert
  53.  
  54. ON=@Create
  55. color=078ff
  56. ATTR=04
  57.  
  58.  
  59. [ITEMDEF i_et_orn]
  60. ID=i_pet_ostard_forest_2
  61. NAME=Ethereal Orn
  62. TYPE=t_eth
  63. tdata1=c_ostard_forest
  64.  
  65. ON=@Create
  66. color=078ff
  67. ATTR=04
  68.  
  69.  
  70. [ITEMDEF i_et_beetle]
  71. ID=i_pet_beetle_fire
  72. NAME=Ethereal Beetle
  73. TYPE=t_eth
  74. tdata1=c_giant_beetle
  75.  
  76. ON=@Create
  77. color=078ff
  78. ATTR=04
  79.  
  80.  
  81. [ITEMDEF i_et_horse]
  82. DEFNAME=i_et_eh
  83. ID=i_pet_horse_brown_dk
  84. NAME=Ethereal Horse
  85. TYPE=t_eth
  86. tdata1=c_horse_brown_dk
  87.  
  88. ON=@Create
  89. color=078ff
  90. ATTR=04
  91.  
  92.  
  93. [ITEMDEF i_et_llama]
  94. ID=i_pet_llama
  95. NAME=Ethereal llama
  96. TYPE=t_eth
  97. tdata1=c_llama
  98.  
  99. ON=@Create
  100. color=078ff
  101. ATTR=04
  102.  
  103.  
  104. [ITEMDEF i_et_bear]
  105. ID=i_pet_bear_polar
  106. NAME=Ethereal Bear
  107. TYPE=t_eth
  108. tdata1=c_bear_polar
  109.  
  110. ON=@Create
  111. color=078ff
  112. ATTR=04
  113.  
  114.  
  115. [ITEMDEF i_et_wolf]
  116. ID=i_pet_wolf
  117. NAME=Ethereal Wolf
  118. TYPE=t_eth
  119. tdata1=c_cu_sidhe
  120.  
  121. ON=@Create
  122. color=078ff
  123. ATTR=04
  124.  
  125.  
  126. [ITEMDEF i_et_kirin]
  127. DEFNAME=i_kirin
  128. ID=i_pet_kirin
  129. NAME=Ethereal Kirin
  130. TYPE=t_eth
  131. tdata1=c_kirin
  132.  
  133. ON=@Create
  134. color=078ff
  135. //ATTR=04
  136.  
  137. [ITEMDEF i_et_ridge]
  138. DEFNAME=i_ridgeback
  139. ID=i_pet_ridgeback
  140. NAME=Ethereal Ridgeback
  141. TYPE=t_eth
  142. tdata1=c_ridgeback
  143.  
  144. ON=@Create
  145. //ATTR=04
  146.  
  147. [Itemdef i_et_swamp_dragon]
  148. ID=i_pet_dragon_swamp
  149. NAME=Ethereal Swamp Dragon
  150. TYPE=t_eth
  151. tdata1=c_swamp_dragon
  152.  
  153. ON=@Create
  154. color=078ff
  155. ATTR=04
  156.  
  157.  
  158. [Itemdef i_et_swamp_dragon_armored]
  159. ID=i_pet_dragon_swamp
  160. NAME=Ethereal Swamp Dragon Armored
  161. TYPE=t_eth
  162. tdata1=c_armored_swamp_dragon
  163.  
  164. ON=@Create
  165. color=078ff
  166. ATTR=04
  167.  
  168.  
  169. [Itemdef i_et_reptalon]
  170. ID=i_pet_reptalon
  171. NAME=Ethereal Reptalon
  172. TYPE=t_eth
  173. tdata1=c_reptalon
  174.  
  175. ON=@Create
  176. color=078ff
  177. ATTR=04
  178.  
  179. [Itemdef i_et_ridgeback_savage]
  180. ID=i_pet_ridgeback
  181. NAME=Ethereal Savage Ridgeback
  182. TYPE=t_eth
  183. tdata1=c_savage_ridgeback
  184.  
  185. ON=@Create
  186. //ATTR=04
  187.  
  188. [Itemdef i_et_undead]
  189. ID=i_pet_skeletalmount
  190. NAME=Ethereal Undead Horse
  191. TYPE=t_eth
  192. tdata1=c_skeletal_mount
  193.  
  194. ON=@Create
  195. //ATTR=04
  196.  
  197. [Itemdef i_et_unicornio]
  198. ID=i_pet_unicorn
  199. NAME=Ethereal Unicorn
  200. tdata1=c_unicorn
  201. TYPE=t_eth
  202.  
  203. ON=@Create
  204. //ATTR=04
  205.  
  206. //[ITEMDEF 03ea7] //Mounted animation removed from muls, might work on old/patched game versions
  207. //DEFNAME=I_MT_Vortex
  208. //TYPE=T_EQ_HORSE
  209. //LAYER=25
  210.  
  211. [typedef t_eth]
  212. on=@Dclick
  213. local.id=<qval <tdata1>?<tdata1>:<tag0.ethid>>
  214. if <local.id>
  215. IF !((<SRC.Body>==c_man) || (<SRC.Body>==c_woman) || (<SRC.Body>==c_elf_male) || (<SRC.Body>==c_elf_female))
  216. SRC.SysMessage=<def.tradu_<src.account.tag.lang>_eth_notransform>
  217. Return 1
  218. Else
  219. serv.newnpc=<local.id>
  220. new.tag.eth=<baseid>
  221. new.color=<color>
  222. new.tag.etglobal=<tag.ethid>
  223. new.tag.color=<color>
  224. ref1=<new>
  225. serv.newitem=i_memory
  226. new.color=memory_ipet
  227. new.link=<src>
  228. new.cont=<ref1>
  229. ref1.mount=<src>
  230. src.events +e_mounted_eth
  231. remove
  232. Endif
  233. else
  234. src.say a
  235. serv.log Problems with <uid> (t_eth) no tdata1 nor tag.ethid.
  236. return 1
  237. ENDIF
  238. return 1
  239.  
  240. on=@DropOn_Ground
  241. cont=<findlayer.21>
  242. if (<tag0.ethid>)
  243. dispid=<serv.chardef.<tag.ethid>.icon>
  244. update
  245. endif
  246. return 1
  247.  
  248. ON=@AfterClick
  249. local.clickmsghue=0480
  250. local.clickmsgtext=You see a real <name>
  251.  
  252. [events e_mounted_eth]
  253. ON=@Dismount
  254. events -e_mounted_eth
  255. ref1=<argo>
  256. if (<ref1.tag0.eth>)
  257. serv.newitem=<ref1.tag.eth>
  258. new.color=<ref1.color>
  259. if (<ref1.tag0.etglobal>)
  260. new.tag.ethid=<ref1.tag.etglobal>
  261. new.dispid=<ref1.icon>
  262. endif
  263. new.cont=<findlayer.21>
  264. findlayer.25.remove
  265. return 1
  266. endif
  267. [EOF]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement