Table of Contents

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:

// From Piranha.java
collect(ItemFactory.itemByName("RawFish"));

JSON Configuration

RawFish is referenced in level configuration files as a placeable item:

// 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