init.lua 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  1. -- Licensed under CC0.
  2. -- Painting textures from Stunt Rally <https://code.google.com/p/vdrift-ogre/>, licensed under CC0. Modified.
  3. -- Painting textures made by Maizegod, licensed under CC0.
  4. minetest.register_node("paintings:canvas", {
  5. description = "Canvas",
  6. drawtype = "nodebox",
  7. tiles = {"paintings_canvas.png"},
  8. inventory_image = "paintings_canvas.png",
  9. wield_image = "paintings_canvas.png",
  10. paramtype = "light",
  11. paramtype2 = "wallmounted",
  12. sunlight_propagates = true,
  13. walkable = false,
  14. node_box = {
  15. type = "wallmounted",
  16. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  17. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  18. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  19. },
  20. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  21. sounds = default.node_sound_wood_defaults(),
  22. })
  23. minetest.register_craft({
  24. output = "paintings:canvas",
  25. recipe = {
  26. {"group:stick", "group:stick", "group:stick"},
  27. {"group:stick", "wool:white", "group:stick"},
  28. {"group:stick", "group:stick", "group:stick"},
  29. }
  30. })
  31. minetest.register_node("paintings:aalmeidah_landscape", {
  32. description = "Painting: aalmeidah - Landscape",
  33. drawtype = "nodebox",
  34. tiles = {"paintings_aalmeidah_landscape.png"},
  35. inventory_image = "paintings_aalmeidah_landscape.png",
  36. wield_image = "paintings_aalmeidah_landscape.png",
  37. paramtype = "light",
  38. paramtype2 = "wallmounted",
  39. sunlight_propagates = true,
  40. walkable = false,
  41. node_box = {
  42. type = "wallmounted",
  43. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  44. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  45. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  46. },
  47. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  48. sounds = default.node_sound_wood_defaults(),
  49. on_construct = function(pos)
  50. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  51. end
  52. })
  53. minetest.register_craft({
  54. output = "paintings:aalmeidah_landscape",
  55. recipe = {
  56. {"dye:cyan", "dye:cyan", "dye:pink"},
  57. {"dye:dark_grey", "paintings:canvas", "dye:pink"},
  58. {"dye:dark_grey", "dye:dark_grey", "dye:dark_grey"},
  59. }
  60. })
  61. minetest.register_node("paintings:andy_warhol_popart", {
  62. description = "Painting: Andy Warhol - Popart",
  63. drawtype = "nodebox",
  64. tiles = {"paintings_andy_warhol_popart.png"},
  65. inventory_image = "paintings_andy_warhol_popart.png",
  66. wield_image = "paintings_andy_warhol_popart.png",
  67. paramtype = "light",
  68. paramtype2 = "wallmounted",
  69. sunlight_propagates = true,
  70. walkable = false,
  71. node_box = {
  72. type = "wallmounted",
  73. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  74. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  75. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  76. },
  77. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  78. sounds = default.node_sound_wood_defaults(),
  79. on_construct = function(pos)
  80. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  81. end
  82. })
  83. minetest.register_craft({
  84. output = "paintings:andy_warhol_popart",
  85. recipe = {
  86. {"dye:yellow", "dye:yellow", "dye:green"},
  87. {"dye:pink", "paintings:canvas", "dye:green"},
  88. {"dye:pink", "dye:blue", "dye:blue"},
  89. }
  90. })
  91. minetest.register_node("paintings:autumn_forest", {
  92. description = "Painting: Autumn Forest",
  93. drawtype = "nodebox",
  94. tiles = {"paintings_autumn_forest.png"},
  95. inventory_image = "paintings_autumn_forest.png",
  96. wield_image = "paintings_autumn_forest.png",
  97. paramtype = "light",
  98. paramtype2 = "wallmounted",
  99. sunlight_propagates = true,
  100. walkable = false,
  101. node_box = {
  102. type = "wallmounted",
  103. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  104. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  105. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  106. },
  107. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  108. sounds = default.node_sound_wood_defaults(),
  109. on_construct = function(pos)
  110. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  111. end
  112. })
  113. minetest.register_craft({
  114. output = "paintings:autumn_forest",
  115. recipe = {
  116. {"dye:brown", "dye:grey", "dye:brown"},
  117. {"dye:brown", "paintings:canvas", "dye:brown"},
  118. {"dye:dark_green", "dye:dark_green", "dye:dark_green"},
  119. }
  120. })
  121. minetest.register_node("paintings:beach", {
  122. description = "Painting: Beach",
  123. drawtype = "nodebox",
  124. tiles = {"paintings_beach.png"},
  125. inventory_image = "paintings_beach.png",
  126. wield_image = "paintings_beach.png",
  127. paramtype = "light",
  128. paramtype2 = "wallmounted",
  129. sunlight_propagates = true,
  130. walkable = false,
  131. node_box = {
  132. type = "wallmounted",
  133. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  134. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  135. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  136. },
  137. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  138. sounds = default.node_sound_wood_defaults(),
  139. on_construct = function(pos)
  140. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  141. end
  142. })
  143. minetest.register_craft({
  144. output = "paintings:beach",
  145. recipe = {
  146. {"dye:grey", "dye:blue", "dye:grey"},
  147. {"dye:green", "paintings:canvas", "dye:blue"},
  148. {"dye:blue", "dye:blue", "dye:blue"},
  149. }
  150. })
  151. minetest.register_node("paintings:cezanne", {
  152. description = "Painting: Cezanne",
  153. drawtype = "nodebox",
  154. tiles = {"paintings_cezanne.png"},
  155. inventory_image = "paintings_cezanne.png",
  156. wield_image = "paintings_cezanne.png",
  157. paramtype = "light",
  158. paramtype2 = "wallmounted",
  159. sunlight_propagates = true,
  160. walkable = false,
  161. node_box = {
  162. type = "wallmounted",
  163. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  164. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  165. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  166. },
  167. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  168. sounds = default.node_sound_wood_defaults(),
  169. on_construct = function(pos)
  170. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  171. end
  172. })
  173. minetest.register_craft({
  174. output = "paintings:cezanne",
  175. recipe = {
  176. {"dye:dark_grey", "dye:dark_grey", "dye:dark_grey"},
  177. {"dye:blue", "paintings:canvas", "dye:pink"},
  178. {"dye:brown", "dye:brown", "dye:brown"},
  179. }
  180. })
  181. minetest.register_node("paintings:debian_logo", {
  182. description = "Painting: Debian logo",
  183. drawtype = "nodebox",
  184. tiles = {"paintings_debian_logo.png"},
  185. inventory_image = "paintings_debian_logo.png",
  186. wield_image = "paintings_debian_logo.png",
  187. paramtype = "light",
  188. paramtype2 = "wallmounted",
  189. sunlight_propagates = true,
  190. walkable = false,
  191. node_box = {
  192. type = "wallmounted",
  193. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  194. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  195. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  196. },
  197. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  198. sounds = default.node_sound_wood_defaults(),
  199. on_construct = function(pos)
  200. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  201. end
  202. })
  203. minetest.register_craft({
  204. output = "paintings:debian_logo",
  205. recipe = {
  206. {"", "dye:magenta", ""},
  207. {"dye:magenta", "paintings:canvas", "dye:magenta"},
  208. {"", "dye:magenta", ""},
  209. }
  210. })
  211. minetest.register_node("paintings:desert", {
  212. description = "Painting: Desert",
  213. drawtype = "nodebox",
  214. tiles = {"paintings_desert.png"},
  215. inventory_image = "paintings_desert.png",
  216. wield_image = "paintings_desert.png",
  217. paramtype = "light",
  218. paramtype2 = "wallmounted",
  219. sunlight_propagates = true,
  220. walkable = false,
  221. node_box = {
  222. type = "wallmounted",
  223. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  224. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  225. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  226. },
  227. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  228. sounds = default.node_sound_wood_defaults(),
  229. on_construct = function(pos)
  230. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  231. end
  232. })
  233. minetest.register_craft({
  234. output = "paintings:desert",
  235. recipe = {
  236. {"dye:blue", "dye:blue", "dye:blue"},
  237. {"dye:orange", "paintings:canvas", "dye:orange"},
  238. {"dye:orange", "dye:orange", "dye:white"},
  239. }
  240. })
  241. minetest.register_node("paintings:misty_forest", {
  242. description = "Painting: Misty Forest",
  243. drawtype = "nodebox",
  244. tiles = {"paintings_misty_forest.png"},
  245. inventory_image = "paintings_misty_forest.png",
  246. wield_image = "paintings_misty_forest.png",
  247. paramtype = "light",
  248. paramtype2 = "wallmounted",
  249. sunlight_propagates = true,
  250. walkable = false,
  251. node_box = {
  252. type = "wallmounted",
  253. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  254. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  255. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  256. },
  257. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  258. sounds = default.node_sound_wood_defaults(),
  259. on_construct = function(pos)
  260. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  261. end
  262. })
  263. minetest.register_craft({
  264. output = "paintings:misty_forest",
  265. recipe = {
  266. {"dye:dark_grey", "dye:dark_grey", "dye:dark_grey"},
  267. {"dye:dark_green", "paintings:canvas", "dye:dark_green"},
  268. {"dye:dark_green", "dye:dark_green", "dye:dark_green"},
  269. }
  270. })
  271. minetest.register_node("paintings:mountain_top", {
  272. description = "Painting: Mountain Top",
  273. drawtype = "nodebox",
  274. tiles = {"paintings_mountain_top.png"},
  275. inventory_image = "paintings_mountain_top.png",
  276. wield_image = "paintings_mountain_top.png",
  277. paramtype = "light",
  278. paramtype2 = "wallmounted",
  279. sunlight_propagates = true,
  280. walkable = false,
  281. node_box = {
  282. type = "wallmounted",
  283. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  284. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  285. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  286. },
  287. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  288. sounds = default.node_sound_wood_defaults(),
  289. on_construct = function(pos)
  290. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  291. end
  292. })
  293. minetest.register_craft({
  294. output = "paintings:mountain_top",
  295. recipe = {
  296. {"dye:white", "dye:white", "dye:blue"},
  297. {"dye:green", "paintings:canvas", "dye:green"},
  298. {"dye:green", "dye:blue", "dye:green"},
  299. }
  300. })
  301. minetest.register_node("paintings:pines", {
  302. description = "Painting: Pines",
  303. drawtype = "nodebox",
  304. tiles = {"paintings_pines.png"},
  305. inventory_image = "paintings_pines.png",
  306. wield_image = "paintings_pines.png",
  307. paramtype = "light",
  308. paramtype2 = "wallmounted",
  309. sunlight_propagates = true,
  310. walkable = false,
  311. node_box = {
  312. type = "wallmounted",
  313. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  314. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  315. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  316. },
  317. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  318. sounds = default.node_sound_wood_defaults(),
  319. on_construct = function(pos)
  320. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  321. end
  322. })
  323. minetest.register_craft({
  324. output = "paintings:pines",
  325. recipe = {
  326. {"dye:grey", "dye:grey", "dye:grey"},
  327. {"dye:green", "paintings:canvas", "dye:green"},
  328. {"dye:green", "dye:green", "dye:green"},
  329. }
  330. })
  331. minetest.register_node("paintings:petiapocok_dali_laba", {
  332. description = "Painting: PetiAPocok - Dali Lába",
  333. drawtype = "nodebox",
  334. tiles = {"paintings_petiapocok_dali_laba.png"},
  335. inventory_image = "paintings_petiapocok_dali_laba.png",
  336. wield_image = "paintings_petiapocok_dali_laba.png",
  337. paramtype = "light",
  338. paramtype2 = "wallmounted",
  339. sunlight_propagates = true,
  340. walkable = false,
  341. node_box = {
  342. type = "wallmounted",
  343. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  344. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  345. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  346. },
  347. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  348. sounds = default.node_sound_wood_defaults(),
  349. on_construct = function(pos)
  350. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  351. end
  352. })
  353. minetest.register_craft({
  354. output = "paintings:petiapocok_dali_laba",
  355. recipe = {
  356. {"dye:brown", "dye:pink", "dye:brown"},
  357. {"dye:brown", "paintings:canvas", "dye:brown"},
  358. {"dye:brown", "dye:pink", "dye:brown"},
  359. }
  360. })
  361. minetest.register_node("paintings:petiapocok_golya_lab", {
  362. description = "Painting: PetiAPocok - Gólya Láb",
  363. drawtype = "nodebox",
  364. tiles = {"paintings_petiapocok_golya_lab.png"},
  365. inventory_image = "paintings_petiapocok_golya_lab.png",
  366. wield_image = "paintings_petiapocok_golya_lab.png",
  367. paramtype = "light",
  368. paramtype2 = "wallmounted",
  369. sunlight_propagates = true,
  370. walkable = false,
  371. node_box = {
  372. type = "wallmounted",
  373. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  374. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  375. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  376. },
  377. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  378. sounds = default.node_sound_wood_defaults(),
  379. on_construct = function(pos)
  380. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  381. end
  382. })
  383. minetest.register_craft({
  384. output = "paintings:petiapocok_golya_lab",
  385. recipe = {
  386. {"dye:grey", "dye:orange", "dye:grey"},
  387. {"dye:grey", "paintings:canvas", "dye:grey"},
  388. {"dye:green", "dye:orange", "dye:green"},
  389. }
  390. })
  391. minetest.register_node("paintings:salvador_dali", {
  392. description = "Painting: Salvador Dali",
  393. drawtype = "nodebox",
  394. tiles = {"paintings_salvador_dali.png"},
  395. inventory_image = "paintings_salvador_dali.png",
  396. wield_image = "paintings_salvador_dali.png",
  397. paramtype = "light",
  398. paramtype2 = "wallmounted",
  399. sunlight_propagates = true,
  400. walkable = false,
  401. node_box = {
  402. type = "wallmounted",
  403. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  404. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  405. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  406. },
  407. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  408. sounds = default.node_sound_wood_defaults(),
  409. on_construct = function(pos)
  410. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  411. end
  412. })
  413. minetest.register_craft({
  414. output = "paintings:salvador_dali",
  415. recipe = {
  416. {"dye:orange", "dye:orange", "dye:yellow"},
  417. {"dye:brown", "paintings:canvas", "dye:yellow"},
  418. {"dye:yellow", "dye:red", "dye:red"},
  419. }
  420. })
  421. minetest.register_node("paintings:shore", {
  422. description = "Painting: Shore",
  423. drawtype = "nodebox",
  424. tiles = {"paintings_shore.png"},
  425. inventory_image = "paintings_shore.png",
  426. wield_image = "paintings_shore.png",
  427. paramtype = "light",
  428. paramtype2 = "wallmounted",
  429. sunlight_propagates = true,
  430. walkable = false,
  431. node_box = {
  432. type = "wallmounted",
  433. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  434. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  435. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  436. },
  437. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  438. sounds = default.node_sound_wood_defaults(),
  439. on_construct = function(pos)
  440. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  441. end
  442. })
  443. minetest.register_craft({
  444. output = "paintings:shore",
  445. recipe = {
  446. {"dye:white", "dye:blue", "dye:green"},
  447. {"dye:blue", "paintings:canvas", "dye:green"},
  448. {"dye:green", "dye:green", "dye:green"},
  449. }
  450. })
  451. minetest.register_node("paintings:sunset", {
  452. description = "Painting: Sunset",
  453. drawtype = "nodebox",
  454. tiles = {"paintings_sunset.png"},
  455. inventory_image = "paintings_sunset.png",
  456. wield_image = "paintings_sunset.png",
  457. paramtype = "light",
  458. paramtype2 = "wallmounted",
  459. sunlight_propagates = true,
  460. walkable = false,
  461. node_box = {
  462. type = "wallmounted",
  463. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  464. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  465. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  466. },
  467. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  468. sounds = default.node_sound_wood_defaults(),
  469. on_construct = function(pos)
  470. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  471. end
  472. })
  473. minetest.register_craft({
  474. output = "paintings:sunset",
  475. recipe = {
  476. {"dye:yellow", "dye:red", "dye:grey"},
  477. {"dye:yellow", "paintings:canvas", "dye:green"},
  478. {"dye:green", "dye:brown", "dye:green"},
  479. }
  480. })
  481. minetest.register_node("paintings:vectronom_studios_sphynx_cat", {
  482. description = "Painting: Vectronom Studios - Sphynx Cat",
  483. drawtype = "nodebox",
  484. tiles = {"paintings_vectronom_studios_sphynx_cat.png"},
  485. inventory_image = "paintings_vectronom_studios_sphynx_cat.png",
  486. wield_image = "paintings_vectronom_studios_sphynx_cat.png",
  487. paramtype = "light",
  488. paramtype2 = "wallmounted",
  489. sunlight_propagates = true,
  490. walkable = false,
  491. node_box = {
  492. type = "wallmounted",
  493. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  494. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  495. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  496. },
  497. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  498. sounds = default.node_sound_wood_defaults(),
  499. on_construct = function(pos)
  500. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  501. end
  502. })
  503. minetest.register_craft({
  504. output = "paintings:vectronom_studios_sphynx_cat",
  505. recipe = {
  506. {"dye:pink", "dye:grey", "dye:pink"},
  507. {"dye:grey", "paintings:canvas", "dye:grey"},
  508. {"", "dye:grey", ""},
  509. }
  510. })
  511. minetest.register_node("paintings:winter", {
  512. description = "Painting: Winter",
  513. drawtype = "nodebox",
  514. tiles = {"paintings_winter.png"},
  515. inventory_image = "paintings_winter.png",
  516. wield_image = "paintings_winter.png",
  517. paramtype = "light",
  518. paramtype2 = "wallmounted",
  519. sunlight_propagates = true,
  520. walkable = false,
  521. node_box = {
  522. type = "wallmounted",
  523. wall_top = {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
  524. wall_bottom = {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  525. wall_side = {-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
  526. },
  527. groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3, flammable = 3},
  528. sounds = default.node_sound_wood_defaults(),
  529. on_construct = function(pos)
  530. minetest.get_meta(pos):set_string("infotext", minetest.registered_nodes[minetest.get_node(pos).name].description)
  531. end
  532. })
  533. minetest.register_craft({
  534. output = "paintings:winter",
  535. recipe = {
  536. {"dye:blue", "dye:blue", "dye:blue"},
  537. {"dye:white", "paintings:canvas", "dye:green"},
  538. {"dye:white", "dye:white", "dye:white"},
  539. }
  540. })