food.lua 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. local S = farming.intllib
  2. --= filter sea water into river water
  3. minetest.register_craft({
  4. output = "bucket:bucket_river_water",
  5. recipe = {
  6. {"farming:hemp_fibre"},
  7. {"farming:hemp_fibre"},
  8. {"bucket:bucket_water"}
  9. }
  10. })
  11. --= glass of water
  12. minetest.register_craftitem("farming:glass_water", {
  13. description = S("Glass of Water"),
  14. inventory_image = "farming_water_glass.png",
  15. groups = {food_water_glass = 1, flammable = 3, vessel = 1}
  16. })
  17. minetest.register_craft({
  18. output = "farming:glass_water 4",
  19. recipe = {
  20. {"vessels:drinking_glass", "vessels:drinking_glass"},
  21. {"vessels:drinking_glass", "vessels:drinking_glass"},
  22. {"bucket:bucket_river_water", ""}
  23. },
  24. replacements = {{"bucket:bucket_river_water", "bucket:bucket_empty"}}
  25. })
  26. minetest.register_craft({
  27. output = "farming:glass_water 4",
  28. recipe = {
  29. {"vessels:drinking_glass", "vessels:drinking_glass"},
  30. {"vessels:drinking_glass", "vessels:drinking_glass"},
  31. {"bucket:bucket_water", "farming:hemp_fibre"}
  32. },
  33. replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
  34. })
  35. --= Sugar
  36. minetest.register_craftitem("farming:sugar", {
  37. description = S("Sugar"),
  38. inventory_image = "farming_sugar.png",
  39. groups = {food_sugar = 1, flammable = 3}
  40. })
  41. minetest.register_craft({
  42. type = "cooking",
  43. cooktime = 3,
  44. output = "farming:sugar 2",
  45. recipe = "default:papyrus"
  46. })
  47. --= Sugar caramel
  48. minetest.register_craftitem("farming:caramel", {
  49. description = S("Caramel"),
  50. inventory_image = "farming_caramel.png",
  51. })
  52. minetest.register_craft({
  53. type = "cooking",
  54. cooktime = 6,
  55. output = "farming:caramel",
  56. recipe = "group:food_sugar",
  57. })
  58. --= Salt
  59. minetest.register_node("farming:salt", {
  60. description = S("Salt"),
  61. inventory_image = "farming_salt.png",
  62. wield_image = "farming_salt.png",
  63. drawtype = "plantlike",
  64. visual_scale = 0.8,
  65. paramtype = "light",
  66. tiles = {"farming_salt.png"},
  67. groups = {food_salt = 1, vessel = 1, dig_immediate = 3,
  68. attached_node = 1},
  69. sounds = default.node_sound_defaults(),
  70. selection_box = {
  71. type = "fixed",
  72. fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
  73. },
  74. -- special function to make salt crystals form inside water
  75. dropped_step = function(self, pos, dtime)
  76. self.ctimer = (self.ctimer or 0) + dtime
  77. if self.ctimer < 15.0 then return end
  78. self.ctimer = 0
  79. local needed
  80. if self.node_inside
  81. and self.node_inside.name == "default:water_source" then
  82. needed = 8
  83. elseif self.node_inside
  84. and self.node_inside.name == "default:river_water_source" then
  85. needed = 9
  86. end
  87. if not needed then return end
  88. local objs = core.get_objects_inside_radius(pos, 0.5)
  89. if not objs or #objs ~= 1 then return end
  90. local salt, ent = nil, nil
  91. for k, obj in pairs(objs) do
  92. ent = obj:get_luaentity()
  93. if ent and ent.name == "__builtin:item"
  94. and ent.itemstring == "farming:salt " .. needed then
  95. obj:remove()
  96. core.add_item(pos, "farming:salt_crystal")
  97. return false -- return with no further action
  98. end
  99. end
  100. end
  101. })
  102. minetest.register_craft({
  103. type = "cooking",
  104. cooktime = 15,
  105. output = "farming:salt",
  106. recipe = "bucket:bucket_water",
  107. replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
  108. })
  109. --= Salt Crystal
  110. minetest.register_node("farming:salt_crystal", {
  111. description = ("Salt crystal"),
  112. inventory_image = "farming_salt_crystal.png",
  113. wield_image = "farming_salt_crystal.png",
  114. drawtype = "plantlike",
  115. visual_scale = 0.8,
  116. paramtype = "light",
  117. light_source = 1,
  118. tiles = {"farming_salt_crystal.png"},
  119. groups = { dig_immediate = 3, attached_node = 1},
  120. sounds = default.node_sound_defaults(),
  121. selection_box = {
  122. type = "fixed",
  123. fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
  124. },
  125. })
  126. minetest.register_craft({
  127. -- type = "shapeless",
  128. output = "farming:salt 9",
  129. recipe = {
  130. {"farming:salt_crystal", "farming:mortar_pestle"}
  131. },
  132. replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}}
  133. })
  134. minetest.register_craft({
  135. output = "farming:salt_crystal",
  136. recipe = {
  137. {"farming:salt", "farming:salt", "farming:salt"},
  138. {"farming:salt", "farming:salt", "farming:salt"},
  139. {"farming:salt", "farming:salt", "farming:salt"}
  140. }
  141. })
  142. --= Rose Water
  143. minetest.register_node("farming:rose_water", {
  144. description = S("Rose Water"),
  145. inventory_image = "farming_rose_water.png",
  146. wield_image = "farming_rose_water.png",
  147. drawtype = "plantlike",
  148. visual_scale = 0.8,
  149. paramtype = "light",
  150. tiles = {"farming_rose_water.png"},
  151. groups = {food_rose_water = 1, vessel = 1, dig_immediate = 3,
  152. attached_node = 1},
  153. sounds = default.node_sound_defaults(),
  154. selection_box = {
  155. type = "fixed",
  156. fixed = {-0.25, -0.5, -0.25, 0.25, 0.3, 0.25}
  157. }
  158. })
  159. minetest.register_craft({
  160. output = "farming:rose_water",
  161. recipe = {
  162. {"flowers:rose", "flowers:rose", "flowers:rose"},
  163. {"flowers:rose", "flowers:rose", "flowers:rose"},
  164. {"group:water_bucket", "group:food_pot", "vessels:glass_bottle"}
  165. },
  166. replacements = {
  167. {"group:water_bucket", "bucket:bucket_empty"},
  168. {"group:food_pot", "farming:pot"}
  169. }
  170. })
  171. if minetest.get_modpath("bucket_wooden") then
  172. minetest.register_craft({
  173. output = "farming:rose_water",
  174. recipe = {
  175. {"flowers:rose", "flowers:rose", "flowers:rose"},
  176. {"flowers:rose", "flowers:rose", "flowers:rose"},
  177. {"group:water_bucket_wooden", "group:food_pot", "vessels:glass_bottle"}
  178. },
  179. replacements = {
  180. {"group:water_bucket_wooden", "bucket_wooden:bucket_empty"},
  181. {"group:food_pot", "farming:pot"}
  182. }
  183. })
  184. end
  185. --= Turkish Delight
  186. minetest.register_craftitem("farming:turkish_delight", {
  187. description = S("Turkish Delight"),
  188. inventory_image = "farming_turkish_delight.png",
  189. groups = {flammable = 3},
  190. on_use = minetest.item_eat(2)
  191. })
  192. minetest.register_craft({
  193. output = "farming:turkish_delight 4",
  194. recipe = {
  195. {"group:food_gelatin", "group:food_sugar", "group:food_gelatin"},
  196. {"group:food_sugar", "group:food_rose_water", "group:food_sugar"},
  197. {"group:food_sugar", "dye:pink", "group:food_sugar"}
  198. },
  199. replacements = {
  200. {"group:food_cornstarch", "farming:bowl"},
  201. {"group:food_rose_water", "vessels:glass_bottle"}
  202. }
  203. })
  204. --= Garlic Bread
  205. minetest.register_craftitem("farming:garlic_bread", {
  206. description = S("Garlic Bread"),
  207. inventory_image = "farming_garlic_bread.png",
  208. groups = {flammable = 3},
  209. on_use = minetest.item_eat(2)
  210. })
  211. minetest.register_craft({
  212. -- type = "shapeless",
  213. output = "farming:garlic_bread",
  214. recipe = {
  215. {"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"}
  216. }
  217. })
  218. --= Donuts (thanks to Bockwurst for making the donut images)
  219. minetest.register_craftitem("farming:donut", {
  220. description = S("Donut"),
  221. inventory_image = "farming_donut.png",
  222. on_use = minetest.item_eat(4)
  223. })
  224. minetest.register_craft({
  225. output = "farming:donut 3",
  226. recipe = {
  227. {"", "group:food_wheat", ""},
  228. {"group:food_wheat", "group:food_sugar", "group:food_wheat"},
  229. {"", "group:food_wheat", ""}
  230. }
  231. })
  232. minetest.register_craftitem("farming:donut_chocolate", {
  233. description = S("Chocolate Donut"),
  234. inventory_image = "farming_donut_chocolate.png",
  235. on_use = minetest.item_eat(6)
  236. })
  237. minetest.register_craft({
  238. output = "farming:donut_chocolate",
  239. recipe = {
  240. {"group:food_cocoa"},
  241. {"farming:donut"}
  242. }
  243. })
  244. minetest.register_craftitem("farming:donut_apple", {
  245. description = S("Apple Donut"),
  246. inventory_image = "farming_donut_apple.png",
  247. on_use = minetest.item_eat(6)
  248. })
  249. minetest.register_craft({
  250. output = "farming:donut_apple",
  251. recipe = {
  252. {"default:apple"},
  253. {"farming:donut"}
  254. }
  255. })
  256. --= Porridge Oats
  257. minetest.register_craftitem("farming:porridge", {
  258. description = S("Porridge"),
  259. inventory_image = "farming_porridge.png",
  260. on_use = minetest.item_eat(6, "farming:bowl")
  261. })
  262. minetest.register_craft({
  263. -- type = "shapeless",
  264. output = "farming:porridge",
  265. recipe = {
  266. {"group:food_oats", "group:food_oats", "group:food_oats"},
  267. {"group:food_oats", "group:food_bowl", "group:food_milk_glass"}
  268. },
  269. replacements = {
  270. {"mobs:glass_milk", "vessels:drinking_glass"},
  271. {"farming:soy_milk", "vessels:drinking_glass"}
  272. }
  273. })
  274. --= Jaffa Cake
  275. minetest.register_craftitem("farming:jaffa_cake", {
  276. description = S("Jaffa Cake"),
  277. inventory_image = "farming_jaffa_cake.png",
  278. on_use = minetest.item_eat(6)
  279. })
  280. minetest.register_craft({
  281. -- type = "shapeless",
  282. output = "farming:jaffa_cake",
  283. recipe = {
  284. {"farming:baking_tray", "group:food_egg", "group:food_sugar"},
  285. {"group:food_flour", "group:food_cocoa", "group:food_orange"},
  286. {"group:food_milk", "", ""}
  287. },
  288. replacements = {
  289. {"farming:baking_tray", "farming:baking_tray"},
  290. {"mobs:bucket_milk", "bucket:bucket_empty"}
  291. }
  292. })
  293. -- Apple Pie
  294. minetest.register_craftitem("farming:apple_pie", {
  295. description = S("Apple Pie"),
  296. inventory_image = "farming_apple_pie.png",
  297. on_use = minetest.item_eat(6)
  298. })
  299. minetest.register_craft({
  300. output = "farming:apple_pie",
  301. recipe = {
  302. {"group:food_flour", "group:food_sugar", "group:food_apple"},
  303. {"", "group:food_baking_tray", ""}
  304. },
  305. replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
  306. })
  307. -- Cactus Juice
  308. minetest.register_craftitem("farming:cactus_juice", {
  309. description = S("Cactus Juice"),
  310. inventory_image = "farming_cactus_juice.png",
  311. groups = {vessel = 1, drink = 1},
  312. on_use = function(itemstack, user, pointed_thing)
  313. if user then
  314. if math.random(5) == 1 then
  315. return minetest.do_item_eat(-1, "vessels:drinking_glass",
  316. itemstack, user, pointed_thing)
  317. else
  318. return minetest.do_item_eat(2, "vessels:drinking_glass",
  319. itemstack, user, pointed_thing)
  320. end
  321. end
  322. end
  323. })
  324. minetest.register_craft({
  325. output = "farming:cactus_juice",
  326. recipe = {
  327. {"default:cactus"},
  328. {"farming:juicer"},
  329. {"vessels:drinking_glass"}
  330. },
  331. replacements = {
  332. {"group:food_juicer", "farming:juicer"}
  333. }
  334. })
  335. -- Pasta
  336. minetest.register_craftitem("farming:pasta", {
  337. description = S("Pasta"),
  338. inventory_image = "farming_pasta.png",
  339. groups = {food_pasta = 1}
  340. })
  341. minetest.register_craft({
  342. output = "farming:pasta",
  343. recipe = {
  344. {"group:food_flour", "group:food_butter", "group:food_mixing_bowl"}
  345. },
  346. replacements = {{"group:food_mixing_bowl", "farming:mixing_bowl"}}
  347. })
  348. minetest.register_craft({
  349. output = "farming:pasta",
  350. recipe = {
  351. {"group:food_flour", "group:food_oil", "group:food_mixing_bowl"}
  352. },
  353. replacements = {
  354. {"group:food_mixing_bowl", "farming:mixing_bowl"},
  355. {"group:food_oil", "vessels:glass_bottle"}
  356. }
  357. })
  358. -- Spaghetti
  359. minetest.register_craftitem("farming:spaghetti", {
  360. description = S("Spaghetti"),
  361. inventory_image = "farming_spaghetti.png",
  362. on_use = minetest.item_eat(8)
  363. })
  364. minetest.register_craft({
  365. output = "farming:spaghetti",
  366. recipe = {
  367. {"group:food_pasta", "group:food_saucepan", "group:food_tomato"},
  368. {"group:food_garlic_clove", "group:food_garlic_clove", ""}
  369. },
  370. replacements = {{"group:food_saucepan", "farming:saucepan"}}
  371. })
  372. -- Korean Bibimbap
  373. minetest.register_craftitem("farming:bibimbap", {
  374. description = S("Bibimbap"),
  375. inventory_image = "farming_bibimbap.png",
  376. on_use = minetest.item_eat(8, "farming:bowl")
  377. })
  378. minetest.register_craft({
  379. output = "farming:bibimbap",
  380. recipe = {
  381. {"group:food_skillet", "group:food_bowl", "group:food_egg"},
  382. {"group:food_rice", "group:food_chicken_raw", "group:food_cabbage"},
  383. {"group:food_carrot", "group:food_chili_pepper", ""}
  384. },
  385. replacements = {{"group:food_skillet", "farming:skillet"}}
  386. })
  387. minetest.register_craft({
  388. output = "farming:bibimbap",
  389. type = "shapeless",
  390. recipe = {
  391. "group:food_skillet", "group:food_bowl", "group:food_mushroom",
  392. "group:food_rice", "group:food_cabbage", "group:food_carrot",
  393. "group:food_mushroom", "group:food_chili_pepper"
  394. },
  395. replacements = {{"group:food_skillet", "farming:skillet"}}
  396. })
  397. -- Burger
  398. minetest.register_craftitem("farming:burger", {
  399. description = S("Burger"),
  400. inventory_image = "farming_burger.png",
  401. on_use = minetest.item_eat(16),
  402. })
  403. minetest.register_craft({
  404. output = "farming:burger",
  405. recipe = {
  406. {"farming:bread", "group:food_meat", "group:food_cheese"},
  407. {"group:food_tomato", "group:food_cucumber", "group:food_onion"},
  408. {"group:food_lettuce", "", ""}
  409. }
  410. })
  411. -- Salad
  412. minetest.register_craftitem("farming:salad", {
  413. description = S("Salad"),
  414. inventory_image = "farming_salad.png",
  415. on_use = minetest.item_eat(8, "farming:bowl")
  416. })
  417. minetest.register_craft({
  418. output = "farming:salad",
  419. type = "shapeless",
  420. recipe = {
  421. "group:food_bowl", "group:food_tomato", "group:food_cucumber",
  422. "group:food_lettuce", "group:food_oil"
  423. }
  424. })
  425. -- Triple Berry Smoothie
  426. minetest.register_craftitem("farming:smoothie_berry", {
  427. description = S("Triple Berry Smoothie"),
  428. inventory_image = "farming_berry_smoothie.png",
  429. on_use = minetest.item_eat(6, "vessels:drinking_glass"),
  430. groups = {vessel = 1, drink = 1}
  431. })
  432. minetest.register_craft({
  433. output = "farming:smoothie_berry",
  434. type = "shapeless",
  435. recipe = {
  436. "group:food_raspberries", "group:food_blackberries",
  437. "group:food_strawberry", "group:food_banana",
  438. "vessels:drinking_glass"
  439. }
  440. })
  441. -- Patatas a la importancia
  442. minetest.register_craftitem("farming:spanish_potatoes", {
  443. description = S("Spanish Potatoes"),
  444. inventory_image = "farming_spanish_potatoes.png",
  445. on_use = minetest.item_eat(8, "farming:bowl"),
  446. })
  447. minetest.register_craft({
  448. type = "shapeless",
  449. output = "farming:spanish_potatoes",
  450. recipe = {
  451. "farming:potato", "group:food_parsley", "farming:potato",
  452. "group:food_egg", "group:food_flour", "farming:onion",
  453. "farming:garlic_clove", "group:food_bowl", "group:food_skillet"
  454. },
  455. replacements = {{"group:food_skillet", "farming:skillet"}}
  456. })
  457. -- Potato omelet
  458. minetest.register_craftitem("farming:potato_omelet", {
  459. description = S("Potato omelet"),
  460. inventory_image = "farming_potato_omelet.png",
  461. on_use = minetest.item_eat(6, "farming:bowl")
  462. })
  463. minetest.register_craft({
  464. type = "shapeless",
  465. output = "farming:potato_omelet",
  466. recipe = {
  467. "group:food_egg", "farming:potato", "group:food_onion",
  468. "group:food_skillet", "group:food_bowl"},
  469. replacements = {{"group:food_skillet", "farming:skillet"}}
  470. })
  471. -- Paella
  472. minetest.register_craftitem("farming:paella", {
  473. description = S("Paella"),
  474. inventory_image = "farming_paella.png",
  475. on_use = minetest.item_eat(8, "farming:bowl")
  476. })
  477. minetest.register_craft({
  478. type = "shapeless",
  479. output = "farming:paella",
  480. recipe = {
  481. "group:food_rice", "dye:orange", "farming:pepper_red",
  482. "group:food_peas", "group:food_chicken", "group:food_bowl", "group:food_skillet"
  483. },
  484. replacements = {{"group:food_skillet", "farming:skillet"}}
  485. })
  486. -- Flan
  487. minetest.register_craftitem("farming:flan", {
  488. description = S("Vanilla Flan"),
  489. inventory_image = "farming_vanilla_flan.png",
  490. on_use = minetest.item_eat(6)
  491. })
  492. minetest.register_craft({
  493. output = "farming:flan",
  494. recipe = {
  495. {"group:food_sugar", "group:food_milk", "farming:caramel"},
  496. {"group:food_egg", "group:food_egg", "farming:vanilla_extract"}
  497. },
  498. replacements = {
  499. {"cucina_vegana:soy_milk", "vessels:drinking_glass"},
  500. {"group:food_milk", "bucket:bucket_empty"},
  501. {"farming:vanilla_extract", "vessels:glass_bottle"}
  502. }
  503. })
  504. -- Vegan Cheese
  505. minetest.register_craftitem("farming:cheese_vegan", {
  506. description = S("Vegan Cheese"),
  507. inventory_image = "farming_cheese_vegan.png",
  508. on_use = minetest.item_eat(2),
  509. groups = {food_cheese = 1, flammable = 2}
  510. })
  511. minetest.register_craft({
  512. output = "farming:cheese_vegan",
  513. recipe = {
  514. {"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"},
  515. {"group:food_salt", "group:food_peppercorn", "farming:bottle_ethanol"},
  516. {"group:food_gelatin", "group:food_pot", ""}
  517. },
  518. replacements = {
  519. {"farming:soy_milk", "vessels:drinking_glass 3"},
  520. {"farming:pot", "farming:pot"},
  521. {"farming:bottle_ethanol", "vessels:glass_bottle"}
  522. }
  523. })
  524. minetest.register_craft({
  525. output = "farming:cheese_vegan",
  526. recipe = {
  527. {"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"},
  528. {"group:food_salt", "group:food_peppercorn", "group:food_lemon"},
  529. {"group:food_gelatin", "group:food_pot", ""}
  530. },
  531. replacements = {
  532. {"farming:soy_milk", "vessels:drinking_glass 3"},
  533. {"farming:pot", "farming:pot"}
  534. }
  535. })
  536. -- Onigiri
  537. minetest.register_craftitem("farming:onigiri", {
  538. description = S("Onirigi"),
  539. inventory_image = "farming_onigiri.png",
  540. on_use = minetest.item_eat(2),
  541. groups = {flammable = 2}
  542. })
  543. minetest.register_craft({
  544. output = "farming:onigiri",
  545. recipe = {
  546. {"group:food_rice", "group:food_salt", "group:food_rice"},
  547. {"", "group:food_seaweed", ""}
  548. }
  549. })
  550. -- Gyoza
  551. minetest.register_craftitem("farming:gyoza", {
  552. description = S("Gyoza"),
  553. inventory_image = "farming_gyoza.png",
  554. on_use = minetest.item_eat(4),
  555. groups = {flammable = 2}
  556. })
  557. minetest.register_craft({
  558. output = "farming:gyoza 4",
  559. recipe = {
  560. {"group:food_cabbage", "group:food_garlic_clove", "group:food_onion"},
  561. {"group:food_meat_raw", "group:food_salt", "group:food_flour"},
  562. {"", "group:food_skillet", ""}
  563. },
  564. replacements = {
  565. {"group:food_skillet", "farming:skillet"}
  566. }
  567. })
  568. -- Mochi
  569. minetest.register_craftitem("farming:mochi", {
  570. description = S("Mochi"),
  571. inventory_image = "farming_mochi.png",
  572. on_use = minetest.item_eat(3),
  573. groups = {flammable = 2}
  574. })
  575. minetest.register_craft({
  576. output = "farming:mochi",
  577. recipe = {
  578. {"group:food_rice", "group:food_sugar", "group:food_rice"},
  579. {"", "group:food_mortar_pestle", ""},
  580. {"", "farming:glass_water", ""}
  581. },
  582. replacements = {
  583. {"group:food_mortar_pestle", "farming:mortar_pestle"},
  584. {"farming:glass_water", "vessels:drinking_glass"}
  585. }
  586. })