Add multiple items

master
Jeija 2013-02-11 20:22:45 +01:00
parent a9604ea54d
commit 9c9368257e
23 changed files with 213 additions and 82 deletions

BIN
crafts/corner_insulated.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
crafts/ghoststone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
crafts/luacontroller.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1,7 +1,6 @@
<?php include "header.html";?>
<div id = "article">
<img src="img/logo.png" class = "banner">
<div class = "paragraph-heading">What are mesecons?</div><br/>
<div class = "text">
"Mesecons" is a (free) mod for the game minetest-c55 (<a href="http://minetest.net">minetest.net</a>).<br/>

160
items.php
View File

@ -5,80 +5,100 @@
Click on the pictures to see a description + crafting recipes!
</div><br/>
<div id = "items">
<a href="items/mesecon.php" title="Mesecon Wire">
<img src = "textures/mesecon.png"></a>
<a href="items/mesecon_insulated.php" title="Insulated Mesecon">
<img src = "textures/mesecon_insulated.png"></a>
<div class="paragraph-heading">Conductors</div>
<a id="item" href="items/mesecon.php" title="Mesecon Wire">
<img src = "textures/mesecon.png"><div id="name">Mesecon</div></a>
<a id="item" href="items/mesecon_insulated.php" title="Insulated Mesecon">
<img src = "textures/mesecon_insulated.png"><div id="name">Insulated Wire</div></a>
<a id="item" href="items/tjunction_insulated.php" title="Insulated T-Junction">
<img src = "textures/tjunction_insulated.png"><div id="name">T-Junction</div></a>
<a id="item" href="items/corner_insulated.php" title="Insulated Corner">
<img src = "textures/corner_insulated.png"><div id="name">Corner</div></a>
<a id="item" href="items/vertical.php" title="Vertical Mesecon">
<img src = "textures/vertical.png"><div id="name">Vertical Wire</div></a>
<a id="item" href="items/mese.php" title="Mese">
<img src = "textures/mese.png"><div id="name">Mese</div></a>
<hr/>
<a href="items/powerplant.php" title="Power Plant">
<img src = "textures/powerplant.png"></a>
<a href="items/blinkyplant.php" title="Blinky Plant">
<img src = "textures/blinkyplant.png"></a>
<a href="items/switch.php" title="Mesecon Switch">
<img src = "textures/switch.png"></a>
<a href="items/objectdetector.php" title="Object/Player Detector">
<img src = "textures/objectdetector.png"></a>
<a href="items/walllever.php" title="Wall Lever">
<img src = "textures/walllever.png"></a>
<a href="items/pressureplate_wood.php" title="Wooden Pressure Plate">
<img src = "textures/pressureplate_wood.png"></a>
<a href="items/pressureplate_stone.php" title="Stone Pressure Plate">
<img src = "textures/pressureplate_stone.png"></a>
<a href="items/waterturbine.php" title="Water Turbine">
<img src = "textures/waterturbine.png"></a>
<a href="items/solarpanel.php" title="Solar Panel">
<img src = "textures/solarpanel.png"></a>
<a href="items/button.php" title="Wall Button">
<img src = "textures/button.png"></a>
<div class="paragraph-heading">Receptors</div>
<a id="item" href="items/powerplant.php" title="Power Plant">
<img src = "textures/powerplant.png"><div id="name">Power Plant</div></a>
<a id="item" href="items/blinkyplant.php" title="Blinky Plant">
<img src = "textures/blinkyplant.png"><div id="name">Blinky Plant</div></a>
<a id="item" href="items/switch.php" title="Mesecon Switch">
<img src = "textures/switch.png"><div id="name">Switch</div></a>
<a id="item" href="items/objectdetector.php" title="Object/Player Detector">
<img src = "textures/objectdetector.png"><div id="name">Object Detector</div></a>
<a id="item" href="items/walllever.php" title="Wall Lever">
<img src = "textures/walllever.png"><div id="name">Wall Lever</div></a>
<a id="item" href="items/pressureplate_wood.php" title="Wooden Pressure Plate">
<img src = "textures/pressureplate_wood.png"><div id="name">Pressure Plate</div></a>
<a id="item" href="items/pressureplate_stone.php" title="Stone Pressure Plate">
<img src = "textures/pressureplate_stone.png"><div id="name">Pressure Plate</div></a>
<a id="item" href="items/waterturbine.php" title="Water Turbine">
<img src = "textures/waterturbine.png"><div id="name">Water Turbine</div></a>
<a id="item" href="items/solarpanel.php" title="Solar Panel">
<img src = "textures/solarpanel.png"><div id="name">Solar Panel</div></a>
<a id="item" href="items/button.php" title="Wall Button">
<img src = "textures/button.png"><div id="name">Wall Button</div></a>
<hr />
<a href="items/noteblock.php" title="Note Block">
<img src = "textures/noteblock.png"></a>
<a href="items/lamp.php" title="Lamp">
<img src = "textures/lamp.png"></a>
<a href="items/piston_normal.php" title="Piston">
<img src = "textures/piston_normal.png"></a>
<a href="items/piston_sticky.php" title="Sticky Piston">
<img src = "textures/piston_sticky.png"></a>
<a href="items/movestone_normal.php" title="Movestone">
<img src = "textures/movestone_normal.png"></a>
<a href="items/movestone_sticky.php" title="Sticky Movestone">
<img src = "textures/movestone_sticky.png"></a>
<a href="items/removestone.php" title="Removestone">
<img src = "textures/removestone.png"></a>
<a href="items/lightstone_darkgrey.php" title="Dark grey Lightstone">
<img src = "textures/lightstone_darkgrey.png"></a>
<a href="items/lightstone_lightgrey.php" title="Light grey Lightstone">
<img src = "textures/lightstone_lightgrey.png"></a>
<a href="items/lightstone_green.php" title="Green Lightstone">
<img src = "textures/lightstone_green.png"></a>
<a href="items/lightstone_red.php" title="Red Lightstone">
<img src = "textures/lightstone_red.png"></a>
<a href="items/lightstone_blue.php" title="Blue Lightstone">
<img src = "textures/lightstone_blue.png"></a>
<div class="paragraph-heading">Effectors</div>
<a id="item" href="items/noteblock.php" title="Note Block">
<img src = "textures/noteblock.png"><div id="name">Noteblock</div></a>
<a id="item" href="items/lamp.php" title="Lamp">
<img src = "textures/lamp.png"><div id="name">Lamp</div></a>
<a id="item" href="items/piston_normal.php" title="Piston">
<img src = "textures/piston_normal.png"><div id="name">Piston</div></a>
<a id="item" href="items/piston_sticky.php" title="Sticky Piston">
<img src = "textures/piston_sticky.png"><div id="name">Sticky Piston</div></a>
<a id="item" href="items/movestone_normal.php" title="Movestone">
<img src = "textures/movestone_normal.png"><div id="name">Movestone</div></a>
<a id="item" href="items/movestone_sticky.php" title="Sticky Movestone">
<img src = "textures/movestone_sticky.png"><div id="name">Sticky Movestone</div></a>
<a id="item" href="items/removestone.php" title="Removestone">
<img src = "textures/removestone.png"><div id="name">Removestone</div></a>
<a id="item" href="items/ghoststone.php" title="Ghoststone">
<img src = "textures/ghoststone.png"><div id="name">Ghoststone</div></a>
<a id="item" href="items/commandblock.php" title="Command Block">
<img src = "textures/commandblock.png"><div id="name">Command Block</div></a>
<br/><b>Lightstones:</b><br/>
<a id="item" href="items/lightstone_darkgrey.php" title="Dark grey Lightstone">
<img src = "textures/lightstone_darkgrey.png"><div id="name">Dark Grey</div></a>
<a id="item" href="items/lightstone_lightgrey.php" title="Light grey Lightstone">
<img src = "textures/lightstone_lightgrey.png"><div id="name">Light Grey</div></a>
<a id="item" href="items/lightstone_green.php" title="Green Lightstone">
<img src = "textures/lightstone_green.png"><div id="name">Green</div></a>
<a id="item" href="items/lightstone_red.php" title="Red Lightstone">
<img src = "textures/lightstone_red.png"><div id="name">Red</div></a>
<a id="item" href="items/lightstone_blue.php" title="Blue Lightstone">
<img src = "textures/lightstone_blue.png"><div id="name">Blue</div></a>
<hr />
<a href="items/microcontroller.php" title="Microcontroller">
<img src = "textures/microcontroller.png"></a>
<a href="items/torch.php" title="Mesecon Torch">
<img src = "textures/torch.png"></a>
<a href="items/delayer.php" title="Delayer">
<img src = "textures/delayer.png"></a>
<a href="items/gate_diode.php" title="Diode">
<img src = "textures/gate_diode.png"></a>
<a href="items/gate_not.php" title="NOT">
<img src = "textures/gate_not.png"></a>
<a href="items/gate_and.php" title="AND Gate">
<img src = "textures/gate_and.png"></a>
<a href="items/gate_nand.php" title="NAND Gate">
<img src = "textures/gate_nand.png"></a>
<a href="items/gate_xor.php" title="XOR Gate">
<img src = "textures/gate_xor.png"></a>
<div class="paragraph-heading">Logic</div>
<a id="item" href="items/luacontroller.php" title="Luacontroller">
<img src = "textures/luacontroller.png"><div id="name">Luacontroller</div></a>
<a id="item" href="items/microcontroller.php" title="Microcontroller (deprecated)">
<img src = "textures/microcontroller.png"><div id="name">Microcontroller</div></a>
<a id="item" href="items/torch.php" title="Mesecon Torch">
<img src = "textures/torch.png"><div id="name">Mesecon Torch</div></a>
<a id="item" href="items/delayer.php" title="Delayer">
<img src = "textures/delayer.png"><div id="name">Delayer</div></a>
<a id="item" href="items/gate_diode.php" title="Diode">
<img src = "textures/gate_diode.png"><div id="name">Diode</div></a>
<a id="item" href="items/gate_not.php" title="NOT">
<img src = "textures/gate_not.png"><div id="name">NOT</div></a>
<a id="item" href="items/gate_and.php" title="AND Gate">
<img src = "textures/gate_and.png"><div id="name">AND</div></a>
<a id="item" href="items/gate_nand.php" title="NAND Gate">
<img src = "textures/gate_nand.png"><div id="name">NAND</div></a>
<a id="item" href="items/gate_xor.php" title="XOR Gate">
<img src = "textures/gate_xor.png"><div id="name">XOR</div></a>
<hr />
<a href="items/silicon.php" title="Silicon">
<img src = "textures/silicon.png"></a>
<a href="items/glue.php" title="Glue">
<img src = "textures/glue.png"></a>
<a href="items/fiber.php" title="Fiber">
<img src = "textures/fiber.png"></a>
<div class="paragraph-heading">Crafts</div>
<a id="item" href="items/silicon.php" title="Silicon">
<img src = "textures/silicon.png"><div id="name">Silicon</div></a>
<a id="item" href="items/glue.php" title="Glue">
<img src = "textures/glue.png"><div id="name">Glue</div></a>
<a id="item" href="items/fiber.php" title="Fiber">
<img src = "textures/fiber.png"><div id="name">Fiber</div></a>
</div>
</div>
<?php include "footer.html";?>

13
items/commandblock.php Normal file
View File

@ -0,0 +1,13 @@
<?php include "../header.html";?>
<div id = "article">
<div class = "article-heading">Command block</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<div class = "text">
There is no crafting recipe as this should only be available for server admins.
</div><br/>
<div class = "paragraph-heading">Description</div>
<div class = "text">
Quite similar to the Minecraft counterpart. Executes server commands.
</div>
</div>
<?php include "../footer.html";?>

View File

@ -0,0 +1,13 @@
<?php include "../header.html";?>
<div id = "article">
<div class = "article-heading">Insulated Mesecon Corner</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<img src = "../crafts/corner_insulated.png">
<br/><br/>
<div class = "paragraph-heading">Description</div>
<div class = "text">
Insulated corners are conductors that only conduct between the inputs (also not up or down).
When placing they always point to the left in direction of your vision.
</div>
</div>
<?php include "../footer.html";?>

12
items/ghoststone.php Normal file
View File

@ -0,0 +1,12 @@
<?php include "../header.html";?>
<div id = "article">
<div class = "article-heading">Ghoststone</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<img src = "../crafts/ghoststone.png">
<br/><br/>
<div class = "paragraph-heading">Description</div>
<div class = "text">
Ghoststones disappear when powered, just like Removestones. But in contrast to Removestones, they Reappear again when not powered anymore and they are also conductive.
</div>
</div>
<?php include "../footer.html";?>

19
items/luacontroller.php Normal file
View File

@ -0,0 +1,19 @@
<?php include "../header.html";?>
<div id = "article">
<div class = "article-heading">Luacontroller</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<img src = "../crafts/luacontroller.png"><br/>
<div class = "text">
(only if luacontroller is installed, otherwise gives you microcontroller)</div>
<br/>
<div class = "paragraph-heading">Description</div>
<div class = "text">
The luacontroller is an advanced programmable component.<br/>
You can simply code it in the language mesecons uses itself: Lua!<br/>
All the code runs in a sandbox, so it's completely safe (no warranty anyway)<br/>
<b>This is not completely finished, documentation is missing.<br/>
Use the microcontroller instead meanwhile.</b>
</div>
</div>
<?php include "../footer.html";?>

13
items/mese.php Normal file
View File

@ -0,0 +1,13 @@
<?php include "../header.html";?>
<div id = "article">
<div class = "article-heading">Mese</div><br/>
<div class = "paragraph-heading">Information</div>
The basic prerequesite for mesecons, can be crafted into wires and other stuff.<br/>
Have a look at the <a href="http://wiki.minetest.com/wiki/Mese">Minetest wiki</a> for more information.
<br/><br/>
<div class = "paragraph-heading">Properties</div>
<div class = "text">
Mese is a conductor. It conducts in all six directions: Up/Down/Left/Right/Forward/Backward
</div>
</div>
<?php include "../footer.html";?>

View File

@ -2,7 +2,9 @@
<div id = "article">
<div class = "article-heading">Mesecon Wire</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<img src = "../crafts/mesecon.png"><br/><br/>
<b>Old one:</b><br/>
<img src = "../crafts/mesecon.png" height=100px><br/><br/>
<b>Correct one:</b><br/>
Since Mese drops crystals anymore, you may also want to use this one:<br/>
<img src = "../crafts/mesecon_crystal.png"><br/>
(just "cook" the crystal in a furnace)

View File

@ -1,5 +1,6 @@
<?php include "../header.html";?>
<div id = "article">
<b>Deprecated! Use the LuaController instead!</b>
<div class = "article-heading">Microcontroller</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<img src = "../crafts/microcontroller.png">

View File

@ -0,0 +1,12 @@
<?php include "../header.html";?>
<div id = "article">
<div class = "article-heading">Insulated Mesecon T-Junction</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<img src = "../crafts/tjunction_insulated.png">
<br/><br/>
<div class = "paragraph-heading">Description</div>
<div class = "text">
Insulated T-Junctions are conductors that only conduct between the inputs (also not up or down).
</div>
</div>
<?php include "../footer.html";?>

13
items/vertical.php Normal file
View File

@ -0,0 +1,13 @@
<?php include "../header.html";?>
<div id = "article">
<div class = "article-heading">Vertical Mesecon Wire</div><br/>
<div class = "paragraph-heading">Craft recipe</div>
<div class = "text">There is no recipe yet :(<br/>
You can send a pull request and add one :D</div>
<br/>
<div class = "paragraph-heading">Description</div>
<div class = "text">
Vertical Mesecons only conduct up and down. Plates appear at the ends, at that place they also conduct to the side.
</div>
</div>
<?php include "../footer.html";?>

View File

@ -86,7 +86,7 @@ margin: 0 0;}
#article{
background: #ffffff;
box-shadow: 0px 8px 8px rgba(0,0,0,0.4);
border: 7px solid #eeeeee;
border: 7px solid #ffffff;
margin: 1em 0;
margin-right:auto;
margin-left:auto;
@ -112,23 +112,37 @@ margin: 0 0;}
}
#article .text {
color: #666666;
color: #222222;
font-size: 1.1em;
}
#article #items img{
#article #items #item {
display:inline-block;
background: #cccccc;
margin:3px;
text-align:center;
border: 5px solid #cccccc;
width:205px;
height:205px;
-webkit-transition:border-color 0.2s ease;
-moz-transition:border-color 0.2s ease;
transition:border-color 0.2s ease;
color:#000000;
text-decoration:none;
-webkit-transition:all 0.2s;
transition:all 0.2s;
}
#article #items img:hover{
#article #items #item:hover{
background: #666666;
border: 5px solid #666666;
border-color:#666666;
box-shadow:0px 0px 4px 4px rgba(0,0,0,0.5);
}
#article #items #item img{
background: #cccccc;
width:140px;
height:140px;
}
#article #items #item #name {
font-size:1.02em;
font-weight:bold;
}
#article .button{

BIN
textures/commandblock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
textures/ghoststone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
textures/luacontroller.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
textures/mese.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
textures/vertical.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB