User:Veerserif/Sandbox/CookingGrid: Difference between revisions

From Vintage Story Wiki
(is this the phantom)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:261px; height:169px; position:relative;">
<includeonly><div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:261px; height:169px; position:relative;">
<div style="left:0px; top:0px; width:261px; height:169px;">[[Image:Cooking_GUI.png|261px|link=|alt=]]</div>
<div style="left:0px; top:0px; width:261px; height:169px;">[[Image:Cooking_GUI.png|261px|link=|alt=]]</div>
<div style="left:23px; top:31px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{1-image|}}}|{{{1-image}}}|{{{1}}}}}|46px|link={{#if:{{{1-link|}}}|{{{1-link}}}|{{{1}}}}}|alt={{{1}}}|{{#if:{{{1-name|}}}|{{{1-name}}}}}]]</div>
<div style="left:23px; top:31px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{1-image|}}}|{{{1-image}}}|{{{1}}}}}|46px|link={{#if:{{{1-link|}}}|{{{1-link}}}|{{{1}}}}}|alt={{{1|}}}]]</div>
{{#if:{{{2|}}}|<div style="left:76px; top:32px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{2-image|}}}|{{{2-image}}}|{{{2}}}}}|46px|link={{#if:{{{2-link|}}}|{{{2-link}}}|{{{2}}}}}|alt={{{2}}}|{{#if:{{{2-name|}}}|{{{2-name}}}}}]]</div>}}
{{#if:{{{2|}}}|<div style="left:76px; top:32px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{2-image|}}}|{{{2-image}}}|{{{2}}}}}|46px|link={{#if:{{{2-link|}}}|{{{2-link}}}|{{{2}}}}}|alt={{{2|}}}]]</div>}}
{{#if:{{{3|}}}|<div style="left:130px; top:32px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{3-image|}}}|{{{3-image}}}|{{{3}}}}}|46px|link={{#if:{{{3-link|}}}|{{{3-link}}}|{{{3}}}}}|alt={{{3}}}|{{#if:{{{3-name|}}}|{{{3-name}}}}}]]</div>}}
{{#if:{{{3|}}}|<div style="left:130px; top:32px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{3-image|}}}|{{{3-image}}}|{{{3}}}}}|46px|link={{#if:{{{3-link|}}}|{{{3-link}}}|{{{3}}}}}|alt={{{3|}}}]]</div>}}
{{#if:{{{4|}}}|<div style="left:183px; top:32px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{4-image|}}}|{{{4-image}}}|{{{4}}}}}|46px|link={{#if:{{{4-link|}}}|{{{4-link}}}|{{{4}}}}}|alt={{{4}}}|{{#if:{{{4-name|}}}|{{{4-name}}}}}]]</div>}}
{{#if:{{{4|}}}|<div style="left:183px; top:32px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{4-image|}}}|{{{4-image}}}|{{{4}}}}}|46px|link={{#if:{{{4-link|}}}|{{{4-link}}}|{{{4}}}}}|alt={{{4|}}}]]</div>}}
<div style="left:183px; top:94px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{Output-image|}}}|{{{Output-image}}}|{{{Output|}}}}}|46px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}|{{#if:{{{Output-name|}}}|{{{Output-name}}}}}]]</div> <!--NUMBERS-->
<div style="left:183px; top:94px; width:46px; height:46px; position:absolute;">[[Image:{{#if:{{{Output-image|}}}|{{{Output-image}}}|{{{Output|}}}}}|46px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}|}}]]</div> <!--NUMBERS-->
         {{#if:{{{1N|}}}|<div style="left: 22px; top: 54px; width: 46px; height: 20px; position: absolute; overflow: hidden; text-align: right; vertical-align: text-bottom; margin: 0px 3px 3px -3px;"><span style="font-size:12px; color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">{{{1N|}}}</span></div>}}
         {{#if:{{{1N|}}}|<div style="left: 22px; top: 54px; width: 46px; height: 20px; position: absolute; overflow: hidden; text-align: right; vertical-align: text-bottom; margin: 0px 3px 3px -3px;"><span style="font-size:12px; color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">{{{1N|}}}</span></div>}}
         {{#if:{{{2N|}}}|<div style="left:76px; top:54px; width:46px; height:20px; position:absolute; overflow:hidden; text-align:right; vertical-align:text-bottom; margin: 0px 3px 3px -3px;"><span style="font-size:12px; color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">{{{2N|}}}</span></div>}}
         {{#if:{{{2N|}}}|<div style="left:76px; top:54px; width:46px; height:20px; position:absolute; overflow:hidden; text-align:right; vertical-align:text-bottom; margin: 0px 3px 3px -3px;"><span style="font-size:12px; color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">{{{2N|}}}</span></div>}}
Line 31: Line 31:
<!--Output n-->
<!--Output n-->
<div style="left:183px; top:116px; width:46px; height:20px; position:absolute; overflow:hidden;text-align: right; vertical-align: text-bottom; margin: 0px 3px 3px -3px;"><span style="text-align:right; vertical-align:text-bottom; font-size:12px; color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">0.2L</span></div>
<div style="left:183px; top:116px; width:46px; height:20px; position:absolute; overflow:hidden;text-align: right; vertical-align: text-bottom; margin: 0px 3px 3px -3px;"><span style="text-align:right; vertical-align:text-bottom; font-size:12px; color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;">0.2L</span></div>
</div>
</div><noinclude>
 
{{doc}} <!--doc preload test-->
'''TO DO:'''
</noinclude>
 
* Make the numbers use CSS instead of an image (which is what it looks like in version 1.18 anyway)
* Rethink some of the variables
 
<noinclude>

Latest revision as of 16:34, 16 May 2023

Cooking a meal is an advanced cooking method that increases the food values of all ingredients used and provides additional benefits and convenience. Cooked meals can be kept fresh for very long times in sealed crockpots; eating meals will outright halt satiety loss for a time; and the player will never waste any food from a meal when it provides more satiety than they need. Instead, they simply leave a partially-eaten serving that can be finished at a later time.

1234567890
2
6
4L
0.2L
[create | history | purge this page]Documentation
This template has no documentation. If you know how to use this template, please create it.