mr:potion_of_frost_item
Table of Contents
Potion of Frost Item - Code References
Java Classes
- Main Class: PotionOfFrost.java
- Parent Class: UpgradablePotion.java
- Registration: ItemFactory.java#L287
- Alchemy Plant: Icecap.java#L49 (Icecap plant produces this potion)
Key Methods
- shatter(int cell) - Creates freezing cloud effect in 2-cell radius
- desc() - Returns item description from string resources
- basePrice() - Returns base price of 50 gold
- moistenArrow(Arrow arrow, Char owner) - Creates FrostArrow when moistening arrows
JSON Configuration
No specific JSON configuration file for this item. Uses default potion configuration.
String Resources
<!-- English strings --> <string name="PotionOfFrost_Name">Potion of Frost</string> <string name="PotionOfFrost_Info">Upon exposure to open air, this chemical will evaporate into a freezing cloud, causing any creature that contacts it to be frozen in place, unable to act and move.</string> <!-- Russian strings --> <string name="PotionOfFrost_Name">Зелье Мороза</string> <string name="PotionOfFrost_Info">При контакте с воздухом этот химикат испарится, образуя леденящее облачко, примораживающее к месту всякое коснувшееся его существо, лишая того возможности пошевелится.</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists.
Related Classes
- Freezing.java - Blob effect applied by shatter
- FrostArrow.java - Arrow type created by moisten effect
- Kobold.java#L21 - 10% drop chance
- WaterElemental.java#L24 - 10% drop chance
Game Constants
- Shatter Distance: 2 cells (DISTANCE constant)
- Base Price: 50 gold
- Label Index: 0 (first potion label variant)
- Quality Factor: Affects shatter radius based on potion quality/upgrade level
mr/potion_of_frost_item.txt · Last modified: by 127.0.0.1

