mr:raw_fish_item
Table of Contents
Raw Fish Item - Code References
Raw Fish is a basic food item in Remixed Pixel Dungeon. It is dropped by Piranhas and can be consumed to restore hunger, though it may have negative effects.
Java Implementation
This entity is not implemented as a separate Java class. It is a basic food item that uses the default item system.
Usage in Java code:
- Piranha.java - Piranhas drop RawFish when collected
// From Piranha.java collect(ItemFactory.itemByName("RawFish"));
JSON Configuration
RawFish is referenced in level configuration files as a placeable item:
- TestLevelSewers.json - Placed at coordinates (13, 10)
- Treasury.json - Listed in item distribution
- SpidersTreasury.json - Listed in item distribution
// From TestLevelSewers.json
{"kind":"RawFish","x":13,"y":10}
// From Treasury.json and SpidersTreasury.json
"RawFish": 0
String Resources
RawFish has localized strings in all supported languages:
<!-- English (values/strings_all.xml) --> <string name="RawFish_Name">raw fish</string> <string name="RawFish_Info">Raw fish, eat at your own risk</string> <string name="RawFish_Taste">Fishy!</string> <!-- Russian (values-ru/strings_all.xml) --> <string name="RawFish_Name">сырая рыба</string> <string name="RawFish_Info">Сырая рыба, ешьте на свой страх и риск</string> <string name="RawFish_Taste">Рыбненько!</string> <!-- German (values-de/strings_all.xml) --> <string name="RawFish_Name">Roher Fisch</string> <string name="RawFish_Info">Roher Fisch, essen auf eigene Gefahr</string> <string name="RawFish_Taste">Fischig!</string> <!-- Japanese (values-ja/strings_all.xml) --> <string name="RawFish_Name">生の魚</string> <string name="RawFish_Info">生魚は自己責任で食べること</string> <string name="RawFish_Taste">魚っぽい!</string>
Lua Scripts
No Lua scripts are associated with this entity. It is a basic consumable item.
Game Mechanics
- Type: Food item
- Rarity: Common drop from Piranhas
- Effect: Basic hunger restoration (specific values defined in game constants)
- Taste Message: “Fishy!” when consumed
- Risk: May have negative effects (implied by “eat at your own risk” description)
Related Entities
- Piranha - Mob that drops this item
- Food system - Part of the game's hunger mechanics
mr/raw_fish_item.txt · Last modified: by 127.0.0.1

