Advertisement
Dartellum

Weirdness with bone carving

Sep 30th, 2016
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.20 KB | None | 0 0
  1. This works except I cannot figure out why it still buys the bone and never goes to count_combine_bone or why when it exits the creation it does not go into the last if to do the correct tasks with the stone|bone.
  2.  
  3. **************************************************************************************************************************
  4. Log:
  5. **************************************************************************************************************************
  6. >;workorders carving
  7. >
  8. Tjololo gets an iron mortar from inside his hitman's backpack.
  9. >
  10. --- Lich: go2 active.
  11. [go2: ETA: 0:00:00 (3 rooms to move through)]
  12. [go2]>east
  13. >
  14. You strut east.
  15. [Engineering Society, Crafting Supplies - 8865]
  16. Expertly fitted grey marble slabs frame the lower half of the shop's alabaster walls. Shadows dance at the light produced by carefully arranged copper torch holders about the room. This area sells a variety of supplies to eager crafters and offers some shelter from the loud noises of productivity emanating from the east. You also see Engineering Society Mistress Talia Volmogen, an elegantly carved mistwood door leading outside and a large sign.
  17. Also here: Denoces.
  18. [go2]>east
  19. Obvious exits: north, east, west.
  20. >
  21. You strut east.
  22. [Engineering Society, Depot - 8864]
  23. Grey marble walls give way to alabaster columns framing an open supply depot. The northern hallway bears a sign indicating it leads to workshops, and a well-used road meanders out to the east. Crisscrossing wagon ruts in the dirt remain from trips to supply the guild with stone and wood supplies. You also see a large sign and a steel crate.
  24. Obvious paths: north, west.
  25. >
  26. [go2]>north
  27. You strut north.
  28. [Engineering Society, Hallway - 8867]
  29. A long hallway cut from smoky alabaster echoes with all sorts of clinks and clanks. Doors leading to solitary workshops line the walls, manned by attendants waiting to deliver on deed orders. You also see a prestige board, a maple door, an oak door and a birch door.
  30. Obvious exits: south.
  31. >
  32. [go2: travel time: 0:00:00]
  33. --- Lich: go2 has exited.
  34. --- Lich: go2 active.
  35. [go2: ETA: 0:00:00 (1 rooms to move through)]
  36. [go2]>south
  37. You strut south.
  38. [Engineering Society, Depot - 8864]
  39. Grey marble walls give way to alabaster columns framing an open supply depot. The northern hallway bears a sign indicating it leads to workshops, and a well-used road meanders out to the east. Crisscrossing wagon ruts in the dirt remain from trips to supply the guild with stone and wood supplies. You also see a large sign and a steel crate.
  40. Obvious paths: north, west.
  41. >
  42. [go2: travel time: 0:00:00]
  43. --- Lich: go2 has exited.
  44. --- Lich: go2 active.
  45. [go2: ETA: 0:00:00 (1 rooms to move through)]
  46. [go2]>west
  47. You strut west.
  48. [Engineering Society, Crafting Supplies - 8865]
  49. Expertly fitted grey marble slabs frame the lower half of the shop's alabaster walls. Shadows dance at the light produced by carefully arranged copper torch holders about the room. This area sells a variety of supplies to eager crafters and offers some shelter from the loud noises of productivity emanating from the east. You also see Engineering Society Mistress Talia Volmogen, an elegantly carved mistwood door leading outside and a large sign.
  50. Also here: Denoces.
  51. Obvious exits: north, east, west.
  52. >
  53. [go2: travel time: 0:00:00]
  54. --- Lich: go2 has exited.
  55. [workorders]>get my engineering logbook
  56. You get an engineering work order logbook from inside your embroidered backpack.
  57. >
  58. [workorders]>ask Talia for challenging carving work
  59. Talia shuffles through some notes and says, "Alright, this is an order for a small stone block. I need 5 of superior quality, made from any material and due in 30 roisaen. Please complete the items, bundle them with your logbook and then give me the logbook to complete this order. Good luck!"
  60.  
  61. You seem to recall this item being somewhere in chapter 1 of the instruction book.
  62. >
  63. [workorders]>ask Talia for challenging carving work
  64. Talia shuffles through some notes and says, "Alright, this is an order for a segmented bone mask. I need 2 of superior quality, made from any material and due in 65 roisaen. Please complete the items, bundle them with your logbook and then give me the logbook to complete this order. Good luck!"
  65.  
  66. You seem to recall this item being somewhere in chapter 10 of the instruction book.
  67. >
  68. [workorders]>ask Talia for challenging carving work
  69. Talia shuffles through some notes and says, "Alright, this is an order for a stone band. I need 2 of superior quality, made from any material and due in 45 roisaen. Please complete the items, bundle them with your logbook and then give me the logbook to complete this order. Good luck!"
  70.  
  71. You seem to recall this item being somewhere in chapter 4 of the instruction book.
  72. >
  73. [workorders]>ask Talia for challenging carving work
  74. Talia shuffles through some notes and says, "Alright, this is an order for a bone nose ring. I need 5 of superior quality, made from any material and due in 105 roisaen. Please complete the items, bundle them with your logbook and then give me the logbook to complete this order. Good luck!"
  75.  
  76. You seem to recall this item being somewhere in chapter 9 of the instruction book.
  77. >
  78. [workorders]>ask Talia for challenging carving work
  79. Talia shuffles through some notes and says, "Alright, this is an order for a bone toe ring. I need 2 of superior quality, made from any material and due in 45 roisaen. Please complete the items, bundle them with your logbook and then give me the logbook to complete this order. Good luck!"
  80.  
  81. You seem to recall this item being somewhere in chapter 9 of the instruction book.
  82. >
  83. [workorders]>put my logbook in my backpack
  84. You put your logbook in your embroidered backpack.
  85. >
  86. [workorders: Use_bone set in else to: true]
  87. [workorders: Match names in else = ["a bone toe ring", "a bone nose ring"]]
  88. [workorders]>wealth kronars
  89. 15 gold, 8 silver, 35 bronze, and 26 copper Kronars (16176 copper Kronars).
  90. >
  91. [workorders: In else statement for use bone true]
  92. --- Lich: go2 active.
  93. [go2: ETA: 0:00:00 (1 rooms to move through)]
  94. [go2]>east
  95. You strut east.
  96. [Engineering Society, Depot - 8864]
  97. Grey marble walls give way to alabaster columns framing an open supply depot. The northern hallway bears a sign indicating it leads to workshops, and a well-used road meanders out to the east. Crisscrossing wagon ruts in the dirt remain from trips to supply the guild with stone and wood supplies. You also see a large sign and a steel crate.
  98. Obvious paths: north, west.
  99. >
  100. [go2: travel time: 0:00:00]
  101. --- Lich: go2 has exited.
  102. [workorders]>order 7
  103. The attendant says, "You can purchase a stack of 10 deer bones for 125 Kronars. Just order it again and we'll see it done!"
  104. >
  105. [workorders]>order 7
  106. The attendant takes some coins from you and hands you a stack of 10 deer bones.
  107. >
  108. [workorders]>stow left
  109. You put your stack in your embroidered backpack.
  110. >
  111. [workorders]>get deer stack
  112. You get a deer-bone stack from inside your embroidered backpack.
  113. >
  114. [workorders]>inv search jar of surface polish
  115. >
  116. You rummage about your person, looking for something...
  117.  
  118. Your surface polish is in an embroidered backpack depicting a large town by the side of a river.
  119.  
  120. Roundtime: 16 secs
  121.  
  122. [Type INVENTORY HELP for more options]
  123. >
  124. [workorders]>get my surface polish
  125. ...wait 16 seconds.
  126. >
  127. [workorders]>get my surface polish
  128. You get a jar of surface polish from inside your embroidered backpack.
  129. >
  130. [workorders]>count my polish
  131. The surface polish has 42 uses remaining.
  132. >
  133. [workorders]>stow right
  134. You put your stack in your embroidered backpack.
  135. >
  136. [workorders]>stow left
  137. You put your polish in your embroidered backpack.
  138. >
  139. --- Lich: go2 active.
  140. [go2: ETA: 0:00:00 (2 rooms to move through)]
  141. [go2]>north
  142. You strut north.
  143. [Engineering Society, Hallway - 8867]
  144. A long hallway cut from smoky alabaster echoes with all sorts of clinks and clanks. Doors leading to solitary workshops line the walls, manned by attendants waiting to deliver on deed orders. You also see a prestige board, a maple door, an oak door and a birch door.
  145. Obvious exits: south.
  146. >
  147. [go2]>go maple door
  148. [Engineering Society, Workshop - 9056]
  149. This workshop contains several orderly crafting areas established with eye-level oak partitions. The alabaster walls appear recently washed, and the floor is even lacking in dust buildup. A pair of attendants waits quietly at the door, moving occasionally to clean a work area or empty the waste bucket. You also see a large waste bucket, a maple door, Attendant Nellen, an assortment of communal crafting tools and a table saw.
  150. Obvious exits: none.
  151. >
  152. [go2: travel time: 0:00:00]
  153. --- Lich: go2 has exited.
  154. --- Lich: carve active.
  155. [carve: Material is deer]
  156. [carve]>get my carving book
  157. You get a book of apprentice carving instructions from inside your embroidered backpack.
  158. >
  159. [carve]>turn my book to chapter 9
  160. >
  161. You turn your book to chapter 9, entitled "Bone Carved Accessories and Containers".
  162. >
  163. [carve]>turn my book to chapter 9
  164. The book is already turned to chapter 9, entitled "Bone Carved Accessories and Containers".
  165. >
  166. [carve]>read my book
  167. -= Chapter 9 : Bone Carved Accessories and Containers =-
  168.  
  169. Page 1: a bone toe ring Page 9: a bone hairpin
  170. Page 2: a bone nose ring Page 10: a bone cloak pin
  171. Page 3: a bone band Page 11: a pair of bone earrings
  172. Page 4: a bone pin Page 12: a bone medallion
  173. Page 5: a bone anklet Page 13: a bone amulet
  174. Page 6: a bone bracelet Page 14: a bone pendant
  175. Page 7: a shallow bone cup
  176. Page 8: a bone tailband
  177. >
  178. [carve]>turn my book to page 1
  179. You turn your book to page 1, instructions for crafting a bone toe ring.
  180. >
  181. [carve]>study my book
  182. You scan the toe ring instructions with a glance and completely understand all facets of the design.
  183. You now feel ready to begin the crafting process.
  184. Roundtime: 6 sec.
  185. >
  186. [carve]>put my book in my backpack
  187. You put your book in your embroidered backpack.
  188. >
  189. [carve]>get my saw
  190. >
  191. You get an iron bone saw from inside your embroidered backpack.
  192. >
  193. [carve: Material is deer]
  194. [carve]>get my deer stack
  195. You get a deer-bone stack from inside your embroidered backpack.
  196. >
  197. [carve: Type is stack and tool is saw]
  198. [carve]>cut my stack with my saw
  199. You carefully cut off the excess material and set it at your feet.
  200. You saw an iron bone saw across several of the bones in your ring. The sawing proceeds exceptionally well and free of mistakes.
  201. Roundtime: 11 sec.
  202. >
  203. [carve]>cut my ring with my saw
  204. Back and forth you saw an iron bone saw across the ring's bones. Cleaning dust from the ring reveals absolutely no flaws with the recent sawing.
  205. Roundtime: 15 sec.
  206. >
  207. [carve]>cut my ring with my saw
  208. You saw an iron bone saw across several of the bones in your ring. The sawing proceeds exceptionally well and free of mistakes.
  209. Roundtime: 17 sec.
  210. >
  211. Yndass came through a maple door.
  212. >
  213. Yndass went through a maple door.
  214. >
  215. [carve]>cut my ring with my saw
  216. Back and forth you saw an iron bone saw across the ring's bones. Cleaning dust from the ring reveals absolutely no flaws with the recent sawing.
  217.  
  218. Once finished you realize the ring has developed an uneven texture along its surface.
  219. Roundtime: 18 sec.
  220. >
  221. [carve]>put my bone saw in my backpack
  222. You put your saw in your embroidered backpack.
  223. >
  224. [carve]>get my rasp
  225. You get a rasp with an azurelle grip from inside your embroidered backpack.
  226. >
  227. [carve]>rub my ring with my rasp
  228. You file down an unfinished deer-bone toe ring with your rasp using short, powerful strokes. The surface of the bones now shows a completely uniform texture.
  229. Roundtime: 11 sec.
  230. >
  231. [carve]>put my rasp in my backpack
  232. You put your rasp in your embroidered backpack.
  233. >
  234. [carve]>get my saw
  235. You get an iron bone saw from inside your embroidered backpack.
  236. >
  237. [carve]>cut my ring with my saw
  238. You saw an iron bone saw across several of the bones in your ring. The sawing proceeds exceptionally well and free of mistakes.
  239.  
  240. When you have finished working you determine the ring is uneven.
  241. Roundtime: 19 sec.
  242. >
  243. [carve]>put my bone saw in my backpack
  244. You put your saw in your embroidered backpack.
  245. >
  246. [carve]>get my rasp
  247. You get a rasp with an azurelle grip from inside your embroidered backpack.
  248. >
  249. [carve]>rub my ring with my rasp
  250. You file down an unfinished deer-bone toe ring with your rasp using short, powerful strokes. You skillfully level the
  251. surface and rebalance the bone.
  252. Roundtime: 8 sec.
  253. >
  254. [carve]>put my rasp in my backpack
  255. You put your rasp in your embroidered backpack.
  256. >
  257. [carve]>get my saw
  258. You get an iron bone saw from inside your embroidered backpack.
  259. >
  260. [carve]>cut my ring with my saw
  261. You saw an iron bone saw across several of the bones in your ring. The sawing proceeds exceptionally well and free of mistakes.
  262.  
  263. Upon completion you notice several rough, jagged shards protruding from the ring.
  264. Roundtime: 14 sec.
  265. >
  266. [carve]>cut my ring with my saw
  267. Back and forth you saw an iron bone saw across the ring's bones, but are unable to resolve the aberrations in the bones with that tool. Your experience in carving bone is beginning to show in the design.
  268. Roundtime: 12 sec.
  269. >
  270. [carve]>cut my ring with my saw
  271. You saw an iron bone saw across several of the bones in your ring. The work proceeds as planned without any mistakes whatsoever.
  272. Roundtime: 14 sec.
  273. Applying the final touches, you complete working on a deer-bone toe ring.
  274. >
  275. [carve]>cut my ring with my saw
  276. You cannot figure out how to do that. Perhaps finding suitable ingredients and studying some instructions would help.
  277. >
  278. [carve]>put my bone saw in my backpack
  279. You put your saw in your embroidered backpack.
  280. >
  281. [carve]>tap my pebble
  282. I could not find what you were referring to.
  283. >
  284. --- Lich: carve has exited.
  285. >
  286. [workorders]>get my engineering logbook
  287. You get an engineering work order logbook from inside your embroidered backpack.
  288. >
  289. [workorders]>bundle my ring with my logbook
  290. You notate the ring in the logbook then bundle it up for delivery.
  291. >
  292. [workorders]>stow right
  293. You put your logbook in your embroidered backpack.
  294. >
  295. [workorders: In else statement for use bone true]
  296. --- Lich: carve active.
  297. [carve: Material is deer]
  298. [carve]>get my carving book
  299. You get a book of apprentice carving instructions from inside your embroidered backpack.
  300. >
  301. [carve]>turn my book to chapter 9
  302. You turn your book to chapter 9, entitled "Bone Carved Accessories and Containers".
  303. >
  304. [carve]>turn my book to chapter 9
  305. The book is already turned to chapter 9, entitled "Bone Carved Accessories and Containers".
  306. >
  307. [carve]>read my book
  308. -= Chapter 9 : Bone Carved Accessories and Containers =-
  309.  
  310. Page 1: a bone toe ring Page 9: a bone hairpin
  311. Page 2: a bone nose ring Page 10: a bone cloak pin
  312. Page 3: a bone band Page 11: a pair of bone earrings
  313. Page 4: a bone pin Page 12: a bone medallion
  314. Page 5: a bone anklet Page 13: a bone amulet
  315. Page 6: a bone bracelet Page 14: a bone pendant
  316. Page 7: a shallow bone cup
  317. Page 8: a bone tailband
  318. >
  319. [carve]>turn my book to page 1
  320. You turn your book to page 1, instructions for crafting a bone toe ring.
  321. >
  322. [carve]>study my book
  323. You scan the toe ring instructions with a glance and completely understand all facets of the design.
  324. You now feel ready to begin the crafting process.
  325. Roundtime: 7 sec.
  326. >
  327. [carve]>put my book in my backpack
  328. You put your book in your embroidered backpack.
  329. >
  330. [carve]>get my saw
  331. You get an iron bone saw from inside your embroidered backpack.
  332. >
  333. [carve: Material is deer]
  334. [carve]>get my deer stack
  335. You pick up the stack lying at your feet.
  336. >
  337. [carve: Type is stack and tool is saw]
  338. [carve]>cut my stack with my saw
  339. You carefully cut off the excess material and set it at your feet.
  340. Back and forth you saw an iron bone saw across the ring's bones. Cleaning dust from the ring reveals absolutely no flaws with the recent sawing.
  341. Roundtime: 15 sec.
  342. >
  343. WARNING: You have a somewhat high number of items on your person.
  344. It is recommended that you reduce your inventory count below 400 items.
  345.  
  346. You can use the INVENTORY CHECK command to see roughly how many you
  347. have.
  348. >
  349. [carve]>cut my ring with my saw
  350. You saw an iron bone saw across several of the bones in your ring. Cleaning dust from the ring reveals absolutely no flaws with the recent sawing.
  351.  
  352. Upon completion you notice several rough, jagged shards protruding from the ring.
  353. Roundtime: 19 sec.
  354. >
  355. [carve]>cut my ring with my saw
  356. You saw an iron bone saw across several of the bones in your ring, however that tool isn't capable of repairing the bones' flaws. A few areas could be improved, but overall the work meets your expectations.
  357. Roundtime: 16 sec.
  358. >
  359. [carve]>cut my ring with my saw
  360. You saw an iron bone saw across several of the bones in your ring. Cleaning dust from the ring reveals absolutely no flaws with the recent sawing.
  361. Roundtime: 12 sec.
  362. >
  363. [carve]>cut my ring with my saw
  364. Back and forth you saw an iron bone saw across the ring's bones. Cleaning dust from the ring reveals absolutely no flaws with the recent sawing.
  365. Roundtime: 16 sec.
  366. >
  367. [carve]>cut my ring with my saw
  368. You saw an iron bone saw across several of the bones in your ring. The work proceeds as planned without any mistakes whatsoever.
  369.  
  370. Upon finishing you see some discolored areas on the ring's surface.
  371. Roundtime: 13 sec.
  372. >
  373. [carve]>put my bone saw in my backpack
  374. You put your saw in your embroidered backpack.
  375. >
  376. [carve]>get my polish
  377. You get a jar of surface polish from inside your embroidered backpack.
  378. >
  379. [carve]>apply my polish to my ring
  380. You work the polish into an unfinished deer-bone toe ring. The bone quickly buffs back to its natural state.
  381. Roundtime: 14 sec.
  382. >
  383. [carve]>put my surface polish in my backpack
  384. You put your polish in your embroidered backpack.
  385. >
  386. [carve]>get my saw
  387. You get an iron bone saw from inside your embroidered backpack.
  388. >
  389. [carve]>cut my ring with my saw
  390. Back and forth you saw an iron bone saw across the ring's bones. The work proceeds as planned without any mistakes whatsoever.
  391.  
  392. Once finished you realize the ring has developed an uneven texture along its surface.
  393. Roundtime: 13 sec.
  394. >
  395. [carve]>put my bone saw in my backpack
  396. You put your saw in your embroidered backpack.
  397. >
  398. [carve]>get my rasp
  399. You get a rasp with an azurelle grip from inside your embroidered backpack.
  400. >
  401. [carve]>rub my ring with my rasp
  402. You file down an unfinished deer-bone toe ring with your rasp using short, powerful strokes. The surface of the bones now shows a completely uniform texture.
  403. Roundtime: 18 sec.
  404. >
  405. [carve]>put my rasp in my backpack
  406. You put your rasp in your embroidered backpack.
  407. >
  408. [carve]>get my saw
  409. You get an iron bone saw from inside your embroidered backpack.
  410. >
  411. [carve]>cut my ring with my saw
  412. Back and forth you saw an iron bone saw across the ring's bones. The work proceeds as planned without any mistakes whatsoever.
  413. Roundtime: 13 sec.
  414. Applying the final touches, you complete working on a deer-bone toe ring.
  415. >
  416. [carve]>cut my ring with my saw
  417. You cannot figure out how to do that. Perhaps finding suitable ingredients and studying some instructions would help.
  418. >
  419. [carve]>put my bone saw in my backpack
  420. You put your saw in your embroidered backpack.
  421. >
  422. [carve]>tap my pebble
  423. I could not find what you were referring to.
  424. >
  425. --- Lich: carve has exited.
  426. [workorders]>get my engineering logbook
  427. You get an engineering work order logbook from inside your embroidered backpack.
  428. >
  429. [workorders]>bundle my ring with my logbook
  430. You notate the ring in the logbook then bundle it up for delivery.
  431. >
  432. [workorders]>stow right
  433. You put your logbook in your embroidered backpack.
  434. >
  435. [workorders]>get my deer stone
  436. What were you referring to?
  437. >
  438. [workorders: *** No match was found after 15 seconds, dumping info]
  439. [workorders: messages seen length: 2]
  440. [workorders: message: What were you referring to?]
  441. [workorders: message: * Altar Boy Messer joins the adventure.]
  442. [workorders: checked against [/You get/i]]
  443. [workorders]>put my deer stone in bucket
  444. What were you referring to?
  445. >
  446. [workorders]>drop my deer stone
  447. What were you referring to?
  448. >
  449. [workorders]>open door
  450. You can't do that.
  451. >
  452. [workorders]>go door
  453. [Engineering Society, Hallway - 8867]
  454. A long hallway cut from smoky alabaster echoes with all sorts of clinks and clanks. Doors leading to solitary workshops line the walls, manned by attendants waiting to deliver on deed orders. You also see a prestige board, a maple door, an oak door and a birch door.
  455. Obvious exits: south.
  456. >
  457. [workorders]>get my engineering logbook
  458. You get an engineering work order logbook from inside your embroidered backpack.
  459. >
  460. --- Lich: go2 active.
  461. [go2: ETA: 0:00:00 (1 rooms to move through)]
  462. [go2]>south
  463. You notice a deer-bone stack at your feet, and do not wish to leave it behind.
  464. >
  465. [go2: move: no recognized response in 30 seconds. giving up.]
  466. [go2: restarting script...]
  467. [go2: ETA: 0:00:00 (1 rooms to move through)]
  468. [go2]>south
  469. You notice a deer-bone stack at your feet, and do not wish to leave it behind.
  470. >stow stack
  471. You pick up the stack lying at your feet.
  472. You put your stack in your embroidered backpack.
  473. >s
  474. You strut south.
  475. [Engineering Society, Depot - 8864]
  476. Grey marble walls give way to alabaster columns framing an open supply depot. The northern hallway bears a sign indicating it leads to workshops, and a well-used road meanders out to the east. Crisscrossing wagon ruts in the dirt remain from trips to supply the guild with stone and wood supplies. You also see a large sign and a steel crate.
  477. Obvious paths: north, west.
  478. >
  479. [go2: travel time: 0:00:52]
  480. --- Lich: go2 has exited.
  481. --- Lich: go2 active.
  482. [go2: ETA: 0:00:00 (1 rooms to move through)]
  483. [go2]>west
  484. You strut west.
  485. [Engineering Society, Crafting Supplies - 8865]
  486. Expertly fitted grey marble slabs frame the lower half of the shop's alabaster walls. Shadows dance at the light produced by carefully arranged copper torch holders about the room. This area sells a variety of supplies to eager crafters and offers some shelter from the loud noises of productivity emanating from the east. You also see Engineering Society Mistress Talia Volmogen, an elegantly carved mistwood door leading outside and a large sign.
  487. Also here: Denoces.
  488. Obvious exits: north, east, west.
  489. >
  490. [go2: travel time: 0:00:00]
  491. --- Lich: go2 has exited.
  492. [workorders]>give log to Talia
  493. You hand Talia your logbook and bundled items, and are given 2136 Kronars in return.
  494. >
  495. [workorders]>put my logbook in my backpack
  496. You put your logbook in your embroidered backpack.
  497. >
  498. --- Lich: go2 active.
  499. [go2: ETA: 0:00:00 (1 rooms to move through)]
  500. [go2]>west
  501. You strut west.
  502. [Rangu's Repair Shop and Bookstore - 19209]
  503. A small forge in the corner of this room basks everything in its warmth. Adjacent to it, a long counter sits cluttered with numerous tools and devices for repairing things. Bundles of repaired goods rest against the far wall waiting for pickup. You also see a large sign, a sturdy low counter with a small placard on it, Repairman Rangu and a large placard hanging from the wall.
  504. Obvious exits: east.
  505. >
  506. [go2: travel time: 0:00:00]
  507. --- Lich: go2 has exited.
  508. [workorders]>get my rasp
  509. >
  510. You get a rasp with an azurelle grip from inside your embroidered backpack.
  511. >
  512. [workorders]>analyze my rasp
  513. You analyze every minute detail of the rasp and smile knowingly to yourself.
  514. This appears to be a crafting tool and it is practically in mint condition (90-97%).
  515. This tool is used to scrape away material defects in stone and soft metals.
  516. The workmanship is masterfully-crafted (12/12).
  517. Assessing the rasp's durability, you determine it is somewhat unsound against damage (6/18).
  518. This tool appears to be exceptionally effective (9/11) at increasing crafting speed.
  519. Roundtime: 10 sec.
  520. >
  521. Looking at the messy floor dourly, Rangu shakes his head and begins sweeping up.
  522. >
  523. [workorders]>put my rasp in my backpack
  524. You put your rasp in your embroidered backpack.
  525. >
  526. [workorders]>get my rifflers
  527. You get some square iron rifflers from inside your embroidered backpack.
  528. >
  529. [workorders]>analyze my rifflers
  530. You analyze every minute detail of the square rifflers and smile knowingly to yourself.
  531. This appears to be a crafting tool and they are practically in mint condition (90-97%).
  532. This set of file tools is used to rub out sharp stone edges.
  533. The workmanship is well-crafted (7/12).
  534. Assessing the rifflers's durability, you determine they are quite fragile and easily damaged (3/18).
  535. About 8 volume of metal was used in this item's construction.
  536. This tool appears to be extremely ineffective (3/11) at increasing crafting speed.
  537. Roundtime: 10 sec.
  538. >
  539. [workorders]>put my rifflers in my backpack
  540. You put your rifflers in your embroidered backpack.
  541. >
  542. [workorders]>get my rasp
  543. You get a rasp with an azurelle grip from inside your embroidered backpack.
  544. >
  545. [workorders]>analyze my rasp
  546. You analyze every minute detail of the rasp and smile knowingly to yourself.
  547. This appears to be a crafting tool and it is practically in mint condition (90-97%).
  548. This tool is used to scrape away material defects in stone and soft metals.
  549. The workmanship is masterfully-crafted (12/12).
  550. Assessing the rasp's durability, you determine it is somewhat unsound against damage (6/18).
  551. This tool appears to be exceptionally effective (9/11) at increasing crafting speed.
  552. Roundtime: 10 sec.
  553. >
  554. Yndass just arrived.
  555. >
  556. Yndass gets a carving knife from inside his leather pack.
  557. >
  558. Yndass roughly analyzes the carving knife.
  559. >
  560. Yndass puts his knife in his leather pack.
  561. >
  562. Yndass gets a wood shaper from inside his leather pack.
  563. >
  564. Yndass roughly analyzes the wood shaper.
  565. >
  566. [workorders]>put my rasp in my backpack
  567. You put your rasp in your embroidered backpack.
  568. >
  569. [workorders]>get my bone saw
  570. You get an iron bone saw from inside your embroidered backpack.
  571. >
  572. [workorders]>analyze my bone saw
  573. You analyze every minute detail of the bone saw and smile knowingly to yourself.
  574. This appears to be a crafting tool and it is practically in mint condition (90-97%).
  575. Used to cut bone stacks into smaller pieces and carve bones into crafted goods.
  576. The workmanship is well-crafted (7/12).
  577. Assessing the saw's durability, you determine it is very delicate and easily damaged (2/18).
  578. About 8 volume of metal was used in this item's construction.
  579. This tool appears to be extremely ineffective (3/11) at increasing crafting speed.
  580. Roundtime: 10 sec.
  581. >
  582. Yndass puts his shaper in his leather pack.
  583. >
  584. Yndass gets a metal drawknife from inside his leather pack.
  585. >
  586. Yndass roughly analyzes the iron drawknife.
  587. >
  588. Yndass puts his drawknife in his leather pack.
  589. >
  590. Yndass gets a thin iron rasp from inside his leather pack.
  591. >
  592. Yndass roughly analyzes the iron rasp.
  593. >
  594. [workorders]>put my bone saw in my backpack
  595. You put your saw in your embroidered backpack.
  596. >
  597. [workorders]>get my chisels
  598. You get some sharpened chisels with azurelle handles from inside your embroidered backpack.
  599. >
  600. [workorders]>analyze my chisels
  601. You analyze every minute detail of the sharpened chisels and smile knowingly to yourself.
  602. This appears to be a crafting tool and they are in pristine condition (98-100%).
  603. This set of tools is used to carve raw materials into finished goods.
  604. The workmanship is masterfully-crafted (12/12).
  605. Assessing the chisels's durability, you determine they are somewhat unsound against damage (6/18).
  606. This tool appears to be exceptionally effective (9/11) at increasing crafting speed.
  607. Roundtime: 10 sec.
  608. >
  609. Yndass puts his rasp in his leather pack.
  610. >
  611. Yndass goes east.
  612. >
  613. [workorders]>put my chisels in my backpack
  614. You put your chisels in your embroidered backpack.
  615. >
  616. ********************************************************************************************************************
  617.  
  618. The code is:
  619. def count_combine_bone(stock_room, bone, bone_stock, quantity)
  620. echo("In count-combine-bone")
  621. if inside?("first #{bone} stack", @bag) && inside?("second #{bone} stack", @bag)
  622. bput("get #{bone} stack from my #{@bag}", 'You get')
  623. bput("get #{bone} stack from my #{@bag}", 'You get')
  624. case bput('combine', 'You combine', 'The resulting bone stack')
  625. when 'The resulting bone stack'
  626. stow_hands
  627. when 'You combine'
  628. case bput("get #{bone} stack from my #{@bag}", 'You get', 'What were')
  629. when 'You get'
  630. case bput('combine', 'You combine', 'The resulting bone stack')
  631. when 'The resulting bone stack', 'You combine'
  632. stow_hands
  633. end
  634. end
  635. end
  636.  
  637. if inside?("first #{bone} stack", @bag)
  638. bone_have = bput("count #{bone} stack", 'You count out \d+ pieces').scan(/\d+/).first.to_i
  639. echo ("bone_have is #{bone_have}")
  640. pause 3
  641. bone_need = (quantity * recipe['volume'])
  642. echo("bone need is #{bone_need}")
  643. if bone_need < bone_have
  644. item = 1
  645. order_rem(stock_room, item, bone_stock)
  646. end
  647. bput("get #{bone} stack from my #{@bag}", 'You get')
  648. bput("get #{bone} stack from my #{@bag}", 'You get', 'What were')
  649. bput('combine', 'You combine', 'The resulting bone stack', 'You must be')
  650. stow_hands
  651.  
  652. else
  653. order_item(info['stock-room'], info['stock-number'])
  654. stow_hands
  655. end
  656. end
  657.  
  658.  
  659. def carve_items(info, item, quantity)
  660. ensure_copper_on_hand(5000, @hometown)
  661. recipe, items_per_stock, spare_stock, scrap = find_recipe(info, item, quantity)
  662. echo("Recipe found and money available")
  663.  
  664. quantity.times do |count|
  665. if !@use_bone
  666. if (count % items_per_stock).zero?
  667. dispose("#{info['stock-name']} stone") if count > 0 && spare_stock
  668. if count > 0
  669. go_door
  670. pause 0.5 until Room.current.id
  671. end
  672.  
  673. order_item(info['stock-room'], info['stock-number'])
  674. fput('tap my deed')
  675. stow_hands
  676.  
  677. fput("get #{info['stock-name']} rock")
  678. if search?(info['polish-full'])
  679. fput('get my surface polish')
  680. /(\d+)/ =~ bput('count my polish', 'The surface polish has \d+ uses remaining')
  681. if Regexp.last_match(1).to_i < 3
  682. dispose('polish')
  683. order_item(info['polish-room'], info['polish-number'])
  684. stow_hands
  685. end
  686. else
  687. order_item(info['polish-room'], info['polish-number'])
  688. stow_hands
  689. end
  690. stow_hands
  691. find_shaping_room(@hometown, @engineering_room)
  692. wait_for_script_to_complete('carve', [recipe['chapter'], item, info['stock-name'], recipe['noun']])
  693.  
  694. bundle_item(recipe['noun'], info['logbook'])
  695. end
  696. else
  697. echo("In else statement for use bone true")
  698. echo("Pausing for 3 seconds")
  699. pause 3
  700. count_combine_bone(info['stock-room'], info['stock-bone-name'], info['stock-bone-number'], quantity)
  701. ("Return from count_combine_bone function")
  702. pause 3
  703. stow_hands
  704.  
  705. fput("get #{info['stock-bone-name']} stack")
  706. if search?(info['polish-full'])
  707. fput('get my surface polish')
  708. /(\d+)/ =~ bput('count my polish', 'The surface polish has \d+ uses remaining')
  709. if Regexp.last_match(1).to_i < 3
  710. dispose('polish')
  711. order_item(info['polish-room'], info['polish-number'])
  712. stow_hands
  713. end
  714. else
  715. order_item(info['polish-room'], info['polish-number'])
  716. stow_hands
  717. end
  718. stow_hands
  719. find_shaping_room(@hometown, @engineering_room)
  720. end
  721. wait_for_script_to_complete('carve', [recipe['chapter'], item, info['stock-bone-name'], recipe['noun']])
  722.  
  723. bundle_item(recipe['noun'], info['logbook'])
  724. echo("Exiting create loop")
  725. pause 3
  726. end
  727. end
  728. if !@use_bone
  729. echo("use bone should equal false: #{@use_bone}")
  730. dispose("#{info['stock-name']} stone") if scrap
  731. else
  732. echo("In dispose else for bone stack")
  733. get("#{info['stock-bone-name']} stack")
  734. dispose("#{info['stock-bone-name']} stack") if scrap
  735. end
  736. go_door if XMLData.room_title.include?('Workshop')
  737. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement