Textures for injectors and extractors

master
Ben Deutsch 2015-05-07 07:02:14 +02:00
parent 62ef28ae87
commit 9deaf1585f
5 changed files with 283 additions and 2 deletions

View File

@ -764,7 +764,7 @@ they are searched for in player's inventories
minetest.register_craftitem('thirsty:injector', {
description = 'Water injector',
inventory_image = 'thirsty_bowl_16.png',
inventory_image = 'thirsty_injector.png',
})
minetest.register_craft({
output = "thirsty:injector",
@ -777,7 +777,7 @@ minetest.register_craft({
minetest.register_craftitem('thirsty:extractor', {
description = 'Water extractor',
inventory_image = 'thirsty_bowl_16.png',
inventory_image = 'thirsty_extractor.png',
})
minetest.register_craft({
output = "thirsty:extractor",

140
textures/src/extractor.svg Normal file
View File

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="extractor.svg"
inkscape:export-filename="/home/ben/progs/minetest/minetest-thirsty/textures/thirsty_birdbath_top.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<inkscape:path-effect
effect="spiro"
id="path-effect3012"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3824"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3820"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3761"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3761-8"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3012-7"
is_visible="true" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#838181"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="31.678384"
inkscape:cx="5.9243542"
inkscape:cy="7.3905077"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:window-width="1366"
inkscape:window-height="744"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:snap-global="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false">
<inkscape:grid
type="xygrid"
id="grid3755"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1036.3622)">
<path
style="fill:#ffff03;fill-opacity:1;stroke:none"
d="m 6,1038.3622 -4,4 0,4 4,4 3.9999999,0 4.0000001,-4 0,-4 -4.0000001,-4 -3.9999999,0"
id="path3010-8"
inkscape:path-effect="#path-effect3012-7"
inkscape:original-d="m 6,1038.3622 -4,4 0,4 4,4 3.9999999,0 4.0000001,-4 0,-4 -4.0000001,-4 z"
inkscape:connector-curvature="0" />
<g
id="g3859">
<path
transform="translate(0,1036.3622)"
inkscape:connector-curvature="0"
id="path3803"
d="M 6,2 8,8 10,2 z"
style="fill:#00ffff;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3803-7"
d="m 2,1046.3622 6,-2 -6,-2 z"
style="fill:#00ffff;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path3803-7-4"
d="m 10,1050.3622 -2,-6 -2,6 z"
style="fill:#00ffff;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path3803-7-4-9"
d="m 14,1042.3622 -6,2 6,2 z"
style="fill:#00ffff;fill-opacity:1;stroke:none" />
</g>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 6,2 -4,4 0,4 4,4 4,0 4,-4 0,-4 -4,-4 -4,0"
id="path3010"
inkscape:path-effect="#path-effect3012"
inkscape:original-d="m 6,2 -4,4 0,4 4,4 4,0 4,-4 0,-4 -4,-4 z"
inkscape:connector-curvature="0"
transform="translate(0,1036.3622)" />
<path
style="fill:#0000ff;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
d="M 7,6 6,7 6,9 7,10 9,10 10,9 10,7 9,6 z"
id="path3865"
inkscape:connector-curvature="0"
transform="translate(0,1036.3622)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

141
textures/src/injector.svg Normal file
View File

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="extractor.svg"
inkscape:export-filename="/home/ben/progs/minetest/minetest-thirsty/textures/thirsty_extractor.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<inkscape:path-effect
effect="spiro"
id="path-effect3012"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3824"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3820"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3761"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3761-8"
is_visible="true" />
<inkscape:path-effect
effect="spiro"
id="path-effect3012-7"
is_visible="true" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#838181"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="31.678384"
inkscape:cx="5.9243542"
inkscape:cy="7.3905077"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:window-width="1366"
inkscape:window-height="744"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:snap-global="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false">
<inkscape:grid
type="xygrid"
id="grid3755"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1036.3622)">
<path
style="fill:#00ffff;fill-opacity:1;stroke:none"
d="m 6,1038.3622 -4,4 0,4 4,4 3.9999999,0 4.0000001,-4 0,-4 -4.0000001,-4 -3.9999999,0"
id="path3010-8"
inkscape:path-effect="#path-effect3012-7"
inkscape:original-d="m 6,1038.3622 -4,4 0,4 4,4 3.9999999,0 4.0000001,-4 0,-4 -4.0000001,-4 z"
inkscape:connector-curvature="0" />
<g
id="g3859"
style="fill:#ffff00;fill-opacity:1">
<path
transform="translate(0,1036.3622)"
inkscape:connector-curvature="0"
id="path3803"
d="M 6,2 8,8 10,2 z"
style="fill:#ffff00;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3803-7"
d="m 2,1046.3622 6,-2 -6,-2 z"
style="fill:#ffff00;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path3803-7-4"
d="m 10,1050.3622 -2,-6 -2,6 z"
style="fill:#ffff00;fill-opacity:1;stroke:none" />
<path
inkscape:connector-curvature="0"
id="path3803-7-4-9"
d="m 14,1042.3622 -6,2 6,2 z"
style="fill:#ffff00;fill-opacity:1;stroke:none" />
</g>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 6,2 -4,4 0,4 4,4 4,0 4,-4 0,-4 -4,-4 -4,0"
id="path3010"
inkscape:path-effect="#path-effect3012"
inkscape:original-d="m 6,2 -4,4 0,4 4,4 4,0 4,-4 0,-4 -4,-4 z"
inkscape:connector-curvature="0"
transform="translate(0,1036.3622)" />
<path
style="fill:#0000ff;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
d="M 7,6 6,7 6,9 7,10 9,10 10,9 10,7 9,6 z"
id="path3865"
inkscape:connector-curvature="0"
transform="translate(0,1036.3622)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B