<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AMiscellania_calculator</id>
	<title>Template:Miscellania calculator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.darkan.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AMiscellania_calculator"/>
	<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Miscellania_calculator&amp;action=history"/>
	<updated>2026-07-18T12:48:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.darkan.org/index.php?title=Template:Miscellania_calculator&amp;diff=77711&amp;oldid=prev</id>
		<title>imported&gt;AzBot: Fixed links</title>
		<link rel="alternate" type="text/html" href="https://wiki.darkan.org/index.php?title=Template:Miscellania_calculator&amp;diff=77711&amp;oldid=prev"/>
		<updated>2011-09-07T13:27:52Z</updated>

		<summary type="html">&lt;p&gt;Fixed links&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#ifexpr: {{#ifeq:{{lc:{{{rt|no}}}}}|yes|({{{mine|0}}}+{{{wood|0}}}+{{{herb|0}}}+{{{fish|0}}}+{{{hard|0}}}+{{{farm|0}}})-15|({{{mine|0}}}+{{{wood|0}}}+{{{herb|0}}}+{{{fish|0}}})-10}}&amp;gt;0|&amp;lt;span style=&amp;quot;color:red; font-size:large;&amp;quot;&amp;gt;You have selected more workers than you have available. The calculations &amp;#039;&amp;#039;&amp;#039;will&amp;#039;&amp;#039;&amp;#039; be incorrect unless you reduce the numbers selcted to a maximum of {{#ifeq:{{lc:{{{rt|no}}}}}|yes|15|10}} workers.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}{{#ifexpr: {{{mine|0}}}&amp;gt;10 or {{{wood|0}}}&amp;gt;10 or {{{herb|0}}}&amp;gt;10 or {{{fish|0}}}&amp;gt;10 {{#ifeq:{{lc:{{{rt|no}}}}}|yes| or {{{hard|0}}}&amp;gt;10 or {{{farm|0}}}&amp;gt;10}}&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;You have selected too many workers for the following task(s):&lt;br /&gt;
{{#ifexpr: {{{mine|0}}}&amp;gt;10|*Mining.}}&lt;br /&gt;
{{#ifexpr:{{{wood|0}}}&amp;gt;10|.Woodcutting.}}&lt;br /&gt;
{{#ifexpr:{{{herb|0}}}&amp;gt;10|*Herbs.}}&lt;br /&gt;
{{#ifexpr:{{{fish|0}}}&amp;gt;10|*Fishing.}}&lt;br /&gt;
{{#ifeq:{{lc:{{{rt|no}}}}}|yes|&lt;br /&gt;
{{#ifexpr:{{{hard|0}}}&amp;gt;10|*Hardwood.}}&lt;br /&gt;
{{#ifexpr:{{{farm|0}}}&amp;gt;10|*Farming.}}}}&lt;br /&gt;
Please reduce the number of workers allotted to 10 or less.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}{{#vardefine:idle|{{#expr:({{#ifeq:{{lc:{{{rt|no}}}}}|yes|15-({{{mine|0}}}+{{{wood|0}}}+{{{herb|0}}}+{{{fish|0}}}+{{{hard|0}}}+{{{farm|0}}})|10-({{{mine|0}}}+{{{wood|0}}}+{{{herb|0}}}+{{{fish|0}}})}})}}}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#vardefine:mineprof|{{#expr:{{{days|1}}}*{{{mine|0}}}*({{:Exchange:Coal|View=price}}*542+4*{{AverageGemstone}}-50000)*0.1 round 0}}}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#vardefine:nest|{{#expr:{{:Exchange:Crushed nest|View=price}}+{{#ifeq:{{lc:{{{seed|no}}}}}|yes|{{:Exchange:Apple tree seed|View=price}}*0.105+{{:Exchange:Banana tree seed|View=price}}*0.071+{{:Exchange:Orange tree seed|View=price}}*0.055+{{:Exchange:Curry tree seed|View=price}}*0.042+{{:Exchange:Pineapple seed|View=price}}*0.027+{{:Exchange:Papaya tree seed|View=price}}*0.019+{{:Exchange:Palm tree seed|View=price}}*0.015+{{:Exchange:Acorn|View=price}}*0.143+{{:Exchange:Willow seed|View=price}}*0.086+{{:Exchange:Maple seed|View=price}}*0.033+{{:Exchange:Yew seed|View=price}}*0.02+{{:Exchange:Magic seed|View=price}}*0.01+{{:Exchange:Calquat tree seed|View=price}}*0.014|0}} round 0}}}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#vardefine:woodprof|{{#expr:{{{wood|0}}}*0.1*({{:Exchange:Maple logs|View=price}}*892*{{{days|1}}}+floor({{{days|1}}}*8.92)*{{#var:nest}}-50000) round 0}}}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#vardefine:herbprof|{{#expr:{{{days|1}}}*{{{herb|0}}}*({{#ifeq:{{lc:{{{flax|no}}}}}|yes|{{:Exchange:Flax|View=price}}*1250|{{:Exchange:Grimy tarromin|View=price}}*13.31+{{:Exchange:Grimy harralander|View=price}}*11.98+{{:Exchange:Grimy ranarr|View=price}}*3.39+{{:Exchange:Grimy irit|View=price}}*7.50+{{:Exchange:Grimy avantoe|View=price}}*8.17+{{:Exchange:Grimy kwuarm|View=price}}*4.54+{{:Exchange:Grimy cadantine|View=price}}*3.87+{{:Exchange:Grimy lantadyme|View=price}}*4.05+{{:Exchange:Grimy dwarf weed|View=price}}*3.75}}-50000)*0.1 round 0}}}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#vardefine:fishprof|{{#expr:{{{days|1}}}*{{{fish|0}}}*({{#ifeq:{{lc:{{{cook|no}}}}}|yes|{{:Exchange:Tuna|View=price}}*440+{{:Exchange:Swordfish|View=price}}*132|{{:Exchange:Raw tuna|View=price}}*440+{{:Exchange:Raw swordfish|View=price}}}}+{{AverageGemstone}}*4+{{:Exchange:Casket|View=price}}*5-50000)*0.1 round 0}}}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#vardefine:hardprof|{{#expr:{{{days|1}}}*{{#ifeq:{{lc:{{{rt|no}}}}}|no|0|{{{hard|0}}}}}*({{#switch:{{lc:{{{type|mahogany}}}}}|teak={{:Exchange:Teak logs|View=price}}*301+(floor({{{days|1}}}*0.86)*{{#var:nest}})/{{{days|1}}}|both={{:Exchange:Mahogany logs|View=price}}*121+{{:Exchange:Teak logs|View=price}}*121+(floor(102*{{{days|1}}}/175)*{{#var:nest}})/{{{days|1}}}|mahogany|#default={{:Exchange:Mahogany logs|View=price}}*204+(floor(121*{{{days|1}}}/175)*{{#var:nest}})/{{{days|1}}}}}-50000)*0.1 round 0}}}}&amp;lt;!--&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{#vardefine:farmprof|{{#expr:{{#ifeq:{{lc:{{{rt|no}}}}}|no|0|{{{days|0}}}*{{{farm|0}}}}}*({{:Exchange:Potato seed|View=price}}*93+{{:Exchange:Onion seed|View=price}}*69+{{:Exchange:Cabbage seed|View=price}}*34+{{:Exchange:Tomato seed|View=price}}*35+{{:Exchange:Sweetcorn seed|View=price}}*12+{{:Exchange:Strawberry seed|View=price}}*2+{{:Exchange:Watermelon seed|View=price}}+{{:Exchange:Barley seed|View=price}}*17+{{:Exchange:Hammerstone seed|View=price}}*27+{{:Exchange:Asgarnian seed|View=price}}*16+{{:Exchange:Jute seed|View=price}}*20+{{:Exchange:Yanillian seed|View=price}}*10+{{:Exchange:Krandorian seed|View=price}}*6+{{:Exchange:Wildblood seed|View=price}}*4+{{:Exchange:Marigold seed|View=price}}*27+{{:Exchange:Rosemary seed|View=price}}*9+{{:Exchange:Nasturtium seed|View=price}}*11+{{:Exchange:Woad seed|View=price}}*4+{{:Exchange:Limpwurt seed|View=price}}*6+{{:Exchange:Guam seed|View=price}}*6+{{:Exchange:Marrentill seed|View=price}}*7+{{:Exchange:Tarromin seed|View=price}}*3+{{:Exchange:Irit seed|View=price}}*2+{{:Exchange:Ranarr seed|View=price}}+{{:Exchange:Avantoe seed|View=price}}+{{:Exchange:Snapdragon seed|View=price}}+{{:Exchange:Redberry seed|View=price}}*20+{{:Exchange:Cadavaberry seed|View=price}}*11+{{:Exchange:Dwellberry seed|View=price}}*5+{{:Exchange:Jangerberry seed|View=price}}*2+{{:Exchange:Poison ivy seed|View=price}}+{{:Exchange:Bittercap mushroom spore|View=price}}+{{:Exchange:Cactus seed|View=price}}+{{:Exchange:Belladonna seed|View=price}}+({{:Exchange:Willow seed|View=price}}+{{:Exchange:Maple seed|View=price}}+{{:Exchange:Apple tree seed|View=price}}+{{:Exchange:Orange tree seed|View=price}})/2 - 50000)*0.1 round 0}}}}&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
![[File:Miscellania mining.png|Mining]]&lt;br /&gt;
!&amp;lt;div style=&amp;quot;width:9px; height:50px; border-width:2px 3px; border-style:solid; border-color:#442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#expr:5*(10-{{{mine|0}}})}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{{mine|0}}}&lt;br /&gt;
![[File:Miscellania wood.png|Woodcutting maples]]&lt;br /&gt;
|&amp;lt;div style=&amp;quot;width:9px; height:50px; border-width:2px 3px; border-style:solid; border-color:#442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#expr:5*(10-{{{wood|0}}})}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{{wood|0}}}&lt;br /&gt;
! {{#ifeq:{{lc:{{{flax|no}}}}}|yes|[[File:Miscellania flax.png|Flax]]|[[File:Miscellania herbs.png|Herbs]]}}&lt;br /&gt;
!&amp;lt;div style=&amp;quot;width:9px; height:50px; border-width:2px 3px; border-style:solid; border-color:#442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#expr:5*(10-{{{herb|0}}})}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{{herb|0}}}&lt;br /&gt;
![[File:Miscellania idle.png|Idle]]&lt;br /&gt;
!{{#ifeq:{{lc:{{{rt|no}}}}}|yes|&amp;lt;div style=&amp;quot;width:10px; height:68px; border:3px solid #442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#ifexpr:{{#var:idle}}&amp;gt;15|68|{{#expr:68*(15-{{#var:idle|0}})/15 round 0}}}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;|&amp;lt;div style=&amp;quot;width:9px; height:50px; border-width:2px 3px; border-style:solid; border-color:#442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#ifexpr:{{#var:idle}}&amp;gt;10|50|{{#expr:5*(10-{{#var:idle|0}})}}}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;}}&lt;br /&gt;
{{#expr:{{#var:idle}}}}&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{#var:mineprof}}}}&amp;lt;ref&amp;gt;The number of gems obtained can significantly affect this value.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{#var:woodprof}}}}{{#ifeq:{{lc:{{{seed|no}}}}}|yes|{{#tag:ref|Seeds are accounted for. Note that this is an approximate value, your actual value may vary significantly.}}|{{#tag:ref|Seeds are not accounted for. Note that they will probably increase your profit significantly.}}}}{{#tag:ref|Extra nests can be obtained by collecting less often.|name=b}}&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{#var:herbprof}}}}{{#tag:ref|Note that this value is approximate. Your actual value may vary significantly.|name=a}}&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{{days|1}}}*{{#var:idle}}*-5000}}&lt;br /&gt;
|-&lt;br /&gt;
! {{#ifeq:{{lc:{{{cook|no}}}}}|yes|[[File:Miscellania cooked.png|Cooked fish]]|[[File:Miscellania raw.png|Raw fish]]}}&lt;br /&gt;
!&amp;lt;div style=&amp;quot;width:9px; height:50px; border-width:2px 3px; border-style:solid; border-color:#442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#expr:5*(10-{{{fish|0}}})}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{{fish|0}}}&lt;br /&gt;
! {{#switch:{{lc:{{{type|mahogany}}}}}|teak=[[File:Miscellania teak.png|Teak]]|both=[[File:Miscellania both.png|Both hardwoods]]|mahogany|#default=[[File:Miscellania mahogany.png|Mahogany]]}}&lt;br /&gt;
!&amp;lt;div style=&amp;quot;width:9px; height:50px; border-width:2px 3px; border-style:solid; border-color:#442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#ifeq:{{lc:{{{rt|no}}}}}|yes|{{#expr:5*(10-{{{hard|0}}})}}|50}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#ifeq:{{lc:{{{rt|no}}}}}|no|0|{{{hard|0}}}}}&lt;br /&gt;
![[File:Miscellania farm.png|Farming]]&lt;br /&gt;
!&amp;lt;div style=&amp;quot;width:9px; height:50px; border-width:2px 3px; border-style:solid; border-color:#442D22; background:white;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background:black; height:{{#ifeq:{{lc:{{{rt|no}}}}}|yes|{{#expr:5*(10-{{{farm|0}}})}}|50}}px;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#ifeq:{{lc:{{{rt|no}}}}}|no|0|{{{farm|0}}}}}&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[File:Miscellania total.png|Total profit]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{#var:fishprof}}}}&amp;lt;ref&amp;gt;The number of gems obtained and rewards from clue scrolls can significantly affect this value.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{#var:hardprof}}}}{{NamedRef|b}}&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{#var:farmprof}}}}{{#ifeq:{{lc:{{{rt|no}}}}}|yes|{{NamedRef|a}}}}&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|{{Coins|Amount={{#expr:({{#var:mineprof}})+({{#var:woodprof}})+({{#var:herbprof}})+({{#var:fishprof}})+({{#var:farmprof}})+({{#var:hardprof}})-({{#var:idle}}*5000*{{{days|1}}})}}}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&amp;lt;noinclude&amp;gt;{{clear}}&lt;br /&gt;
{{/doc}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;AzBot</name></author>
	</entry>
</feed>