doors.lua 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. doors.register("door_wood", {
  2. tiles = {{ name = "doors_door_wood.png", backface_culling = true }},
  3. description = "Wooden Door",
  4. inventory_image = "doors_item_wood.png",
  5. groups = utility.dig_groups("door_wood", {flammable = 2}),
  6. recipe = {
  7. {"group:wood_light", "techcrafts:hinge_wood"},
  8. {"group:wood_light", "group:stick"},
  9. {"group:wood_light", "techcrafts:hinge_wood"},
  10. }
  11. })
  12. doors.register("door_wood_locked", {
  13. tiles = {{ name = "doors_door_wood.png", backface_culling = true }},
  14. description = "Locked Wooden Door",
  15. inventory_image = "doors_item_wood.png",
  16. protected = true,
  17. groups = utility.dig_groups("door_wood", {flammable = 2}),
  18. recipe = {
  19. {"group:wood_light", "techcrafts:hinge_wood", ""},
  20. {"group:wood_light", "group:stick", "default:padlock"},
  21. {"group:wood_light", "techcrafts:hinge_wood", ""},
  22. }
  23. })
  24. -- Supplementary recipe for wood door.
  25. minetest.register_craft({
  26. output = "doors:door_wood",
  27. recipe = {
  28. {"firetree:firewood", "techcrafts:hinge_wood"},
  29. {"firetree:firewood", "group:stick"},
  30. {"firetree:firewood", "techcrafts:hinge_wood"},
  31. },
  32. })
  33. -- Supplementary recipe for wood door.
  34. minetest.register_craft({
  35. output = "doors:door_wood_locked",
  36. recipe = {
  37. {"firetree:firewood", "techcrafts:hinge_wood", ""},
  38. {"firetree:firewood", "group:stick", "default:padlock"},
  39. {"firetree:firewood", "techcrafts:hinge_wood", ""},
  40. },
  41. })
  42. doors.register("door_steel", {
  43. tiles = {{name = "doors_door_steel.png", backface_culling = true}},
  44. description = "Locked Iron Door",
  45. inventory_image = "doors_item_steel.png",
  46. protected = true,
  47. groups = utility.dig_groups("door_metal"),
  48. sounds = default.node_sound_metal_defaults(),
  49. sound_open = "doors_steel_door_open",
  50. sound_close = "doors_steel_door_close",
  51. recipe = {
  52. {"default:steel_ingot", "techcrafts:hinge", ""},
  53. {"default:steel_ingot", "default:steel_ingot", "default:padlock"},
  54. {"default:steel_ingot", "techcrafts:hinge", ""},
  55. }
  56. })
  57. doors.register("door_steel_unlocked", {
  58. tiles = {{name = "doors_door_steel.png", backface_culling = true}},
  59. description = "Iron Door",
  60. inventory_image = "doors_item_steel.png",
  61. groups = utility.dig_groups("door_metal"),
  62. sounds = default.node_sound_metal_defaults(),
  63. sound_open = "doors_steel_door_open",
  64. sound_close = "doors_steel_door_close",
  65. recipe = {
  66. {"default:steel_ingot", "techcrafts:hinge"},
  67. {"default:steel_ingot", "default:steel_ingot"},
  68. {"default:steel_ingot", "techcrafts:hinge"},
  69. }
  70. })
  71. doors.register("door_iron", {
  72. tiles = {{name = "doors_door_iron.png", backface_culling = true}},
  73. description = "Wrought Iron Door",
  74. inventory_image = "doors_item_iron.png",
  75. groups = utility.dig_groups("door_metal"),
  76. sounds = default.node_sound_metal_defaults(),
  77. sound_open = "doors_iron_door_open",
  78. sound_close = "doors_iron_door_close",
  79. recipe = {
  80. {"default:iron_lump", "techcrafts:hinge"},
  81. {"default:iron_lump", "default:iron_lump"},
  82. {"default:iron_lump", "techcrafts:hinge"},
  83. }
  84. })
  85. doors.register("door_iron_locked", {
  86. tiles = {{name = "doors_door_iron.png", backface_culling = true}},
  87. description = "Locked Wrought Iron Door",
  88. inventory_image = "doors_item_iron.png",
  89. protected = true,
  90. groups = utility.dig_groups("door_metal"),
  91. sounds = default.node_sound_metal_defaults(),
  92. sound_open = "doors_iron_door_open",
  93. sound_close = "doors_iron_door_close",
  94. recipe = {
  95. {"default:iron_lump", "techcrafts:hinge", ""},
  96. {"default:iron_lump", "default:iron_lump", "default:padlock"},
  97. {"default:iron_lump", "techcrafts:hinge", ""},
  98. }
  99. })
  100. doors.register("door_glass", {
  101. tiles = {"doors_door_glass.png"},
  102. description = "Glass Door",
  103. inventory_image = "doors_item_glass.png",
  104. groups = utility.dig_groups("door_glass"),
  105. sounds = default.node_sound_glass_defaults(),
  106. sound_open = "doors_glass_door_open",
  107. sound_close = "doors_glass_door_close",
  108. recipe = {
  109. {"default:glass", "techcrafts:hinge"},
  110. {"default:glass", "default:glass"},
  111. {"default:glass", "techcrafts:hinge"},
  112. }
  113. })
  114. doors.register("door_glass_locked", {
  115. tiles = {"doors_door_glass.png"},
  116. description = "Locked Glass Door",
  117. inventory_image = "doors_item_glass.png",
  118. protected = true,
  119. groups = utility.dig_groups("door_glass"),
  120. sounds = default.node_sound_glass_defaults(),
  121. sound_open = "doors_glass_door_open",
  122. sound_close = "doors_glass_door_close",
  123. recipe = {
  124. {"default:glass", "techcrafts:hinge", ""},
  125. {"default:glass", "default:glass", "default:padlock"},
  126. {"default:glass", "techcrafts:hinge", ""},
  127. }
  128. })
  129. doors.register("door_obsidian_glass", {
  130. tiles = {"doors_door_obsidian_glass.png"},
  131. description = "Obsidian Glass Door",
  132. inventory_image = "doors_item_obsidian_glass.png",
  133. groups = utility.dig_groups("door_glass"),
  134. sounds = default.node_sound_glass_defaults(),
  135. sound_open = "doors_glass_door_open",
  136. sound_close = "doors_glass_door_close",
  137. recipe = {
  138. {"default:obsidian_glass", "techcrafts:hinge"},
  139. {"default:obsidian_glass", "default:obsidian_glass"},
  140. {"default:obsidian_glass", "techcrafts:hinge"},
  141. },
  142. })
  143. doors.register("door_obsidian_glass_locked", {
  144. tiles = {"doors_door_obsidian_glass.png"},
  145. description = "Locked Obsidian Glass Door",
  146. inventory_image = "doors_item_obsidian_glass.png",
  147. protected = true,
  148. groups = utility.dig_groups("door_glass"),
  149. sounds = default.node_sound_glass_defaults(),
  150. sound_open = "doors_glass_door_open",
  151. sound_close = "doors_glass_door_close",
  152. recipe = {
  153. {"default:obsidian_glass", "techcrafts:hinge", ""},
  154. {"default:obsidian_glass", "default:obsidian_glass", "default:padlock"},
  155. {"default:obsidian_glass", "techcrafts:hinge", ""},
  156. },
  157. })
  158. doors.register("door_wood_solid", {
  159. tiles = {"doors_door_woodsolid.png"},
  160. description = "Solid Wood Door",
  161. inventory_image = "doors_item_woodsolid.png",
  162. groups = utility.dig_groups("door_wood", {flammable = 2}),
  163. recipe = {
  164. {"group:wood_light", "techcrafts:hinge_wood"},
  165. {"group:wood_light", "group:wood_light"},
  166. {"group:wood_light", "techcrafts:hinge_wood"},
  167. },
  168. })
  169. doors.register("door_wood_solid_locked", {
  170. tiles = {"doors_door_woodsolid.png"},
  171. description = "Locked Solid Wood Door",
  172. inventory_image = "doors_item_woodsolid.png",
  173. protected = true,
  174. groups = utility.dig_groups("door_wood", {flammable = 2}),
  175. recipe = {
  176. {"group:wood_light", "techcrafts:hinge_wood", ""},
  177. {"group:wood_light", "group:wood_light", "default:padlock"},
  178. {"group:wood_light", "techcrafts:hinge_wood", ""},
  179. },
  180. })
  181. doors.register("door_steel_glass", {
  182. tiles = {{name="doors_door_steelglass.png", backface_culling = true}},
  183. description = "Fancy Glass/Iron Door",
  184. inventory_image = "doors_item_steelglass.png",
  185. groups = utility.dig_groups("door_metal"),
  186. recipe = {
  187. {"default:steel_ingot", "techcrafts:hinge"},
  188. {"default:glass", "default:glass"},
  189. {"default:steel_ingot", "techcrafts:hinge"},
  190. },
  191. })
  192. doors.register("door_steel_glass_locked", {
  193. tiles = {{name="doors_door_steelglass.png", backface_culling = true}},
  194. description = "Locked Fancy Glass/Iron Door",
  195. inventory_image = "doors_item_steelglass.png",
  196. protected = true,
  197. groups = utility.dig_groups("door_metal"),
  198. recipe = {
  199. {"default:steel_ingot", "techcrafts:hinge", ""},
  200. {"default:glass", "default:glass", "default:padlock"},
  201. {"default:steel_ingot", "techcrafts:hinge", ""},
  202. },
  203. })
  204. doors.register("door_wood_glass", {
  205. tiles = {{name="doors_door_woodglass.png", backface_culling = true}},
  206. description = "Fancy Glass/Darkwood Door",
  207. inventory_image = "doors_item_woodglass.png",
  208. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  209. recipe = {
  210. {"group:wood_dark", "techcrafts:hinge"},
  211. {"default:glass", "default:glass"},
  212. {"group:wood_dark", "techcrafts:hinge"},
  213. },
  214. })
  215. doors.register("door_wood_glass_locked", {
  216. tiles = {{name="doors_door_woodglass.png", backface_culling = true}},
  217. description = "Locked Fancy Glass/Darkwood Door",
  218. inventory_image = "doors_item_woodglass.png",
  219. protected = true,
  220. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  221. recipe = {
  222. {"group:wood_dark", "techcrafts:hinge", ""},
  223. {"default:glass", "default:glass", "default:padlock"},
  224. {"group:wood_dark", "techcrafts:hinge", ""},
  225. },
  226. })
  227. doors.register("door_lightwood_glass", {
  228. tiles = {{name="doors_door_lightwoodglass.png", backface_culling = true}},
  229. description = "Fancy Glass/Wood Door",
  230. inventory_image = "doors_item_lightwoodglass.png",
  231. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  232. recipe = {
  233. {"group:wood_light", "techcrafts:hinge"},
  234. {"default:glass", "default:glass"},
  235. {"group:wood_light", "techcrafts:hinge"},
  236. },
  237. })
  238. doors.register("door_lightwood_glass_locked", {
  239. tiles = {{name="doors_door_lightwoodglass.png", backface_culling = true}},
  240. description = "Locked Fancy Glass/Wood Door",
  241. inventory_image = "doors_item_lightwoodglass.png",
  242. protected = true,
  243. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  244. recipe = {
  245. {"group:wood_light", "techcrafts:hinge", ""},
  246. {"default:glass", "default:glass", "default:padlock"},
  247. {"group:wood_light", "techcrafts:hinge", ""},
  248. },
  249. })
  250. doors.register("door_fancy_ext1", {
  251. tiles = {{name="doors_door_ext_fancy1.png", backface_culling = true}},
  252. description = "Fancy Exterior Wood/Glass Door",
  253. inventory_image = "doors_item_ext_fancy1.png",
  254. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  255. recipe = {
  256. {"group:wood_light", "techcrafts:hinge"},
  257. {"group:wood_light", "default:glass"},
  258. {"group:wood_light", "techcrafts:hinge"},
  259. },
  260. })
  261. doors.register("door_fancy_ext1_locked", {
  262. tiles = {{name="doors_door_ext_fancy1.png", backface_culling = true}},
  263. description = "Locked Fancy Exterior Wood/Glass Door",
  264. inventory_image = "doors_item_ext_fancy1.png",
  265. protected = true,
  266. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  267. recipe = {
  268. {"group:wood_light", "techcrafts:hinge", ""},
  269. {"group:wood_light", "default:glass", "default:padlock"},
  270. {"group:wood_light", "techcrafts:hinge", ""},
  271. },
  272. })
  273. doors.register("door_fancy_ext2", {
  274. tiles = {{name="doors_door_ext_fancy2.png", backface_culling = true}},
  275. description = "Fancy Exterior Wood/Glass Door",
  276. inventory_image = "doors_item_ext_fancy2.png",
  277. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  278. recipe = {
  279. {"group:wood_dark", "techcrafts:hinge"},
  280. {"default:glass", "brass:ingot"},
  281. {"group:wood_dark", "techcrafts:hinge"},
  282. },
  283. })
  284. doors.register("door_fancy_ext2_locked", {
  285. tiles = {{name="doors_door_ext_fancy2.png", backface_culling = true}},
  286. description = "Locked Fancy Exterior Wood/Glass Door",
  287. inventory_image = "doors_item_ext_fancy2.png",
  288. protected = true,
  289. groups = utility.dig_groups("door_woodglass", {flammable = 2}),
  290. recipe = {
  291. {"group:wood_dark", "techcrafts:hinge", ""},
  292. {"default:glass", "brass:ingot", "default:padlock"},
  293. {"group:wood_dark", "techcrafts:hinge", ""},
  294. },
  295. })
  296. doors.register("door_wood2", {
  297. tiles = {{ name = "doors_door_wood2.png", backface_culling = true }},
  298. description = "Wooden Door",
  299. inventory_image = "doors_item_wood2.png",
  300. groups = utility.dig_groups("door_wood", {flammable = 2}),
  301. recipe = {
  302. {"group:stick", "techcrafts:hinge_wood"},
  303. {"basictrees:tree_wood", "basictrees:tree_wood"},
  304. {"basictrees:tree_wood", "techcrafts:hinge_wood"},
  305. }
  306. })
  307. doors.register("door_wood2_locked", {
  308. tiles = {{ name = "doors_door_wood2.png", backface_culling = true }},
  309. description = "Locked Wooden Door",
  310. inventory_image = "doors_item_wood2.png",
  311. protected = true,
  312. groups = utility.dig_groups("door_wood", {flammable = 2}),
  313. recipe = {
  314. {"group:stick", "techcrafts:hinge_wood", ""},
  315. {"basictrees:tree_wood", "basictrees:tree_wood", "default:padlock"},
  316. {"basictrees:tree_wood", "techcrafts:hinge_wood", ""},
  317. }
  318. })
  319. doors.register("door_obsidian_glass2", {
  320. tiles = {"doors_door_obsidian_glass2.png"},
  321. description = "Obsidian Glass Door",
  322. inventory_image = "doors_item_obsidian_glass2.png",
  323. groups = utility.dig_groups("door_glass"),
  324. sounds = default.node_sound_glass_defaults(),
  325. sound_open = "doors_glass_door_open",
  326. sound_close = "doors_glass_door_close",
  327. recipe = {
  328. {"default:obsidian_glass", "techcrafts:hinge"},
  329. {"default:obsidian_shard", "default:obsidian_shard"},
  330. {"default:obsidian_glass", "techcrafts:hinge"},
  331. },
  332. })
  333. doors.register("door_obsidian_glass2_locked", {
  334. tiles = {"doors_door_obsidian_glass2.png"},
  335. description = "Locked Obsidian Glass Door",
  336. inventory_image = "doors_item_obsidian_glass2.png",
  337. protected = true,
  338. groups = utility.dig_groups("door_glass"),
  339. sounds = default.node_sound_glass_defaults(),
  340. sound_open = "doors_glass_door_open",
  341. sound_close = "doors_glass_door_close",
  342. recipe = {
  343. {"default:obsidian_glass", "techcrafts:hinge", ""},
  344. {"default:obsidian_shard", "default:obsidian_shard", "default:padlock"},
  345. {"default:obsidian_glass", "techcrafts:hinge", ""},
  346. },
  347. })
  348. doors.register("door_steel2", {
  349. tiles = {{name = "doors_door_steel2.png", backface_culling = true}},
  350. description = "Cast Iron Door",
  351. inventory_image = "doors_item_steel2.png",
  352. groups = utility.dig_groups("door_metal"),
  353. sounds = default.node_sound_metal_defaults(),
  354. sound_open = "doors_steel_door_open",
  355. sound_close = "doors_steel_door_close",
  356. recipe = {
  357. {"cast_iron:ingot", "techcrafts:hinge"},
  358. {"cast_iron:ingot", "cast_iron:ingot"},
  359. {"cast_iron:ingot", "techcrafts:hinge"},
  360. }
  361. })
  362. doors.register("door_steel2_locked", {
  363. tiles = {{name = "doors_door_steel2.png", backface_culling = true}},
  364. description = "Locked Cast Iron Door",
  365. inventory_image = "doors_item_steel2.png",
  366. protected = true,
  367. groups = utility.dig_groups("door_metal"),
  368. sounds = default.node_sound_metal_defaults(),
  369. sound_open = "doors_steel_door_open",
  370. sound_close = "doors_steel_door_close",
  371. recipe = {
  372. {"cast_iron:ingot", "techcrafts:hinge", ""},
  373. {"cast_iron:ingot", "cast_iron:ingot", "default:padlock"},
  374. {"cast_iron:ingot", "techcrafts:hinge", ""},
  375. }
  376. })
  377. doors.register("door_acacia", {
  378. tiles = {{ name = "doors_door_acacia.png", backface_culling = true }},
  379. description = "Acacia Door",
  380. inventory_image = "doors_item_acacia.png",
  381. groups = utility.dig_groups("door_wood", {flammable = 2}),
  382. recipe = {
  383. {"group:stick", "techcrafts:hinge_wood"},
  384. {"basictrees:acacia_wood", "basictrees:acacia_wood"},
  385. {"basictrees:acacia_wood", "techcrafts:hinge_wood"},
  386. }
  387. })
  388. doors.register("door_acacia_locked", {
  389. tiles = {{ name = "doors_door_acacia.png", backface_culling = true }},
  390. description = "Locked Acacia Door",
  391. inventory_image = "doors_item_acacia.png",
  392. protected = true,
  393. groups = utility.dig_groups("door_wood", {flammable = 2}),
  394. recipe = {
  395. {"group:stick", "techcrafts:hinge_wood", ""},
  396. {"basictrees:acacia_wood", "basictrees:acacia_wood", "default:padlock"},
  397. {"basictrees:acacia_wood", "techcrafts:hinge_wood", ""},
  398. }
  399. })
  400. doors.register("door_pine", {
  401. tiles = {{ name = "doors_door_pine.png", backface_culling = true }},
  402. description = "Pine Door",
  403. inventory_image = "doors_item_pine.png",
  404. groups = utility.dig_groups("door_wood", {flammable = 2}),
  405. recipe = {
  406. {"group:stick", "techcrafts:hinge_wood"},
  407. {"basictrees:pine_wood", "basictrees:pine_wood"},
  408. {"basictrees:pine_wood", "techcrafts:hinge_wood"},
  409. }
  410. })
  411. doors.register("door_pine_locked", {
  412. tiles = {{ name = "doors_door_pine.png", backface_culling = true }},
  413. description = "Locked Pine Door",
  414. inventory_image = "doors_item_pine.png",
  415. protected = true,
  416. groups = utility.dig_groups("door_wood", {flammable = 2}),
  417. recipe = {
  418. {"group:stick", "techcrafts:hinge_wood", ""},
  419. {"basictrees:pine_wood", "basictrees:pine_wood", "default:padlock"},
  420. {"basictrees:pine_wood", "techcrafts:hinge_wood", ""},
  421. }
  422. })
  423. doors.register("door_jungle", {
  424. tiles = {{ name = "doors_door_jungle.png", backface_culling = true }},
  425. description = "Jungle Wood Door",
  426. inventory_image = "doors_item_jungle.png",
  427. groups = utility.dig_groups("door_wood", {flammable = 2}),
  428. recipe = {
  429. {"group:stick", "techcrafts:hinge_wood"},
  430. {"basictrees:jungletree_wood", "basictrees:jungletree_wood"},
  431. {"basictrees:jungletree_wood", "techcrafts:hinge_wood"},
  432. }
  433. })
  434. doors.register("door_jungle_locked", {
  435. tiles = {{ name = "doors_door_jungle.png", backface_culling = true }},
  436. description = "Locked Jungle Wood Door",
  437. inventory_image = "doors_item_jungle.png",
  438. protected = true,
  439. groups = utility.dig_groups("door_wood", {flammable = 2}),
  440. recipe = {
  441. {"group:stick", "techcrafts:hinge_wood", ""},
  442. {"basictrees:jungletree_wood", "basictrees:jungletree_wood", "default:padlock"},
  443. {"basictrees:jungletree_wood", "techcrafts:hinge_wood", ""},
  444. }
  445. })
  446. doors.register("door_aspen", {
  447. tiles = {{ name = "doors_door_aspen.png", backface_culling = true }},
  448. description = "Aspen Door",
  449. inventory_image = "doors_item_aspen.png",
  450. groups = utility.dig_groups("door_wood", {flammable = 2}),
  451. recipe = {
  452. {"group:stick", "techcrafts:hinge_wood"},
  453. {"basictrees:aspen_wood", "basictrees:aspen_wood"},
  454. {"basictrees:aspen_wood", "techcrafts:hinge_wood"},
  455. }
  456. })
  457. doors.register("door_aspen_locked", {
  458. tiles = {{ name = "doors_door_aspen.png", backface_culling = true }},
  459. description = "Locked Aspen Door",
  460. inventory_image = "doors_item_aspen.png",
  461. protected = true,
  462. groups = utility.dig_groups("door_wood", {flammable = 2}),
  463. recipe = {
  464. {"group:stick", "techcrafts:hinge_wood", ""},
  465. {"basictrees:aspen_wood", "basictrees:aspen_wood", "default:padlock"},
  466. {"basictrees:aspen_wood", "techcrafts:hinge_wood", ""},
  467. }
  468. })
  469. doors.register("door_woodsteel", {
  470. tiles = {{ name = "doors_door_woodsteel.png", backface_culling = true }},
  471. description = "Steel-Bound Door",
  472. inventory_image = "doors_item_woodsteel.png",
  473. groups = utility.dig_groups("door_wood", {flammable = 2}),
  474. recipe = {
  475. {"basictrees:jungletree_wood", "techcrafts:hinge"},
  476. {"default:steel_ingot", "default:steel_ingot"},
  477. {"basictrees:jungletree_wood", "techcrafts:hinge"},
  478. }
  479. })
  480. doors.register("door_woodsteel_locked", {
  481. tiles = {{ name = "doors_door_woodsteel.png", backface_culling = true }},
  482. description = "Locked Steel-Bound Door",
  483. inventory_image = "doors_item_woodsteel.png",
  484. protected = true,
  485. groups = utility.dig_groups("door_wood", {flammable = 2}),
  486. recipe = {
  487. {"basictrees:jungletree_wood", "techcrafts:hinge", ""},
  488. {"default:steel_ingot", "default:steel_ingot", "default:padlock"},
  489. {"basictrees:jungletree_wood", "techcrafts:hinge", ""},
  490. }
  491. })
  492. doors.register("door_wood3", {
  493. tiles = {{ name = "doors_door_wood3.png", backface_culling = true }},
  494. description = "Wooden Door",
  495. inventory_image = "doors_item_wood3.png",
  496. groups = utility.dig_groups("door_wood", {flammable = 2}),
  497. recipe = {
  498. {"basictrees:tree_wood", "techcrafts:hinge_wood"},
  499. {"group:stick", "group:stick"},
  500. {"basictrees:tree_wood", "techcrafts:hinge_wood"},
  501. }
  502. })
  503. doors.register("door_wood3_locked", {
  504. tiles = {{ name = "doors_door_wood3.png", backface_culling = true }},
  505. description = "Locked Wooden Door",
  506. inventory_image = "doors_item_wood3.png",
  507. protected = true,
  508. groups = utility.dig_groups("door_wood", {flammable = 2}),
  509. recipe = {
  510. {"basictrees:tree_wood", "techcrafts:hinge_wood", ""},
  511. {"group:stick", "group:stick", "default:padlock"},
  512. {"basictrees:tree_wood", "techcrafts:hinge_wood", ""},
  513. }
  514. })
  515. -- No locked version. This is intentional,
  516. -- you only use it for camouflage.
  517. doors.register("door_desertstone", {
  518. tiles = {{ name = "doors_door_redstone.png", backface_culling = true }},
  519. description = "Desert Stone Door",
  520. inventory_image = "doors_item_redstone.png",
  521. groups = utility.dig_groups("door_stone"),
  522. recipe = {
  523. {"default:desert_stone", "techcrafts:hinge"},
  524. {"default:desert_stone", "default:desert_stone"},
  525. {"default:desert_stone", "techcrafts:hinge"},
  526. }
  527. })
  528. doors.register("door_sandstone", {
  529. tiles = {{ name = "doors_door_sandstone.png", backface_culling = true }},
  530. description = "Sandstone Door",
  531. inventory_image = "doors_item_sandstone.png",
  532. groups = utility.dig_groups("door_stone"),
  533. recipe = {
  534. {"default:sandstone", "techcrafts:hinge"},
  535. {"default:sandstone", "default:sandstone"},
  536. {"default:sandstone", "techcrafts:hinge"},
  537. }
  538. })
  539. doors.register("door_sandstone_locked", {
  540. tiles = {{ name = "doors_door_sandstone.png", backface_culling = true }},
  541. description = "Locked Sandstone Door",
  542. inventory_image = "doors_item_sandstone.png",
  543. groups = utility.dig_groups("door_stone"),
  544. protected = true,
  545. recipe = {
  546. {"default:sandstone", "techcrafts:hinge", ""},
  547. {"default:sandstone", "default:sandstone", "default:padlock"},
  548. {"default:sandstone", "techcrafts:hinge", ""},
  549. }
  550. })