Advertisement
Guest User

drugdealer.npctype

a guest
Dec 20th, 2013
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.40 KB | None | 0 0
  1. {
  2. "type" : "drugdealer",
  3.  
  4. "damageTeam" : 1,
  5.  
  6. "levelVariance" : [0, 0],
  7.  
  8. "disableWornArmor" : true,
  9. "inateStatusEffects" : [
  10. {
  11. "kind" : "Protection",
  12. "amount" : 1.0
  13. }
  14. ],
  15.  
  16. "scripts" : [
  17. "/npcs/main.lua",
  18. "/npcs/timers.lua",
  19. "/scripts/sensors.lua",
  20. "/scripts/stateMachine.lua",
  21. "/scripts/util.lua",
  22. "/scripts/vec2.lua",
  23.  
  24. "/npcs/chatState.lua",
  25. "/npcs/fleeState.lua",
  26. "/npcs/sitState.lua",
  27. "/npcs/sleepState.lua",
  28. "/npcs/standingIdleState.lua",
  29. "/npcs/wanderState.lua",
  30.  
  31. "/npcs/merchant/merchantState.lua",
  32. "/npcs/merchant/returnToStoreState.lua"
  33. ],
  34. "scriptDelta" : 5,
  35. "scriptConfig" : {
  36. "idleTimeRange" : [2.0, 10.0],
  37.  
  38. "merchant" : {
  39. "waitTime" : 10,
  40. "storeRadius" : 8,
  41.  
  42. "dialog" : {
  43. "start" : {
  44. "default" : [
  45. "Hey, Ive got something good here, if you're interested. I know you are!"
  46. ],
  47.  
  48. "apex" : {
  49. "default" : [
  50. "Are you a cop?"
  51. ]
  52. },
  53.  
  54. "avian" : {
  55. "default" : [
  56. "Test avian."
  57. ]
  58. },
  59.  
  60. "floran" : {
  61. "default" : [
  62. "Test floran."
  63. ],
  64. "hylotl" : [
  65. "Test hylotl."
  66. ]
  67. },
  68.  
  69. "glitch" : {
  70. "default" : [
  71. "Pleasant. These Automatoes are hydroponically grown and organic. Come with me if you want to see."
  72. ],
  73. "floran" : [
  74. "Are you looking for the right herbss to ssspice thingss up?"
  75. ]
  76. },
  77.  
  78. "hylotl" : {
  79. "default" : [
  80. "I have the most relaxing product on the market"
  81. ]
  82. }
  83.  
  84. },
  85. "end" : {
  86. "default" : [
  87. "I'm sure I'll see you again."
  88. ],
  89. "glitch" : {
  90. "default" : [
  91. "Thanks for your time."
  92. ]
  93. },
  94. "floran" : {
  95. "default" : [
  96. "Floran wantss pixelss. Sells good Floran spicess to space traveller."
  97. ]
  98. }
  99. }
  100.  
  101. },
  102.  
  103. "categories" : [ "test", "randomguns", "randomswords" ],
  104. "priceVarianceRange" : [0.75, 1.25],
  105. "numItems" : 10,
  106.  
  107. "items" : {
  108. "apexdealer" : [
  109. [0, [
  110. { "item" : { "name" : "grapeapeclone", "cost" : 250 }
  111. { "item" : { "name" : "grapeapebud", "cost" : 50 }
  112. ]]
  113. ],
  114. "aviandealer" : [
  115. [0, [
  116. { "item" : { "name" : "nlclone", "cost" : 250 }
  117. { "item" : { "name" : "nlbud", "cost" : 50 }
  118. ]]
  119. ],
  120. "florandealer" : [
  121. [0, [
  122. { "item" : { "name" : "durbanpoisonclone", "cost" : 250 }
  123. { "item" : { "name" : "durbanpoisonbud", "cost" : 50 }
  124. ]]
  125. ],
  126. "glitchdealer" : [
  127. [0, [
  128. { "item" : { "name" : "sourdieselclone", "cost" : 250 }
  129. { "item" : { "name" : "sourdieselbud", "cost" : 50 }
  130. ]]
  131. ],
  132. "humandealer" : [
  133. [0, [
  134. { "item" : { "name" : "herrerclone", "cost" : 250 }
  135. { "item" : { "name" : "herrerbud", "cost" : 50 }
  136. ]]
  137. ],
  138. "hylotldealer" : [
  139. [0, [
  140. { "item" : { "name" : "bluedreamclone", "cost" : 250 }
  141. { "item" : { "name" : "bluedreambud", "cost" : 50 }
  142. ]]
  143. ]
  144.  
  145. }
  146. },
  147.  
  148. "returnToStore" : {
  149. "waitTime" : 10,
  150. "waitTargetDistance" : 10,
  151.  
  152. "dialog" : {
  153. "follow" : {
  154. "default" : [
  155. "Come in; come in; and see what I've got!"
  156. ]
  157. },
  158. "welcome" : {
  159. "default" : [
  160. "Here we are; now what can I do ya for?"
  161. ]
  162. },
  163. "tout" : {
  164. "default" : [
  165. "Cheap buys!!!"
  166. ],
  167. "apex" : {
  168. "default" : [
  169. "Please don't sell me anything that will get me arrested."
  170. ]
  171. },
  172.  
  173. "avian" : {
  174. "default" : [
  175. "Just a warning, we don't accept Avos money."
  176. ]
  177. },
  178.  
  179. "floran" : {
  180. "default" : [
  181. "Floran wantsss pixelsss."
  182. ],
  183. "hylotl" : [
  184. "Fishman can't handle Floran spicesss"
  185. ]
  186. },
  187.  
  188. "glitch" : {
  189. "default" : [
  190. "Reminder. Destroying merchandise is discouraged."
  191. ],
  192. "floran" : [
  193. "Reminder. I will not buy \"spare Glitch parts\"."
  194. ]
  195. },
  196.  
  197. "hylotl" : {
  198. "default" : [
  199. "You can have any of this for just a few small payments of pixels!"
  200. ],
  201. "floran" : [
  202. "Ugh. Do you even deserve to be allowed to purchase this fine art?"
  203. ]
  204.  
  205.  
  206. }
  207. }
  208. }
  209. },
  210.  
  211. "returnToStore" : {
  212. "waitTime" : 10,
  213. "waitTargetDistance" : 10,
  214.  
  215. "flee" : {
  216. "reactionTimeRange" : [0.2, 1.0],
  217. "safeDistance" : 100,
  218. "safeDistanceWithGuards" : 40,
  219. "safeTimer" : 10,
  220. "stuckTime" : 4,
  221. "stuckCooldown" : 10,
  222. "dialogTimeRange" : [4, 10],
  223.  
  224. "dialog" : {
  225. "helpme" : {
  226. "default" : [
  227. "Guards! I've been accosted!"
  228. ],
  229. "glitch" : [
  230. "Shocked. No! Get away from me!"
  231. ]
  232. },
  233. "helpthem" : {
  234. "default" : [
  235. "What have you done!?"
  236. ],
  237. "glitch" : [
  238. "Shocked. What have you done?!"
  239. ]
  240. },
  241. "encourage" : {
  242. "default" : [
  243. "Don't let 'em get away!"
  244. ],
  245. "glitch" : [
  246. "Vengeful. Don't let 'em get away!"
  247. ]
  248. },
  249. "safe" : {
  250. "default" : [
  251. "Is this the safe zone?"
  252. ],
  253. "glitch" : [
  254. "Embarrassed. I think I leaked a little oil."
  255. ]
  256. }
  257. }
  258. },
  259.  
  260. "sit" : {
  261. "timeOfDayRanges" : [ [0.6, 1.0], [0.0, 0.2] ],
  262. "moveTimeLimit" : 30,
  263. "searchRadius" : 25,
  264. "sitRadius" : 3,
  265. "cooldown" : 60,
  266. "timeRange" : [ 15, 240 ]
  267. },
  268.  
  269. "sleep" : {
  270. "searchRadius" : 15,
  271. "lieDownRadius" : 3,
  272. "moveToBedTimeLimit" : 10.0,
  273. "timeOfDayRanges" : [ [ [ 0.7, 0.75 ], [ 0.95, 1.0 ] ] ],
  274. "cooldown" : 30
  275. },
  276.  
  277. "wander" : {
  278. "timeRange" : [2.0, 10.0],
  279. "chatDistance" : 4,
  280. "indoorTimeOfDayRanges" : [ [0.0, 0.2], [0.5, 1.0] ],
  281. "indoorSearchRadius" : 60,
  282. "indoorLookaheadDistance" : 4,
  283. "moveToTargetTime" : 10.0,
  284. "changeDirectionCooldown" : 2,
  285. "dropDownChance" : 5,
  286. "cooldown" : 10,
  287. "maxDistanceFromSpawnPoint" : 10
  288. },
  289.  
  290. "chat" : {
  291. "distanceRange" : [ 2.0, 4.0 ],
  292. "conversations" : [
  293. [
  294. [ 2, "blabber", "idle" ],
  295. [ 1, "idle", "laugh" ],
  296. [ 2, "idle", "blabber" ],
  297. [ 1, "sad", "idle" ]
  298. ],
  299. [
  300. [ 2, "idle", "blabber" ],
  301. [ 2, "blabber", "happy" ],
  302. [ 1, "wink", "laugh" ],
  303. [ 2, "happy", "happy" ]
  304. ],
  305. [
  306. [ 2, "idle", "blabber" ],
  307. [ 2, "blabber", "blabber" ],
  308. [ 2, "blabber", "angry" ],
  309. [ 3, "shout", "shout" ],
  310. [ 2, "angry", "angry" ]
  311. ]
  312. ],
  313. "cooldown" : 10
  314. }
  315. },
  316.  
  317. "items" : {
  318. "human" : [
  319. [0, [
  320. {
  321. "chest" : [ "sweatervestchest", "conceptchest", "coolchest", "workoutchest" ],
  322. "legs" : [ "conceptlegs", "coollegs", "workoutlegs" ]
  323. }
  324. ]]
  325. ],
  326. "avian" : [
  327. [0, [
  328. {
  329. "chest" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt" ],
  330. "legs" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt" ]
  331. }
  332. ]]
  333. ],
  334. "apex" : [
  335. [0, [
  336. {
  337. "chest" : [ "apexcommanderjacket", "apexnavyjacket", "apexofficerjacket", "apexspecialistjacket" ],
  338. "legs" : [ "apexcommanderpants", "apexnavypants", "apexofficerpants", "apexspecialistpants" ]
  339. }
  340. ]]
  341. ],
  342. "floran" : [
  343. [0, [
  344. {
  345. "chest" : [ "floranfurnivourchest", "floranhunterchest", "floranleafchest", "floranpeltchest" ],
  346. "legs" : [ "floranfurnivourlegs", "floranhunterlegs", "floranleaflegs", "floranpeltlegs" ]
  347. }
  348. ]]
  349. ],
  350. "glitch" : [
  351. [0, [
  352. {
  353. "chest" : [
  354. { "name" : "craftsmenchest", "data" : { "colorIndex" : 9 } }
  355. ],
  356. "legs" : [
  357. { "name" : "craftsmenlegs", "data" : { "colorIndex" : 9 } }
  358. ]
  359. }
  360. ]]
  361. ],
  362. "hylotl" : [
  363. [0, [
  364. {
  365. "chest" : [ "kimonochest", "monkchest", "traditionalchest", "traineechest" ],
  366. "legs" : [ "kimonolegs", "monklegs", "traditionallegs", "traineelegs" ]
  367. }
  368. ]]
  369. ]
  370. },
  371.  
  372. "movementControllerSettings" : {
  373. "standingPoly" : [ [-0.75, -2.0], [-0.35, -2.5], [0.35, -2.5], [0.75, -2.0], [0.75, 0.65], [0.35, 1.22], [-0.35, 1.22], [-0.75, 0.65] ],
  374. "crouchingPoly" : [ [-0.75, -2.0], [-0.35, -2.5], [0.35, -2.5], [0.75, -2.0], [0.75, -0.5], [0.35, 0], [-0.35, 0], [-0.75, -0.5] ],
  375.  
  376. "mass" : 0.6,
  377. "jumpSpeed" : 24.0
  378. },
  379.  
  380. "humanoidTiming" : {
  381. // Idle, Walk, Run, Jump, Fall, Swim, SwimIdle, Duck, Sit, Lay
  382. "stateCycle" : [1.0, 0.75, 0.75, 0.25, 0.25, 0.50, 0.50, 1.0, 1.0, 1.0],
  383. "stateFrames" : [1, 8, 8, 4, 4, 7, 2, 1, 1, 1],
  384.  
  385. // EmoteIdle, Blabbering, Shouting, Happy, Sad, NEUTRAL, Laugh, Annoyed, Oh, OOOH, Blink, Wink, Eat, Sleep
  386. // , normal , caps , :) , :'(, :| , :D , , :o, :O , , ;)
  387. "emoteCycle" : [1.0, 0.3, 0.3, 0.3, 1.0, 0.3, 0.5, 1.0, 1.0, 1.0, 1.0, 0.5, 0.3, 1],
  388. "emoteFrames" : [1, 2, 2, 2, 5, 2, 2, 2, 2, 3, 3, 5, 2, 2]
  389. },
  390.  
  391. "dropPools" : [ "basicMonsterTreasure" ],
  392.  
  393. "statusParameters" : {
  394. "baseMaxHealth" : 40,
  395. "baseMaxEnergy" : 20,
  396. "bodyMaterialKind" : "organic",
  397. "damageConfig" : "/damage/damageresponse/npcs.config",
  398. "invulnerabilityTime" : 0
  399. },
  400.  
  401. "persistent" : true,
  402.  
  403. "splashConfig" : {
  404. "splashSpeedMin" : 10.0,
  405. "splashMinWaterLevel" : 0.4,
  406. "splashBottomSensor" : [0, -2.0],
  407. "splashTopSensor" : [0, 2.0],
  408. "numSplashParticles" : 8,
  409. "splashYVelocityFactor" : 0.2,
  410.  
  411. "splashParticle" : {
  412. "type" : "ember",
  413. "position" : [0, -1],
  414. "finalVelocity" : [0, -20],
  415. "approach" : [0, 50],
  416. "color" : [60, 150, 224, 100],
  417. "size" : 4.0,
  418. "timeToLive" : 0.5,
  419. "destructionAction" : "shrink",
  420. "destructionTime" : 0.2
  421. },
  422.  
  423. "splashParticleVariance" : {
  424. "velocity" : [10, 0]
  425. }
  426. }
  427. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement