User:Veerserif/Sandbox/CookingGrid: Difference between revisions

From Vintage Story Wiki
(Undo revision 70995 by Veerserif (talk))
Tag: Undo
(is this the phantom)
Line 5: Line 5:
{{#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}}}|{{#if:{{{3-name|}}}|{{{3-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}}}|{{#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}}}|{{#if:{{{4-name|}}}|{{{4-name}}}}}]]</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}}}|{{#if:{{{Output-name|}}}|{{{Output-name}}}}}]]</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>}}

Revision as of 16:32, 25 March 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

TO DO:

  • 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