Changes

633 bytes added ,  18:04, 23 November 2021
Add references + Add the fact it doesn't function when in Dangerous state (could be double-check but I'm pretty sure about that, I also remember to have experienced it myself)
Line 14: Line 14:  
|health      = 89
 
|health      = 89
 
}}</onlyinclude>
 
}}</onlyinclude>
'''Oil of Garlic''' is a [[Crafting#Edible Items|drinkable crafted item]]. The recipe is earned at [[Combat]] skill level 6. The [[Dwarf]] also sells Oil of Garlic for {{price|3000}} each.  
+
'''Oil of Garlic''' is a [[Crafting#Edible Items|drinkable crafted item]]. The recipe is earned at [[Combat]] skill level 6. The [[Dwarf]] also sells Oil of Garlic for {{price|3000}} each.
   −
Drinking Oil of Garlic gives the [[Buffs#Oil of Garlic|Oil of Garlic Buff]] which lasts for 10 minutes (real-time). The Oil of Garlic Buff prevents floors in [[The Mines]] and [[Skull Cavern]] from being [[The Mines#Infested Floors|infested]]. It also prevents swarms of monsters accompanied by fog on any mine level. It is a special-effect buff, meaning that drinking Oil of Garlic will not remove any buffs from other drinks, or vice-versa.
+
Drinking Oil of Garlic gives the [[Buffs#Oil of Garlic|Oil of Garlic Buff]] which lasts for 10 minutes (real-time). The Oil of Garlic Buff prevents floors in [[The Mines]] and [[Skull Cavern]] from being [[The Mines#Infested Floors|infested]].<ref name="floorinfested"/> It also prevents swarms of monsters accompanied by fog on any mine level.<ref name="swarmspawn"/> It is a special-effect buff, meaning that drinking Oil of Garlic will not remove any buffs from other drinks, or vice-versa.
 +
 
 +
The Buff has no effect in [[The Mines#Shrine of Challenge|Dangerous Mines]] or [[Quests#Skull Cavern Invasion|Dangerous Skull Cavern]].<ref name="excludedangerous"/>
    
'''Note''': this recipe is profitable - it will always result in profit when using the lowest quality ingredients.
 
'''Note''': this recipe is profitable - it will always result in profit when using the lowest quality ingredients.
Line 26: Line 28:     
==Tailoring==
 
==Tailoring==
Oil of Garlic can be used in the spool of the [[2 Willow Lane#Sewing Machine|Sewing Machine]] to create the dyeable [[Tailoring|Dark Highlight Shirt]]. [[File:Shirt263a.png|24px]] It can be used in [[dyeing]], serving as a green dye at the dye pots, located in [[Emily]]'s and [[Haley]]'s house, [[2 Willow Lane]].
+
Oil of Garlic can be used in the spool of the [[2 Willow Lane#Sewing Machine|Sewing Machine]] to create the dyeable [[Tailoring|Dark Highlight Shirt]]. [[File:Shirt263a.png|24px]] It can be used in [[dyeing]], serving as a green dye at the dye pots, located in [[Emily]]'s and [[Haley]]'s house, [[2 Willow Lane]].
    
==Quests==
 
==Quests==
 
Oil of Garlic is not used in any [[quests]].
 
Oil of Garlic is not used in any [[quests]].
 +
 +
==References==
 +
<references>
 +
  <ref name="floorinfested">See <samp>Locations\MineShaft::populateLevel</samp> in the game code. Note the Oil of Garlic Buff has the index 23.</ref>
 +
  <ref name="swarmspawn">See <samp>Locations\MineShaft::performTenMinuteUpdate</samp> in the game code.</ref>
 +
  <ref name="excludedangerous">See <samp>Locations\MineShaft::AnyOnlineFarmerHasBuff</samp> in the game code.</ref>
 +
</references>
    
==History==
 
==History==
255

edits