Line 16: |
Line 16: |
| '''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 enemies from spawning the [[The Mines]], except on [[The Mines#Dungeon Floors|Dungeon Floors]].<ref name="monsterspawn"/> In [[Skull Cavern]], it prevents floors from being [[The Mines#Infested Floors|infested]], which includes [[Skull Cavern#Prehistoric Floors|Prehistoric Floors]]<ref name="floorinfested"/>, and also prevents [[The Mines#Swarms|swarms]] of monsters on any level<ref name="swarmspawn"/>. The Buff has no effect in [[The Mines#Shrine of Challenge|Dangerous Mines]] or [[Quests#Skull Cavern Invasion|Dangerous Skull Cavern]].<ref name="excludedangerous"/> | + | 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 enemies from spawning in [[The Mines]], except on [[The Mines#Dungeon Floors|Dungeon Floors]].<ref name="monsterspawn"/> In [[Skull Cavern]], it prevents floors from being [[The Mines#Infested Floors|infested]], which does not include [[Skull Cavern#Prehistoric Floors|Prehistoric Floors]]<ref name="floorinfested"/>, and also prevents [[The Mines#Swarms|swarms]] of monsters on any level<ref name="swarmspawn"/>. The Buff has no effect in [[The Mines#Shrine of Challenge|Dangerous Mines]] or [[Quests#Skull Cavern Invasion|Dangerous Skull Cavern]].<ref name="excludedangerous"/> |
| | | |
| It is a special-effect buff, meaning that drinking Oil of Garlic will not remove any buffs from other drinks, or vice-versa. | | It is a special-effect buff, meaning that drinking Oil of Garlic will not remove any buffs from other drinks, or vice-versa. |
Line 35: |
Line 35: |
| ==References== | | ==References== |
| <references> | | <references> |
− | <ref name="monsterspawn">See <samp>Locations\MineShaft::adjustLevelChances</samp> in the game code. Note the Oil of Garlic Buff has the index 23.</ref> | + | <ref name="monsterspawn">See <samp>Locations.MineShaft::adjustLevelChances</samp> in the game code. Note the Oil of Garlic Buff has the index 23.</ref> |
− | <ref name="floorinfested">See <samp>Locations\MineShaft::populateLevel</samp> in the game code.</ref> | + | <ref name="floorinfested">See <samp>Locations.MineShaft::populateLevel</samp> in the game code.</ref> |
− | <ref name="swarmspawn">See <samp>Locations\MineShaft::performTenMinuteUpdate</samp> in the game code.</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> | + | <ref name="excludedangerous">See <samp>Locations.MineShaft::AnyOnlineFarmerHasBuff</samp> in the game code.</ref> |
| </references> | | </references> |
| | | |