Difference between revisions of "Can of grease"

From NetHackWiki
Jump to navigation Jump to search
m
m (chance to:opportunity::chance of:probability + refsrc + ver + pothole)
 
(14 intermediate revisions by 7 users not shown)
Line 9: Line 9:
 
}}
 
}}
  
 +
A '''can of grease''' is a type of [[tool]] that appears in ''[[NetHack]]''. It is made of [[iron]], and is used to '''grease''' items for various purposes. The [[oilskin cloak]] and [[oilskin sack]] act as "permanently greased" objects.
  
A '''can of grease''' can be [[apply|applied]] to grease any item. This protects items from [[rust]] and [[corrosion]], and protects the player from [[grabbing attack]]s. A [[mind flayer]] can not attach its tentacles to a greased helmet, either.
+
==Generation==
 +
Randomly-generated cans of grease are created with ''d25'' charges, and generate as 90% uncursed, 5% blessed, and 5% cursed.{{refsrc|src/mkobj.c|938|version=NetHack 3.6.7}}
  
A greased item may slip when you attempt to [[throw]] it, with the result that it falls to the ground or goes flying in a random direction. As long as you don't intend to [[throw]] the [[item]], greasing it is harmless. Feel free to grease your melee [[weapon]], boots, or any other item you want to protect.  A greased weapon has no additional protection from a [[bullwhip|whip]]'s disarm attack.{{refsrc|muse.c|1872|version=NetHack 3.6.0}}
+
While greased objects are not generated outside of [[bones]] files, [[player monster]]s on the [[Astral Plane]] have a {{frac|3}} chance of generating with a greased [[weapon]].
  
The layer of grease is not permanent: each time it protects you there is a 50% chance that it will wear off. {{refsrc|mhitu.c|781|version=NetHack 3.6.0|comment=grease wearing off from grabbing}} {{refsrc|trap.c|308|version=NetHack 3.6.0|comment=grease dissolvng from erosion}} On your next turn, you can apply your can of grease again to re-grease the item. Until that turn you will remain vulnerable, which can be a problem when fighting fast monsters.
+
==Description==
 +
[[Apply]]ing a can of grease can be used to slather any [[item]] (including your hands via {{kbd|-}}, but excluding [[Zorkmid|your wallet contents]]) in a thick layer of grease, using up one charge. Applying a can of grease that is cursed or trying to apply one while [[fumbling]] only has a 50% chance of being successful, and the can will otherwise slip from your grasp and drop to the ground, using up a charge;{{refsrc|src/apply.c|2306|version=NetHack 3.6.7}} in addition, applying a cursed can of grease successfully will also give you [[slippery fingers]].{{refsrc|src/apply.c|2324|version=NetHack 3.6.7}} A can of grease can also be used to [[untrap]] [[squeaky board]]s, using up a charge in the process.
  
If a greased piece of armor is cursed, there is only a 2/3 chance that it will protect you from grabbing or mind-sucking attacks.{{refsrc|mhitu.c|770|version=NetHack 3.6.0}}
+
Greased cans can hold a maximum of 50 charges: uncursed [[charging]] adds 1-5 charges, while blessed charging adds 6-15 charges if there are fewer than 10 charges left and 5-10 charges otherwise.
  
Grease is also useful for [[container]]s. A greased container will protect its contents from [[water damage]]. However, the water damage has a chance of dissolving the grease, at which point you must re-grease the container if you still want the protection. [[Oilskin sack]]s have such protection permanently.
+
===Greased items===
 +
Greased objects are protected from [[erosion|rust and corrosion]], as well as [[water damage]] and [[acid]] damage{{refsrc|src/trap.c|199|version=NetHack 3.6.7}}{{refsrc|src/trap.c|3485|version=NetHack 3.6.7|comment=Grease and acid}}{{refsrc|src/trap.c|3541|version=NetHack 3.6.7|name="washoff"|comment=Grease dissolving after stopping water damage.}} - greased containers protect their contents from water damage, and greased [[spellbook]]s, potions and [[scroll]]s are protected from blanking or dilution; the grease has no effect on anything that would burn or rot objects.{{refsrc|src/trap.c|169-L178|version=NetHack 3.6.7|comment=<code>check_grease</code> is set to FALSE for burning and rotting}} After successfully protecting an item from damage, the grease has a {{frac|2}} chance of wearing off. {{refsrc|src/mhitu.c|857|version=NetHack 3.6.7|comment=Grease wearing off from grabbing}}{{refsrc|src/trap.c|306|version=NetHack 3.6.7|comment=Grease dissolving from rust/corrosion}}<ref name="washoff"/>
  
A greased [[spellbook]], [[scroll]], or [[potion]] will be protected from [[blanking]] and [[dilution]] as long as the grease remains intact.{{refsrc|trap.c|3327|version=NetHack 3.6.0|comment=Grease protects everything, even scrolls.}} Scrolls probably aren't worth a charge, but if you are wishing, you might as well order them greased.
+
Greased armor on the outermost layer (e.g. usually a [[cloak]] or [[helm]]) can protect against attacks that target body parts covered by that armor: the greased armor has a {{frac|2|3}} chance of protection if it is [[cursed]], and will always protect that body part(s) otherwise.{{refsrc|src/mhitu.c|843|version=NetHack 3.6.7|comment=Grease protection in <code>u_slip_free</code>}} A greased weapon has no additional protection from a [[bullwhip]]'s disarm attack, and greased items are not any more difficult for monsters that are [[covetous]] or have theft attacks to steal.{{refsrc|src/muse.c|1910|version=NetHack 3.6.7|comment=The <code>MUSE_BULLWHIP</code> case does not check for greased status}}{{refsrc|src/mhitu.c|1336|version=NetHack 3.6.7|comment=Theft attacks do not check for greased status either}}{{refsrc|src/muse.c|1388|version=NetHack 3.6.7|comment=Covetous theft attacks also don't care if the target item is greased}}
  
When you are [[fumbling]], cursed cans and non-cursed cans will only work 50% of the time. The other 50% of the time they will [[slippery fingers|slip to the ground]], consuming a charge. If you successfully use a cursed can, your hands will be made [[slippery fingers|slippery]]. This does not happen with non-cursed cans, even when you are fumbling.{{refsrc|apply.c|2115|version=NetHack 3.6.0}} You can use a [[towel]] to wipe your hands clean. If you want to grease your hands for some reason, you can do so with a non-cursed can by choosing "-" when prompted to choose something to apply it to.
+
Greased items may slip when you attempt to [[throw]] them, similar to cursed [[projectile]]s; this will not unweld cursed weapons or other applicable tools. A greased object will also slide further along the floor than normal when [[kick]]ed.  
  
Each can of grease is generated with ''d25'' charges.{{refsrc|mkobj.c|886|version=NetHack 3.6.0}} The can may be [[charging|recharged]]; see [[Charging#Can of grease]] for more details. Grease can also be used to [[untrap]] [[trap|squeaky board]]s.
+
==Strategy==
 +
Greasing your cloak and helmet is fairly standard strategy for most players: it protects against grabbing from owlbears and [[sea monster]]s among other monsters, and [[mind flayer]]s cannot attach their tentacles to a greased helmet. It is also common to grease non-oilskin [[sack]]s and containers, particularly a [[bag of holding]], in order to protect their contents. Greasing other objects such as weapons is fine as long as you do not intend to throw them, while greasing your hands or most other items is typically unnecessary; for [[illiterate]] [[conduct]] play, grease is one of the few options you have to protect weapons and armor against erosion.
  
==Messages==
+
It is common to request an item as greased when [[wishing]] - though this seems most useful for body armor and cloaks, potions and scrolls are also worth wishing for as greased, which adds a layer of protection in the event any mishaps occur between obtaining them and their use case coming into play.
 +
 
 +
While a can of grease is commonly used in preparing [[ascension kit]]s, it may or may not be part of one itself - this depends on how many charges are left in the can and how frequently applied grease ends up wearing off.
  
{{message|You cover your <item> with a thick layer of grease.|You applied the can to <item>.}}
+
==History==
 +
The can of grease first appears in [[NetHack 3.1.0]].
  
 +
==Messages==
 +
{{message|You cover your <item> with a thick layer of grease.|You applied the can to an item.}}
 
{{message|You coat your fingers with grease.|You applied the can to your hands by specifying "-" at the prompt.}}
 
{{message|You coat your fingers with grease.|You applied the can to your hands by specifying "-" at the prompt.}}
 
 
{{message|The <monster> grabs you, but cannot hold onto your greased <armor>!|You were protected from a grabbing attack.}}
 
{{message|The <monster> grabs you, but cannot hold onto your greased <armor>!|You were protected from a grabbing attack.}}
 
 
{{message|The grease wears off.|A piece of armor is no longer greased.}}
 
{{message|The grease wears off.|A piece of armor is no longer greased.}}
 +
{{message|Some of the grease gets all over your hands.|You greased an item with a cursed can of grease, and your fingers are now slippery.}}
 +
{{message|The can of grease slips from your fingers.|The can of grease fell to the ground, either from being cursed or handled while fumbling.}}
  
{{message|Some of the grease gets all over your hands.|You greased an item, the can of grease was cursed, and your fingers are now [[slippery]].}}
+
==Variants==
 +
===GruntHack===
 +
In [[GruntHack]], wearing greased gloves grants [[slippery fingers]] as an extrinsic.
  
{{message|The can of grease slips from your fingers.|The can of grease was cursed, or you were fumbling, and it has fallen to the ground.}}
+
===UnNetHack===
 +
In [[UnNetHack]], the [[iron golem]] that can appear in the forest on the [[Ruins of Moria]]'s fifth floor has a {{frac|5}} chance of generating with a a can of grease.
  
==See also==
+
===xNetHack===
 +
In [[xNetHack]], cans of grease have a base material of [[plastic]] rather than iron.
  
* [[oilskin cloak]]
+
==Encyclopedia entry==
* [[oilskin sack]]
+
{{encyclopedia|
 +
ANOINT, v.t.  To grease a king or other great functionary already sufficiently slippery.
 +
|[ The Devil's Dictionary, by Ambrose Bierce ]
 +
}}
  
 
==References==
 
==References==
 
 
<references/>
 
<references/>
 
+
{{nethack-367}}
 
[[Category:Tools]]
 
[[Category:Tools]]
{{nethack-360}}
 

Latest revision as of 07:18, 29 October 2023

( Can of grease.png
Name can of grease
Appearance can of grease
Base price 20 zm
Weight 20
Material iron
Monster use Will not be used by monsters.

A can of grease is a type of tool that appears in NetHack. It is made of iron, and is used to grease items for various purposes. The oilskin cloak and oilskin sack act as "permanently greased" objects.

Generation

Randomly-generated cans of grease are created with d25 charges, and generate as 90% uncursed, 5% blessed, and 5% cursed.[1]

While greased objects are not generated outside of bones files, player monsters on the Astral Plane have a 13 chance of generating with a greased weapon.

Description

Applying a can of grease can be used to slather any item (including your hands via -, but excluding your wallet contents) in a thick layer of grease, using up one charge. Applying a can of grease that is cursed or trying to apply one while fumbling only has a 50% chance of being successful, and the can will otherwise slip from your grasp and drop to the ground, using up a charge;[2] in addition, applying a cursed can of grease successfully will also give you slippery fingers.[3] A can of grease can also be used to untrap squeaky boards, using up a charge in the process.

Greased cans can hold a maximum of 50 charges: uncursed charging adds 1-5 charges, while blessed charging adds 6-15 charges if there are fewer than 10 charges left and 5-10 charges otherwise.

Greased items

Greased objects are protected from rust and corrosion, as well as water damage and acid damage[4][5][6] - greased containers protect their contents from water damage, and greased spellbooks, potions and scrolls are protected from blanking or dilution; the grease has no effect on anything that would burn or rot objects.[7] After successfully protecting an item from damage, the grease has a 12 chance of wearing off. [8][9][6]

Greased armor on the outermost layer (e.g. usually a cloak or helm) can protect against attacks that target body parts covered by that armor: the greased armor has a 23 chance of protection if it is cursed, and will always protect that body part(s) otherwise.[10] A greased weapon has no additional protection from a bullwhip's disarm attack, and greased items are not any more difficult for monsters that are covetous or have theft attacks to steal.[11][12][13]

Greased items may slip when you attempt to throw them, similar to cursed projectiles; this will not unweld cursed weapons or other applicable tools. A greased object will also slide further along the floor than normal when kicked.

Strategy

Greasing your cloak and helmet is fairly standard strategy for most players: it protects against grabbing from owlbears and sea monsters among other monsters, and mind flayers cannot attach their tentacles to a greased helmet. It is also common to grease non-oilskin sacks and containers, particularly a bag of holding, in order to protect their contents. Greasing other objects such as weapons is fine as long as you do not intend to throw them, while greasing your hands or most other items is typically unnecessary; for illiterate conduct play, grease is one of the few options you have to protect weapons and armor against erosion.

It is common to request an item as greased when wishing - though this seems most useful for body armor and cloaks, potions and scrolls are also worth wishing for as greased, which adds a layer of protection in the event any mishaps occur between obtaining them and their use case coming into play.

While a can of grease is commonly used in preparing ascension kits, it may or may not be part of one itself - this depends on how many charges are left in the can and how frequently applied grease ends up wearing off.

History

The can of grease first appears in NetHack 3.1.0.

Messages

You cover your <item> with a thick layer of grease.
You applied the can to an item.
You coat your fingers with grease.
You applied the can to your hands by specifying "-" at the prompt.
The <monster> grabs you, but cannot hold onto your greased <armor>!
You were protected from a grabbing attack.
The grease wears off.
A piece of armor is no longer greased.
Some of the grease gets all over your hands.
You greased an item with a cursed can of grease, and your fingers are now slippery.
The can of grease slips from your fingers.
The can of grease fell to the ground, either from being cursed or handled while fumbling.

Variants

GruntHack

In GruntHack, wearing greased gloves grants slippery fingers as an extrinsic.

UnNetHack

In UnNetHack, the iron golem that can appear in the forest on the Ruins of Moria's fifth floor has a 15 chance of generating with a a can of grease.

xNetHack

In xNetHack, cans of grease have a base material of plastic rather than iron.

Encyclopedia entry

ANOINT, v.t. To grease a king or other great functionary already sufficiently slippery.

[ The Devil's Dictionary, by Ambrose Bierce ]

References

  1. src/mkobj.c in NetHack 3.6.7, line 938
  2. src/apply.c in NetHack 3.6.7, line 2306
  3. src/apply.c in NetHack 3.6.7, line 2324
  4. src/trap.c in NetHack 3.6.7, line 199
  5. src/trap.c in NetHack 3.6.7, line 3485: Grease and acid
  6. 6.0 6.1 src/trap.c in NetHack 3.6.7, line 3541: Grease dissolving after stopping water damage.
  7. src/trap.c in NetHack 3.6.7, line 169-L178: check_grease is set to FALSE for burning and rotting
  8. src/mhitu.c in NetHack 3.6.7, line 857: Grease wearing off from grabbing
  9. src/trap.c in NetHack 3.6.7, line 306: Grease dissolving from rust/corrosion
  10. src/mhitu.c in NetHack 3.6.7, line 843: Grease protection in u_slip_free
  11. src/muse.c in NetHack 3.6.7, line 1910: The MUSE_BULLWHIP case does not check for greased status
  12. src/mhitu.c in NetHack 3.6.7, line 1336: Theft attacks do not check for greased status either
  13. src/muse.c in NetHack 3.6.7, line 1388: Covetous theft attacks also don't care if the target item is greased