Initial commit
26
CHANGES.txt
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
Version 0.1.5:
|
||||
- Added recipes.
|
||||
- Partly re-written.
|
||||
- Removed original baby tower (seemed out of place).
|
||||
- You can now turn devices on and off by right-clicking.
|
||||
- Mod is now on github.
|
||||
|
||||
Version 0.1.4:
|
||||
- Added Admiral 64 & 128 (Commodore 64 & 128 lookalikes)
|
||||
|
||||
Version 0.1.3:
|
||||
- Added SX Spectre (Sinclair ZX Spectrum lookalike)
|
||||
- Added Pony SlayStation 2 (Sony PlayStation lookalike)
|
||||
- Minor fixes to textures.
|
||||
|
||||
Version 0.1.2:
|
||||
- Nodes now use the node box as selection box.
|
||||
- Added Pony SlayStation (Sony PlayStation lookalike)
|
||||
- Added Pony Vanio (Sony VAIO lookalike...err...just a generic laptop)
|
||||
|
||||
Version 0.1.1:
|
||||
- Added SheFriend SOO (Amiga 500 lookalike)
|
||||
|
||||
Version 0.1.0:
|
||||
- Initial Version only a baby tower.
|
15
LICENSE.txt
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2012 Diego Martínez <lkaezadl3@gmail.com>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
56
README.txt
Normal file
@ -0,0 +1,56 @@
|
||||
|
||||
Decorative Computers Mod for Minetest
|
||||
by Diego Martínez <kaeza@users.sf.net>
|
||||
|
||||
How to install:
|
||||
Unzip the archive an place it in minetest-base-directory/mods/minetest/
|
||||
if you have a windows client or a linux run-in-place client. If you have
|
||||
a linux system-wide instalation place it in ~/.minetest/mods/minetest/.
|
||||
If you want to install this mod only in one world create the folder
|
||||
worldmods/ in your worlddirectory.
|
||||
For further information or help see:
|
||||
http://wiki.minetest.com/wiki/Installing_Mods
|
||||
|
||||
How to use the mod:
|
||||
For now just use creative mode or the `/give' or `/giveme' chat commands
|
||||
to get the items.
|
||||
|
||||
These are the items currently defined by this mod:
|
||||
|
||||
computer:babytower
|
||||
computer:shefriendSOO
|
||||
computer:slaystation
|
||||
computer:vanio
|
||||
computer:spectre
|
||||
computer:slaystation2
|
||||
computer:admiral64
|
||||
computer:admiral128
|
||||
|
||||
There's also a `computer:computer' alias to `computer:babytower'.
|
||||
|
||||
License:
|
||||
Sourcecode: WTFPL (see below)
|
||||
Graphics: WTFPL (see below)
|
||||
|
||||
Thanks to all the people in the forums and the #minetest IRC channel for
|
||||
their support and suggestions; in no particular order:
|
||||
OldCoder, Josh, tonyka, VanessaE, davidpace, Jordach, and all the other
|
||||
sirs/madammes that I forgot to mention (sorry, please remind me if it
|
||||
was you ;) ).
|
||||
|
||||
See also:
|
||||
http://minetest.net/
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2012 Diego Martínez <lkaezadl3@gmail.com>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
31
TODO.txt
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
TO-DO List:
|
||||
|
||||
- New Nodes:
|
||||
|
||||
- Computers:
|
||||
- Modern w/flat monitor
|
||||
- Mainframe
|
||||
- My Computer :P
|
||||
|
||||
- Peripherals:
|
||||
- Printer
|
||||
- Scanner
|
||||
|
||||
- Consoles:
|
||||
- NES
|
||||
- SNES
|
||||
- DC
|
||||
|
||||
- Handhelds
|
||||
- GB/C
|
||||
- GBA
|
||||
- Calculator
|
||||
- Smartphone
|
||||
|
||||
- Animated screens
|
||||
|
||||
- Implement some kind of games (take code from `tetris' mod?). [It would be
|
||||
nice if Minetest provided a "canvas" GUI widget :)].
|
||||
|
||||
- Get more suggestions :)
|
80
computers.lua
Normal file
@ -0,0 +1,80 @@
|
||||
|
||||
-- Amiga 500 lookalike
|
||||
-- Fun fact: "Amiga" is spanish for "female friend" ("Amigo" is for male);
|
||||
-- that's why this computer was named "She Friend".
|
||||
computer.register("computer:shefriendSOO", {
|
||||
description = "SheFriendSOO";
|
||||
tiles_off = { front=true; };
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 17, 32, 32, 12 }, -- Monitor Screen
|
||||
{ 3, 3, 29, 26, 26, 3 }, -- Monitor Tube
|
||||
{ 0, 0, 0, 32, 4, 17 }, -- Keyboard
|
||||
});
|
||||
});
|
||||
|
||||
-- Some generic laptop. Sony VAIO came to mind when thinking about a name :)
|
||||
-- Fun fact: "Vanio" sounds like "baño" ("bathroom" in spanish, pronounced
|
||||
-- as something like "bah-nee-oh")
|
||||
computer.register("computer:vanio", {
|
||||
description = "Pony Vanio";
|
||||
tiles_off = { front=true; top=true; left=true; right=true; back=true; };
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 4, 32, 3, 24 }, -- Keyboard
|
||||
{ 0, 3, 25, 32, 21, 3 }, -- Screen
|
||||
});
|
||||
node_box_off = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 4, 32, 3, 24 }, -- Keyboard
|
||||
{ 0, 3, 4, 32, 3, 24 }, -- Screen
|
||||
});
|
||||
});
|
||||
|
||||
-- Sony PlayStation lookalike
|
||||
-- Fun fact: Swapping the first letters gives valid words :)
|
||||
-- Pony SureiSutteshun!!!
|
||||
computer.register("computer:slaystation", {
|
||||
description = "Pony SlayStation";
|
||||
tiles_off = { top=true; };
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 11, 32, 6, 21 }, -- Console
|
||||
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
|
||||
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
|
||||
{ 5, 0, 4, 5, 2, 5 }, -- Controller 1 Center
|
||||
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
|
||||
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
|
||||
{ 22, 0, 4, 5, 2, 5 }, -- Controller 2 Center
|
||||
});
|
||||
});
|
||||
|
||||
-- Sony PlayStation 2 lookalike
|
||||
-- Fun fact: Swapping the first letters gives valid words :)
|
||||
-- Pony SureiSutteshun!!!
|
||||
computer.register("computer:slaystation2", {
|
||||
description = "Pony SlayStation 2";
|
||||
tiles_off = { front=true; };
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 2, 2, 11, 28, 3, 19 }, -- Console (Upper part)
|
||||
{ 2, 0, 11, 26, 2, 19 }, -- Console (Lower part)
|
||||
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
|
||||
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
|
||||
{ 5, 0, 1, 5, 2, 8 }, -- Controller 1 Center
|
||||
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
|
||||
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
|
||||
{ 22, 0, 1, 5, 2, 8 }, -- Controller 2 Center
|
||||
});
|
||||
});
|
||||
|
||||
-- Sinclair ZX Spectrum lookalike
|
||||
computer.register("computer:spectre", {
|
||||
description = "SX Spectre";
|
||||
tiles_off = { };
|
||||
node_box = computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 3, 0, 0, 26, 4, 17 }, -- Keyboard
|
||||
{ 18, 0, 18, 12, 6, 14 }, -- Tape Player
|
||||
});
|
||||
);
|
1
depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
4
fusrodah/_.lua
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
local name = "foo:bar"
|
||||
local modname = name:gsub(":.*", "")
|
||||
print(modname)
|
BIN
fusrodah/craft-grid.png
Normal file
After Width: | Height: | Size: 20 KiB |
83
fusrodah/init.lua.old
Normal file
@ -0,0 +1,83 @@
|
||||
|
||||
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
||||
-- License is WTFPL (see README.txt).
|
||||
|
||||
local MODNAME = "computer";
|
||||
|
||||
if (computer ~= nil) then
|
||||
error("some other mod defined computer");
|
||||
end
|
||||
|
||||
computer = { };
|
||||
|
||||
--[[ computer.pixelnodebox:
|
||||
|
|
||||
| Helper to create node boxes.
|
||||
|
|
||||
| Parameters:
|
||||
| size Resolution of the `boxes'.
|
||||
| boxes The shape of the object.
|
||||
|
|
||||
| Return Value:
|
||||
| The new nodebox, ready to be assigned to `nodedef.node_box'.
|
||||
]]
|
||||
computer.pixelnodebox = function ( size, boxes )
|
||||
local fixed = { };
|
||||
local i, box;
|
||||
for i, box in ipairs(boxes) do
|
||||
local x, y, z, w, h, l = unpack(box);
|
||||
fixed[#fixed + 1] = {
|
||||
(x / size) - 0.5,
|
||||
(y / size) - 0.5,
|
||||
(z / size) - 0.5,
|
||||
((x + w) / size) - 0.5,
|
||||
((y + h) / size) - 0.5,
|
||||
((z + l) / size) - 0.5,
|
||||
};
|
||||
end
|
||||
return {
|
||||
type = "fixed";
|
||||
fixed = fixed;
|
||||
};
|
||||
end
|
||||
|
||||
--[[ computer.register:
|
||||
|
|
||||
| Helper to register a new computer node.
|
||||
|
|
||||
| Parameters:
|
||||
| name Short ID string used as the object name.
|
||||
| desc Description of the object for the inventory.
|
||||
| nodebox The shape of the object. Also used as selection.
|
||||
|
|
||||
| Return Value:
|
||||
| None.
|
||||
]]
|
||||
computer.register = function ( name, desc, nodebox )
|
||||
|
||||
local TEXPFX = MODNAME.."_"..name.."_";
|
||||
|
||||
minetest.register_node(MODNAME..":"..name, {
|
||||
drawtype = "nodebox";
|
||||
paramtype = "light";
|
||||
paramtype2 = "facedir";
|
||||
description = desc;
|
||||
groups = { snappy=2, choppy=2, oddly_breakable_by_hand=2 };
|
||||
tiles = {
|
||||
TEXPFX.."top.png",
|
||||
TEXPFX.."bottom.png",
|
||||
TEXPFX.."right.png",
|
||||
TEXPFX.."left.png",
|
||||
TEXPFX.."back.png",
|
||||
TEXPFX.."front.png"
|
||||
};
|
||||
node_box = nodebox;
|
||||
selection_box = nodebox;
|
||||
});
|
||||
|
||||
end
|
||||
|
||||
local MODPATH = minetest.get_modpath(MODNAME);
|
||||
dofile(MODPATH.."/nodes.lua");
|
||||
dofile(MODPATH.."/miscitems.lua");
|
||||
dofile(MODPATH.."/recipes.lua");
|
99
fusrodah/nodes.lua
Normal file
@ -0,0 +1,99 @@
|
||||
|
||||
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
||||
-- License is WTFPL (see README.txt).
|
||||
|
||||
-- Just a generic Baby Tower, modeled somewhat after my old Dell cabinet
|
||||
-- (an Intel Celeron @ 233MHz, with 160MB of ram and 4GB of disk; good
|
||||
-- old times).
|
||||
computer.register("babytower", "Baby Tower",
|
||||
computer.pixelnodebox(16, {
|
||||
-- X Y Z W H L
|
||||
{ 1, 5, 6, 14, 11, 6 }, -- Monitor Screen
|
||||
{ 3, 7, 12, 10, 7, 4 }, -- Monitor Tube
|
||||
{ 0, 0, 6, 16, 5, 10 }, -- CPU
|
||||
{ 0, 0, 0, 12, 1, 5 }, -- Keyboard
|
||||
{ 13, 0, 0, 3, 3, 5 }, -- Mouse
|
||||
})
|
||||
);
|
||||
|
||||
-- Amiga 500 lookalike
|
||||
-- Fun fact: "Amiga" is spanish for "female friend" ("Amigo" is for male);
|
||||
-- that's why this computer was named "She Friend".
|
||||
computer.register("shefriendSOO", "SheFriend SOO",
|
||||
computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 17, 32, 32, 12 }, -- Monitor Screen
|
||||
{ 3, 3, 29, 26, 26, 3 }, -- Monitor Tube
|
||||
{ 0, 0, 0, 32, 4, 17 }, -- Keyboard
|
||||
})
|
||||
);
|
||||
|
||||
-- Sony PlayStation lookalike
|
||||
-- Fun fact: Swapping the first letters gives valid words :)
|
||||
-- Pony SureiSutteshun!!!
|
||||
computer.register("slaystation", "Pony SlayStation",
|
||||
computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 11, 32, 6, 21 }, -- Console
|
||||
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
|
||||
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
|
||||
{ 5, 0, 4, 5, 2, 5 }, -- Controller 1 Center
|
||||
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
|
||||
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
|
||||
{ 22, 0, 4, 5, 2, 5 }, -- Controller 2 Center
|
||||
})
|
||||
);
|
||||
|
||||
-- Some generic laptop. Sony VAIO came to mind when thinking about a name :)
|
||||
-- Fun fact: "Vanio" sounds like "baño" ("bathroom" in spanish, pronounced
|
||||
-- as something like "bah-nee-oh")
|
||||
computer.register("vanio", "Pony Vanio",
|
||||
computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 4, 32, 3, 24 }, -- Keyboard
|
||||
{ 0, 3, 25, 32, 21, 3 }, -- Screen
|
||||
})
|
||||
);
|
||||
|
||||
-- Sinclair ZX Spectrum lookalike
|
||||
computer.register("spectre", "SX Spectre",
|
||||
computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 3, 0, 0, 26, 4, 17 }, -- Keyboard
|
||||
{ 18, 0, 18, 12, 6, 14 }, -- Tape Player
|
||||
})
|
||||
);
|
||||
|
||||
-- Sony PlayStation 2 lookalike
|
||||
computer.register("slaystation2", "Pony SlayStation 2",
|
||||
computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 2, 2, 11, 28, 3, 19 }, -- Console (Upper part)
|
||||
{ 2, 0, 11, 26, 2, 19 }, -- Console (Lower part)
|
||||
{ 1, 0, 1, 4, 2, 9 }, -- Controller 1 L Grip
|
||||
{ 10, 0, 1, 4, 2, 9 }, -- Controller 1 R Grip
|
||||
{ 5, 0, 1, 5, 2, 8 }, -- Controller 1 Center
|
||||
{ 18, 0, 1, 4, 2, 9 }, -- Controller 2 L Grip
|
||||
{ 27, 0, 1, 4, 2, 9 }, -- Controller 2 R Grip
|
||||
{ 22, 0, 1, 5, 2, 8 }, -- Controller 2 Center
|
||||
})
|
||||
);
|
||||
|
||||
-- Commodore 64 lookalike
|
||||
computer.register("admiral64", "Admiral 64",
|
||||
computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 0, 32, 4, 18 }, -- Keyboard
|
||||
})
|
||||
);
|
||||
|
||||
-- Commodore 128 lookalike
|
||||
computer.register("admiral128", "Admiral 128",
|
||||
computer.pixelnodebox(32, {
|
||||
-- X Y Z W H L
|
||||
{ 0, 0, 0, 32, 4, 27 }, -- Keyboard
|
||||
})
|
||||
);
|
||||
|
||||
-- Old node name
|
||||
minetest.register_alias("computer:computer", "computer:babytower");
|
88
init.lua
Normal file
@ -0,0 +1,88 @@
|
||||
|
||||
computer = { };
|
||||
|
||||
computer.register = function ( name, def )
|
||||
local nodename = name;
|
||||
if (name:sub(1, 1) == ":") then name = name:sub(2); end
|
||||
local modname, basename = name:match("^([^:]+):(.*)");
|
||||
local TEXPFX = modname.."_"..basename.."_";
|
||||
local ONSTATE = modname..":"..basename;
|
||||
local OFFSTATE = modname..":"..basename.."_off";
|
||||
local def = def;
|
||||
minetest.register_node(ONSTATE, {
|
||||
drawtype = "nodebox";
|
||||
paramtype = "light";
|
||||
paramtype2 = "facedir";
|
||||
description = def.description;
|
||||
groups = { snappy=2, choppy=2, oddly_breakable_by_hand=2 };
|
||||
tiles = {
|
||||
TEXPFX.."tp.png",
|
||||
TEXPFX.."bt.png",
|
||||
TEXPFX.."rt.png",
|
||||
TEXPFX.."lt.png",
|
||||
TEXPFX.."bk.png",
|
||||
TEXPFX.."ft.png",
|
||||
};
|
||||
node_box = def.node_box;
|
||||
selection_box = def.node_box;
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
if (def.on_turn_off) then
|
||||
if (def.on_turn_off(pos, node, clicker, itemstack)) then return; end
|
||||
end
|
||||
node.name = OFFSTATE;
|
||||
minetest.env:set_node(pos, node);
|
||||
nodeupdate(pos);
|
||||
end;
|
||||
});
|
||||
minetest.register_node(OFFSTATE, {
|
||||
drawtype = "nodebox";
|
||||
paramtype = "light";
|
||||
paramtype2 = "facedir";
|
||||
groups = { snappy=2, choppy=2, oddly_breakable_by_hand=2,
|
||||
not_in_creative_inventory=1 };
|
||||
tiles = {
|
||||
(TEXPFX.."tp"..(def.tiles_off.top and "_off" or "")..".png"),
|
||||
(TEXPFX.."bt"..(def.tiles_off.bottom and "_off" or "")..".png"),
|
||||
(TEXPFX.."rt"..(def.tiles_off.right and "_off" or "")..".png"),
|
||||
(TEXPFX.."lt"..(def.tiles_off.left and "_off" or "")..".png"),
|
||||
(TEXPFX.."bk"..(def.tiles_off.back and "_off" or "")..".png"),
|
||||
(TEXPFX.."ft"..(def.tiles_off.front and "_off" or "")..".png"),
|
||||
};
|
||||
node_box = def.node_box_off or def.node_box;
|
||||
selection_box = def.node_box_off or def.node_box;
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
if (def.on_turn_on) then
|
||||
if (def.on_turn_on(pos, node, clicker, itemstack)) then return; end
|
||||
end
|
||||
node.name = ONSTATE;
|
||||
minetest.env:set_node(pos, node);
|
||||
nodeupdate(pos);
|
||||
end;
|
||||
drop = ONSTATE;
|
||||
});
|
||||
end
|
||||
|
||||
computer.pixelnodebox = function ( size, boxes )
|
||||
local fixed = { };
|
||||
local i, box;
|
||||
for i, box in ipairs(boxes) do
|
||||
local x, y, z, w, h, l = unpack(box);
|
||||
fixed[#fixed + 1] = {
|
||||
(x / size) - 0.5,
|
||||
(y / size) - 0.5,
|
||||
(z / size) - 0.5,
|
||||
((x + w) / size) - 0.5,
|
||||
((y + h) / size) - 0.5,
|
||||
((z + l) / size) - 0.5,
|
||||
};
|
||||
end
|
||||
return {
|
||||
type = "fixed";
|
||||
fixed = fixed;
|
||||
};
|
||||
end
|
||||
|
||||
local MODPATH = minetest.get_modpath("computer");
|
||||
dofile(MODPATH.."/computers.lua");
|
||||
dofile(MODPATH.."/miscitems.lua");
|
||||
dofile(MODPATH.."/recipes.lua");
|
6
locale/es.txt
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
# Language: Español
|
||||
# Author: Diego Martínez <lkaezadl3@gmail.com>
|
||||
|
||||
Plastic sheet = Placa de Plastico
|
||||
Unprocessed Plastic base = Base de Plastico No Procesada
|
77
miscitems.lua
Normal file
@ -0,0 +1,77 @@
|
||||
|
||||
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
||||
-- License is WTFPL (see README.txt).
|
||||
|
||||
-- This file defines some items in order to not have to depend on other mods.
|
||||
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S;
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua");
|
||||
S = intllib.Getter(minetest.get_current_modname());
|
||||
else
|
||||
S = function ( s ) return s; end
|
||||
end
|
||||
|
||||
if (not minetest.get_modpath("homedecor")) then
|
||||
|
||||
minetest.register_craftitem(":homedecor:plastic_sheeting", {
|
||||
description = S("Plastic sheet"),
|
||||
inventory_image = "homedecor_plastic_sheeting.png",
|
||||
})
|
||||
|
||||
minetest.register_craftitem(":homedecor:plastic_base", {
|
||||
description = S("Unprocessed Plastic base"),
|
||||
wield_image = "homedecor_plastic_base.png",
|
||||
inventory_image = "homedecor_plastic_base_inv.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'homedecor:plastic_base 6',
|
||||
recipe = { "default:junglegrass",
|
||||
"default:junglegrass",
|
||||
"default:junglegrass"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'homedecor:plastic_base 3',
|
||||
recipe = { "default:dry_shrub",
|
||||
"default:dry_shrub",
|
||||
"default:dry_shrub"
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'homedecor:plastic_base 4',
|
||||
recipe = { "default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves",
|
||||
"default:leaves"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "homedecor:plastic_sheeting",
|
||||
recipe = "homedecor:plastic_base",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:plastic_base',
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = 'fuel',
|
||||
recipe = 'homedecor:plastic_sheeting',
|
||||
burntime = 30,
|
||||
})
|
||||
|
||||
end -- not homedecor
|
71
recipes.lua
Normal file
@ -0,0 +1,71 @@
|
||||
|
||||
-- Copyright (C) 2012-2013 Diego Martínez <kaeza@users.sf.net>
|
||||
-- License is WTFPL (see README.txt).
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:babytower";
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
};
|
||||
});
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:shefriendSOO";
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "default:wood", "homedecor:plastic_sheeting", },
|
||||
};
|
||||
});
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:slaystation";
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "default:wood", "homedecor:plastic_sheeting", },
|
||||
};
|
||||
});
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:vanio";
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "", "", },
|
||||
{ "default:glass", "", "" },
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
};
|
||||
});
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:spectre";
|
||||
recipe = {
|
||||
{ "", "", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
};
|
||||
});
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:slaystation2";
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
{ "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting", },
|
||||
};
|
||||
});
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:admiral64";
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
{ "default:wood", "default:wood", "default:wood", },
|
||||
};
|
||||
});
|
||||
|
||||
minetest.register_craft({
|
||||
output = "computer:admiral128";
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot", },
|
||||
};
|
||||
});
|
BIN
textures/computer_shefriendSOO_bk.png
Normal file
After Width: | Height: | Size: 310 B |
BIN
textures/computer_shefriendSOO_bt.png
Normal file
After Width: | Height: | Size: 350 B |
BIN
textures/computer_shefriendSOO_ft.png
Normal file
After Width: | Height: | Size: 935 B |
BIN
textures/computer_shefriendSOO_ft_off.png
Normal file
After Width: | Height: | Size: 897 B |
BIN
textures/computer_shefriendSOO_lt.png
Normal file
After Width: | Height: | Size: 374 B |
BIN
textures/computer_shefriendSOO_rt.png
Normal file
After Width: | Height: | Size: 370 B |
BIN
textures/computer_shefriendSOO_tp.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
textures/computer_slaystation2_back.png
Normal file
After Width: | Height: | Size: 592 B |
BIN
textures/computer_slaystation2_bottom.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
textures/computer_slaystation2_front.png
Normal file
After Width: | Height: | Size: 440 B |
BIN
textures/computer_slaystation2_front_off.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
textures/computer_slaystation2_left.png
Normal file
After Width: | Height: | Size: 549 B |
BIN
textures/computer_slaystation2_right.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
textures/computer_slaystation2_top.png
Normal file
After Width: | Height: | Size: 523 B |
BIN
textures/computer_slaystation_back.png
Normal file
After Width: | Height: | Size: 559 B |
BIN
textures/computer_slaystation_bottom.png
Normal file
After Width: | Height: | Size: 484 B |
BIN
textures/computer_slaystation_front.png
Normal file
After Width: | Height: | Size: 454 B |
BIN
textures/computer_slaystation_left.png
Normal file
After Width: | Height: | Size: 437 B |
BIN
textures/computer_slaystation_right.png
Normal file
After Width: | Height: | Size: 311 B |
BIN
textures/computer_slaystation_top.png
Normal file
After Width: | Height: | Size: 452 B |
BIN
textures/computer_slaystation_top_off.png
Normal file
After Width: | Height: | Size: 443 B |
BIN
textures/computer_vanio_bk.png
Normal file
After Width: | Height: | Size: 907 B |
BIN
textures/computer_vanio_bk_off.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
textures/computer_vanio_bt.png
Normal file
After Width: | Height: | Size: 403 B |
BIN
textures/computer_vanio_ft.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
textures/computer_vanio_ft_off.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
textures/computer_vanio_lt.png
Normal file
After Width: | Height: | Size: 374 B |
BIN
textures/computer_vanio_lt_off.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
textures/computer_vanio_rt.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
textures/computer_vanio_rt_off.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
textures/computer_vanio_tp.png
Normal file
After Width: | Height: | Size: 436 B |
BIN
textures/computer_vanio_tp_off.png
Normal file
After Width: | Height: | Size: 907 B |
BIN
textures/homedecor_plastic_base.png
Normal file
After Width: | Height: | Size: 419 B |
BIN
textures/homedecor_plastic_base_inv.png
Normal file
After Width: | Height: | Size: 561 B |
BIN
textures/homedecor_plastic_sheeting.png
Normal file
After Width: | Height: | Size: 198 B |
BIN
textures/unused/computer_admiral128_back.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
textures/unused/computer_admiral128_bottom.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
textures/unused/computer_admiral128_front.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
textures/unused/computer_admiral128_left.png
Normal file
After Width: | Height: | Size: 315 B |
BIN
textures/unused/computer_admiral128_right.png
Normal file
After Width: | Height: | Size: 315 B |
BIN
textures/unused/computer_admiral128_top.png
Normal file
After Width: | Height: | Size: 483 B |
BIN
textures/unused/computer_admiral64_back.png
Normal file
After Width: | Height: | Size: 321 B |
BIN
textures/unused/computer_admiral64_bottom.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
textures/unused/computer_admiral64_front.png
Normal file
After Width: | Height: | Size: 415 B |
BIN
textures/unused/computer_admiral64_left.png
Normal file
After Width: | Height: | Size: 331 B |
BIN
textures/unused/computer_admiral64_right.png
Normal file
After Width: | Height: | Size: 315 B |
BIN
textures/unused/computer_admiral64_top.png
Normal file
After Width: | Height: | Size: 461 B |
BIN
textures/unused/computer_babytower_back.png
Normal file
After Width: | Height: | Size: 446 B |
BIN
textures/unused/computer_babytower_bottom.png
Normal file
After Width: | Height: | Size: 446 B |
BIN
textures/unused/computer_babytower_front.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
textures/unused/computer_babytower_left.png
Normal file
After Width: | Height: | Size: 446 B |
BIN
textures/unused/computer_babytower_right.png
Normal file
After Width: | Height: | Size: 446 B |
BIN
textures/unused/computer_babytower_top.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
textures/unused/computer_computer_front_old.png
Normal file
After Width: | Height: | Size: 258 B |
BIN
textures/unused/computer_computer_top_old.png
Normal file
After Width: | Height: | Size: 273 B |
BIN
textures/unused/computer_shefriendSOO_ (copia).png
Normal file
After Width: | Height: | Size: 446 B |
BIN
textures/unused/computer_specter_back.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
textures/unused/computer_specter_bottom.png
Normal file
After Width: | Height: | Size: 484 B |
BIN
textures/unused/computer_specter_front.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
textures/unused/computer_specter_left.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
textures/unused/computer_specter_right.png
Normal file
After Width: | Height: | Size: 356 B |
BIN
textures/unused/computer_specter_top.png
Normal file
After Width: | Height: | Size: 625 B |
BIN
textures/unused/computer_spectre_back.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
textures/unused/computer_spectre_bottom.png
Normal file
After Width: | Height: | Size: 317 B |
BIN
textures/unused/computer_spectre_front.png
Normal file
After Width: | Height: | Size: 506 B |
BIN
textures/unused/computer_spectre_left.png
Normal file
After Width: | Height: | Size: 604 B |
BIN
textures/unused/computer_spectre_right.png
Normal file
After Width: | Height: | Size: 546 B |
BIN
textures/unused/computer_spectre_top.png
Normal file
After Width: | Height: | Size: 602 B |