Advertisement
existence_dev92

Untitled

Jul 8th, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.03 KB | None | 0 0
  1. >> Adding Custom Pet <<
  2.  
  3. ----------------------------------------- [[SERVER SIDE]] -----------------------------------------
  4. - add all entry below this to appropriate file.
  5. ---------------------------------------------------------------------------------------------------
  6.  
  7. ## mob_db.txt
  8. 21001,ARMOR_SQUIRT,Armor Squirt,Armor Squirt,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  9. 21002,BAD_FURY,Bad Fury,Bad Fury,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  10. 21003,BUSTSHELL,Bustshell,Bustshell,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  11. 21004,CHARIZARD,Charizard,Charizard,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  12. 21005,EGGRING,Eggring,Eggring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  13. 21006,GOMA,Goma,Goma,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  14. 21007,LITTLE_CORA,Little Cora,Little Cora,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  15. 21008,MAIDEN_GHOST,Maiden Ghost,Maiden Ghost,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  16. 21009,MUMMYY,Mummyy,Mummyy,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  17. 21010,POCHI,Pochi,Pochi,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  18. 21011,SEA_SPIRIT,Sea Spirit,Sea Spirit,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  19. 21012,SPPO,Sppo,Sppo,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  20.  
  21. ## item_db.txt
  22. 9061,Armor_Squirt_Egg,Armor Squirt Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  23. 9062,Bad_Fury_Egg,Bad Fury Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  24. 9063,Bustshell_Egg,Bustshell Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  25. 9064,Charizard_Egg,Charizard Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  26. 9065,Eggring_Egg,Eggring Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  27. 9066,Goma_Egg,Goma Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  28. 9067,Little_Cora_Egg,Little Cora Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  29. 9068,Maiden_Ghost_Egg,Maiden Ghost Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  30. 9069,Mummyy_Egg,Mummyy Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  31. 9070,Pochi_Egg,Pochi Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  32. 9071,Sea_Spirit_Egg,Sea Spirit Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  33. 9072,Sppo_Egg,Sppo Egg,7,20,,0,,,,,,,,,,,,,{},{},{}
  34.  
  35. ## pet_db.yml
  36. - Mob: ARMOR_SQUIRT
  37. TameItem: Unripe_Apple
  38. EggItem: Armor_Squirt_Egg
  39. FoodItem: Apple_Juice
  40. Fullness: 10
  41. IntimacyFed: 5
  42. CaptureRate: 100
  43. Script: >
  44. .@i = getpetinfo(PETINFO_INTIMATE);
  45.  
  46. if( .@i >= PET_INTIMATE_LOYAL ){
  47. bonus bAllStats, 3;
  48. }
  49. - Mob: BAD_FURY
  50. TameItem: Unripe_Apple
  51. EggItem: BAD_FURY_Egg
  52. FoodItem: Apple_Juice
  53. Fullness: 10
  54. IntimacyFed: 5
  55. CaptureRate: 100
  56. Script: >
  57. .@i = getpetinfo(PETINFO_INTIMATE);
  58.  
  59. if( .@i >= PET_INTIMATE_LOYAL ){
  60. bonus bAllStats, 3;
  61. }
  62. - Mob: BUSTSHELL
  63. TameItem: Unripe_Apple
  64. EggItem: BUSTSHELL_Egg
  65. FoodItem: Apple_Juice
  66. Fullness: 10
  67. IntimacyFed: 5
  68. CaptureRate: 100
  69. Script: >
  70. .@i = getpetinfo(PETINFO_INTIMATE);
  71.  
  72. if( .@i >= PET_INTIMATE_LOYAL ){
  73. bonus bAllStats, 3;
  74. }
  75. - Mob: CHARIZARD
  76. TameItem: Unripe_Apple
  77. EggItem: CHARIZARD_Egg
  78. FoodItem: Apple_Juice
  79. Fullness: 10
  80. IntimacyFed: 5
  81. CaptureRate: 100
  82. Script: >
  83. .@i = getpetinfo(PETINFO_INTIMATE);
  84.  
  85. if( .@i >= PET_INTIMATE_LOYAL ){
  86. bonus bAllStats, 3;
  87. }
  88. - Mob: EGGRING
  89. TameItem: Unripe_Apple
  90. EggItem: EGGRING_Egg
  91. FoodItem: Apple_Juice
  92. Fullness: 10
  93. IntimacyFed: 5
  94. CaptureRate: 100
  95. Script: >
  96. .@i = getpetinfo(PETINFO_INTIMATE);
  97.  
  98. if( .@i >= PET_INTIMATE_LOYAL ){
  99. bonus bAllStats, 3;
  100. }
  101. - Mob: GOMA
  102. TameItem: Unripe_Apple
  103. EggItem: GOMA_Egg
  104. FoodItem: Apple_Juice
  105. Fullness: 10
  106. IntimacyFed: 5
  107. CaptureRate: 100
  108. Script: >
  109. .@i = getpetinfo(PETINFO_INTIMATE);
  110.  
  111. if( .@i >= PET_INTIMATE_LOYAL ){
  112. bonus bAllStats, 3;
  113. }
  114. - Mob: LITTLE_CORA
  115. TameItem: Unripe_Apple
  116. EggItem: LITTLE_CORA_Egg
  117. FoodItem: Apple_Juice
  118. Fullness: 10
  119. IntimacyFed: 5
  120. CaptureRate: 100
  121. Script: >
  122. .@i = getpetinfo(PETINFO_INTIMATE);
  123.  
  124. if( .@i >= PET_INTIMATE_LOYAL ){
  125. bonus bAllStats, 3;
  126. }
  127. - Mob: MAIDEN_GHOST
  128. TameItem: Unripe_Apple
  129. EggItem: MAIDEN_Egg
  130. FoodItem: Apple_Juice
  131. Fullness: 10
  132. IntimacyFed: 5
  133. CaptureRate: 100
  134. Script: >
  135. .@i = getpetinfo(PETINFO_INTIMATE);
  136.  
  137. if( .@i >= PET_INTIMATE_LOYAL ){
  138. bonus bAllStats, 3;
  139. }
  140. - Mob: MUMMYY
  141. TameItem: Unripe_Apple
  142. EggItem: MUMMYY_Egg
  143. FoodItem: Apple_Juice
  144. Fullness: 10
  145. IntimacyFed: 5
  146. CaptureRate: 100
  147. Script: >
  148. .@i = getpetinfo(PETINFO_INTIMATE);
  149.  
  150. if( .@i >= PET_INTIMATE_LOYAL ){
  151. bonus bAllStats, 3;
  152. }
  153. - Mob: POCHI
  154. TameItem: Unripe_Apple
  155. EggItem: POCHI_Egg
  156. FoodItem: Apple_Juice
  157. Fullness: 10
  158. IntimacyFed: 5
  159. CaptureRate: 100
  160. Script: >
  161. .@i = getpetinfo(PETINFO_INTIMATE);
  162.  
  163. if( .@i >= PET_INTIMATE_LOYAL ){
  164. bonus bAllStats, 3;
  165. }
  166. - Mob: SEA_SPIRIT
  167. TameItem: Unripe_Apple
  168. EggItem: SEA_SPIRIT_Egg
  169. FoodItem: Apple_Juice
  170. Fullness: 10
  171. IntimacyFed: 5
  172. CaptureRate: 100
  173. Script: >
  174. .@i = getpetinfo(PETINFO_INTIMATE);
  175.  
  176. if( .@i >= PET_INTIMATE_LOYAL ){
  177. bonus bAllStats, 3;
  178. }
  179. - Mob: SPPO
  180. TameItem: Unripe_Apple
  181. EggItem: SPPO_Egg
  182. FoodItem: Apple_Juice
  183. Fullness: 10
  184. IntimacyFed: 5
  185. CaptureRate: 100
  186. Script: >
  187. .@i = getpetinfo(PETINFO_INTIMATE);
  188.  
  189. if( .@i >= PET_INTIMATE_LOYAL ){
  190. bonus bAllStats, 3;
  191. }
  192.  
  193. ----------------------------------------- [[CLIENT SIDE]] -----------------------------------------
  194. - add all entry below this to appropriate file.
  195. ---------------------------------------------------------------------------------------------------
  196. ## into grf : data/luafiles514/lua files/datainfo/jobname.lub
  197. [jobtbl.JT_ARMOR_SQUIRT] = "Armor_Squirt",
  198. [jobtbl.JT_BAD_FURY] = "Bad_Fury",
  199. [jobtbl.JT_BUSTSHELL] = "Bustshell",
  200. [jobtbl.JT_CHARIZARD] = "Charizard",
  201. [jobtbl.JT_EGGRING] = "Eggring",
  202. [jobtbl.JT_GOMA] = "Goma",
  203. [jobtbl.JT_LITTLE_CORA] = "Little_Cora",
  204. [jobtbl.JT_MAIDEN_GHOST] = "Maiden_Ghost",
  205. [jobtbl.JT_MUMMYY] = "Mummyy",
  206. [jobtbl.JT_POCHI] = "Pochi",
  207. [jobtbl.JT_SEA_SPIRIT] = "Sea_Spirit",
  208. [jobtbl.JT_SPPO] = "Sppo",
  209.  
  210. ## into grf : data/luafiles514/lua files/datainfo/npcidentity.lub
  211. JT_ARMOR_SQUIRT = 21001,
  212. JT_BAD_FURY = 21002,
  213. JT_BUSTSHELL = 21003,
  214. JT_CHARIZARD = 21004,
  215. JT_EGGRING = 21005,
  216. JT_GOMA = 21006,
  217. JT_LITTLE_CORA = 21007,
  218. JT_MAIDEN_GHOST = 21008,
  219. JT_MUMMYY = 21009,
  220. JT_POCHI = 21010,
  221. JT_SEA_SPIRIT = 21011,
  222. JT_SPPO = 21012,
  223.  
  224. ## iteminfo.lub
  225. [9061] = {
  226. unidentifiedDisplayName = "Armor Squirt Egg",
  227. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  228. unidentifiedDescriptionName = {
  229. },
  230. identifiedDisplayName = "Armor Squirt Egg",
  231. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  232. identifiedDescriptionName = {
  233. "An egg in which a Armor Squirt cute pet rests.",
  234. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  235. "________________________",
  236. "When intimacy is ^9900FFLoyal^000000:",
  237. "All Stats +3",
  238. "________________________",
  239. "^0000CCType:^000000 Monster Egg",
  240. "^0000CCDiet:^000000 Apple Juice"
  241. },
  242. slotCount = 0,
  243. ClassNum = 0,
  244. costume = false
  245. },
  246. [9062] = {
  247. unidentifiedDisplayName = "Bad Fury Egg",
  248. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  249. unidentifiedDescriptionName = {
  250. },
  251. identifiedDisplayName = "Bad Fury Egg",
  252. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  253. identifiedDescriptionName = {
  254. "An egg in which a Bad Fury cute pet rests.",
  255. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  256. "________________________",
  257. "When intimacy is ^9900FFLoyal^000000:",
  258. "All Stats +3",
  259. "________________________",
  260. "^0000CCType:^000000 Monster Egg",
  261. "^0000CCDiet:^000000 Apple Juice"
  262. },
  263. slotCount = 0,
  264. ClassNum = 0,
  265. costume = false
  266. },
  267. [9063] = {
  268. unidentifiedDisplayName = "Bustshell Egg",
  269. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  270. unidentifiedDescriptionName = {
  271. },
  272. identifiedDisplayName = "Bustshell Egg",
  273. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  274. identifiedDescriptionName = {
  275. "An egg in which a Bustshell cute pet rests.",
  276. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  277. "________________________",
  278. "When intimacy is ^9900FFLoyal^000000:",
  279. "All Stats +3",
  280. "________________________",
  281. "^0000CCType:^000000 Monster Egg",
  282. "^0000CCDiet:^000000 Apple Juice"
  283. },
  284. slotCount = 0,
  285. ClassNum = 0,
  286. costume = false
  287. },
  288. [9064] = {
  289. unidentifiedDisplayName = "Charizard Egg",
  290. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  291. unidentifiedDescriptionName = {
  292. },
  293. identifiedDisplayName = "Charizard Egg",
  294. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  295. identifiedDescriptionName = {
  296. "An egg in which a Charizard cute pet rests.",
  297. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  298. "________________________",
  299. "When intimacy is ^9900FFLoyal^000000:",
  300. "All Stats +3",
  301. "________________________",
  302. "^0000CCType:^000000 Monster Egg",
  303. "^0000CCDiet:^000000 Apple Juice"
  304. },
  305. slotCount = 0,
  306. ClassNum = 0,
  307. costume = false
  308. },
  309. [9065] = {
  310. unidentifiedDisplayName = "Eggring Egg",
  311. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  312. unidentifiedDescriptionName = {
  313. },
  314. identifiedDisplayName = "Eggring Egg",
  315. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  316. identifiedDescriptionName = {
  317. "An egg in which a Eggring cute pet rests.",
  318. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  319. "________________________",
  320. "When intimacy is ^9900FFLoyal^000000:",
  321. "All Stats +3",
  322. "________________________",
  323. "^0000CCType:^000000 Monster Egg",
  324. "^0000CCDiet:^000000 Apple Juice"
  325. },
  326. slotCount = 0,
  327. ClassNum = 0,
  328. costume = false
  329. },
  330. [9066] = {
  331. unidentifiedDisplayName = "Goma Egg",
  332. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  333. unidentifiedDescriptionName = {
  334. },
  335. identifiedDisplayName = "Goma Egg",
  336. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  337. identifiedDescriptionName = {
  338. "An egg in which a Goma cute pet rests.",
  339. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  340. "________________________",
  341. "When intimacy is ^9900FFLoyal^000000:",
  342. "All Stats +3",
  343. "________________________",
  344. "^0000CCType:^000000 Monster Egg",
  345. "^0000CCDiet:^000000 Apple Juice"
  346. },
  347. slotCount = 0,
  348. ClassNum = 0,
  349. costume = false
  350. },
  351. [9067] = {
  352. unidentifiedDisplayName = "Little Cora Egg",
  353. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  354. unidentifiedDescriptionName = {
  355. },
  356. identifiedDisplayName = "Little Cora Egg",
  357. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  358. identifiedDescriptionName = {
  359. "An egg in which a Little Cora cute pet rests.",
  360. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  361. "________________________",
  362. "When intimacy is ^9900FFLoyal^000000:",
  363. "All Stats +3",
  364. "________________________",
  365. "^0000CCType:^000000 Monster Egg",
  366. "^0000CCDiet:^000000 Apple Juice"
  367. },
  368. slotCount = 0,
  369. ClassNum = 0,
  370. costume = false
  371. },
  372. [9068] = {
  373. unidentifiedDisplayName = "Maiden Ghost Egg",
  374. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  375. unidentifiedDescriptionName = {
  376. },
  377. identifiedDisplayName = "Maiden Ghost Egg",
  378. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  379. identifiedDescriptionName = {
  380. "An egg in which a Maiden Ghost cute pet rests.",
  381. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  382. "________________________",
  383. "When intimacy is ^9900FFLoyal^000000:",
  384. "All Stats +3",
  385. "________________________",
  386. "^0000CCType:^000000 Monster Egg",
  387. "^0000CCDiet:^000000 Apple Juice"
  388. },
  389. slotCount = 0,
  390. ClassNum = 0,
  391. costume = false
  392. },
  393. [9069] = {
  394. unidentifiedDisplayName = "Mummyy Egg",
  395. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  396. unidentifiedDescriptionName = {
  397. },
  398. identifiedDisplayName = "Mummyy Egg",
  399. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  400. identifiedDescriptionName = {
  401. "An egg in which a Mummyy cute pet rests.",
  402. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  403. "________________________",
  404. "When intimacy is ^9900FFLoyal^000000:",
  405. "All Stats +3",
  406. "________________________",
  407. "^0000CCType:^000000 Monster Egg",
  408. "^0000CCDiet:^000000 Apple Juice"
  409. },
  410. slotCount = 0,
  411. ClassNum = 0,
  412. costume = false
  413. },
  414. [9070] = {
  415. unidentifiedDisplayName = "Pochi Egg",
  416. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  417. unidentifiedDescriptionName = {
  418. },
  419. identifiedDisplayName = "Pochi Egg",
  420. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  421. identifiedDescriptionName = {
  422. "An egg in which a Pochi cute pet rests.",
  423. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  424. "________________________",
  425. "When intimacy is ^9900FFLoyal^000000:",
  426. "All Stats +3",
  427. "________________________",
  428. "^0000CCType:^000000 Monster Egg",
  429. "^0000CCDiet:^000000 Apple Juice"
  430. },
  431. slotCount = 0,
  432. ClassNum = 0,
  433. costume = false
  434. },
  435. [9071] = {
  436. unidentifiedDisplayName = "Sea Spirit Egg",
  437. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  438. unidentifiedDescriptionName = {
  439. },
  440. identifiedDisplayName = "Sea Spirit Egg",
  441. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  442. identifiedDescriptionName = {
  443. "An egg in which a Sea Spirit cute pet rests.",
  444. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  445. "________________________",
  446. "When intimacy is ^9900FFLoyal^000000:",
  447. "All Stats +3",
  448. "________________________",
  449. "^0000CCType:^000000 Monster Egg",
  450. "^0000CCDiet:^000000 Apple Juice"
  451. },
  452. slotCount = 0,
  453. ClassNum = 0,
  454. costume = false
  455. },
  456. [9072] = {
  457. unidentifiedDisplayName = "Sppo Egg",
  458. unidentifiedResourceName = "¼ö¼Ó¼º¾Ë",
  459. unidentifiedDescriptionName = {
  460. },
  461. identifiedDisplayName = "Sppo Egg",
  462. identifiedResourceName = "¼ö¼Ó¼º¾Ë",
  463. identifiedDescriptionName = {
  464. "An egg in which a Sppo cute pet rests.",
  465. "Can be hatched by using a ^0033CCPet Incubator^000000.",
  466. "________________________",
  467. "When intimacy is ^9900FFLoyal^000000:",
  468. "All Stats +3",
  469. "________________________",
  470. "^0000CCType:^000000 Monster Egg",
  471. "^0000CCDiet:^000000 Apple Juice"
  472. },
  473. slotCount = 0,
  474. ClassNum = 0,
  475. costume = false
  476. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement