Compare commits
4 Commits
b8eb6ca667
...
master
Author | SHA1 | Date | |
---|---|---|---|
2bf8f0a310 | |||
57c1726644 | |||
f961ababa4 | |||
56ae31acdf |
@@ -1,64 +0,0 @@
|
||||
|
||||
-- Created by jogag
|
||||
-- Part of the Digiline Stuff pack
|
||||
-- Mod: crafting recipes for all devices
|
||||
-- Also adds recipes for RTC and Lightsensor
|
||||
|
||||
------------------------------
|
||||
-- DIGILINE BUILTIN DEVICES --
|
||||
------------------------------
|
||||
|
||||
-- RTC
|
||||
minetest.register_craft({
|
||||
output = "digilines_rtc:rtc 2",
|
||||
recipe = {
|
||||
{ "default:steel_ingot" },
|
||||
{ "mesecons_materials:silicon" },
|
||||
{ "digilines:wire_std_00000000" },
|
||||
},
|
||||
})
|
||||
|
||||
-- Light sensor
|
||||
minetest.register_craft({
|
||||
output = "digilines_lightsensor:lightsensor 2",
|
||||
recipe = {
|
||||
{ "homedecor:plastic", "default:glass" },
|
||||
{ "", "mesecons_materials:silicon" },
|
||||
{ "", "digilines:wire_std_00000000" },
|
||||
},
|
||||
})
|
||||
|
||||
-------------------------
|
||||
-- DIGILINE STUFF PACK --
|
||||
-------------------------
|
||||
|
||||
-- Memory chip (16 spaces)
|
||||
minetest.register_craft({
|
||||
output = "digilines_memory:memory_1",
|
||||
recipe = {
|
||||
{ "mesecons_materials:silicon", "mesecons_materials:silicon", "mesecons_materials:silicon" },
|
||||
{ "group:mesecon_conductor_craftable", "default:mese_crystal_fragment", "group:mesecon_conductor_craftable" },
|
||||
{ "mesecons_materials:fiber", "digilines:wire_std_00000000", "mesecons_materials:fiber" },
|
||||
},
|
||||
})
|
||||
|
||||
-- Weather sensor
|
||||
minetest.register_craft({
|
||||
output = "digilines_weather_sensor:sensor 2",
|
||||
recipe = {
|
||||
{ "default:stick" },
|
||||
{ "mesecons_materials:silicon" },
|
||||
{ "digilines:wire_std_00000000" },
|
||||
},
|
||||
})
|
||||
|
||||
-- Digiprinter
|
||||
minetest.register_craft({
|
||||
output = "digiprinter:printer",
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "", "" },
|
||||
{ "digilines:wire_std_00000000", "default:mese_crystal", "homedecor:plastic_sheeting" },
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
||||
},
|
||||
})
|
||||
|
@@ -1 +0,0 @@
|
||||
digilines
|
@@ -91,14 +91,4 @@ for i, s in ipairs(MEMORY_CHIPS) do
|
||||
end,
|
||||
})
|
||||
|
||||
if i ~= 1 then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "digilines_memory:memory_"..i,
|
||||
recipe = {
|
||||
"digilines_memory:memory_"..(i - 1),
|
||||
"digilines_memory:memory_"..(i - 1),
|
||||
},
|
||||
})
|
||||
end
|
||||
end
|
||||
|
2
digilines_memory/mod.conf
Normal file
2
digilines_memory/mod.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
name=digilines_memory
|
||||
depends=digilines
|
@@ -1,2 +0,0 @@
|
||||
digilines
|
||||
memorandum
|
@@ -81,6 +81,7 @@ minetest.register_node("digiprinter:printer", {
|
||||
tiles = {"digiprinter_t.png","digiprinter_bt.png","digiprinter_l.png",
|
||||
"digiprinter_r.png","digiprinter_b.png","digiprinter_f.png"},
|
||||
paramtype = "light",
|
||||
use_texture_alpha = "clip",
|
||||
paramtype2 = "facedir",
|
||||
walkable = true,
|
||||
groups = {snappy=3},
|
||||
|
2
digiprinter/mod.conf
Normal file
2
digiprinter/mod.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
name=digiprinter
|
||||
depends=digilines, memorandum
|
@@ -1,79 +0,0 @@
|
||||
|
||||
-- Created by jogag
|
||||
-- Part of the Digiline Stuff pack
|
||||
-- Mod: Plastic from homedecor, if homedecor is not installed :)
|
||||
-- + Also checks for pipeworks!
|
||||
|
||||
-- Texture license: from VanessaE, WTFPL
|
||||
|
||||
if not minetest.get_modpath("homedecor") and not minetest.get_modpath("pipeworks") then
|
||||
|
||||
minetest.register_craftitem(":homedecor:oil_extract", {
|
||||
description = "Oil extract",
|
||||
inventory_image = "homedecor_oil_extract.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":homedecor:paraffin", {
|
||||
description = "Unprocessed paraffin",
|
||||
inventory_image = "homedecor_paraffin.png",
|
||||
})
|
||||
|
||||
minetest.register_alias("homedecor:plastic_base", "homedecor:paraffin")
|
||||
|
||||
minetest.register_craftitem(":homedecor:plastic_sheeting", {
|
||||
description = "Plastic sheet",
|
||||
inventory_image = "homedecor_plastic_sheeting.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:oil_extract 6",
|
||||
recipe = { "default:junglegrass",
|
||||
"default:junglegrass",
|
||||
"default:junglegrass"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:oil_extract 3",
|
||||
recipe = { "default:dry_shrub",
|
||||
"default:dry_shrub",
|
||||
"default:dry_shrub"
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "homedecor:oil_extract 4",
|
||||
recipe = { "default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "homedecor:paraffin",
|
||||
recipe = "homedecor:oil_extract",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "homedecor:paraffin",
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "homedecor:plastic_sheeting",
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
minetest.register_alias("pipeworks:oil_extract", "homedecor:oil_extract")
|
||||
minetest.register_alias("pipeworks:paraffin", "homedecor:paraffin")
|
||||
minetest.register_alias("pipeworks:plastic_sheeting", "homedecor:plastic_sheeting")
|
||||
end
|
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 345 B |
Binary file not shown.
Before Width: | Height: | Size: 293 B |
Reference in New Issue
Block a user