====== Raw Fish Item - Code References ======
===== 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:
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Piranha.java|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:
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/TestLevelSewers.json|TestLevelSewers.json]] - Placed at coordinates (13, 10)
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/Treasury.json|Treasury.json]] - Listed in item distribution
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/levelsDesc/SpidersTreasury.json|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:
raw fish
Raw fish, eat at your own risk
Fishy!
сырая рыба
Сырая рыба, ешьте на свой страх и риск
Рыбненько!
Roher Fisch
Roher Fisch, essen auf eigene Gefahr
Fischig!
生の魚
生魚は自己責任で食べること
魚っぽい!
===== 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 =====
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Piranha.java|Piranha]] - Mob that drops this item
* Food system - Part of the game's hunger mechanics