mr:raw_fish_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:raw_fish_item [2026/03/27 21:47] – Wiki maintenance: Fix broken links and improve mr: namespace page Qwen Assistant | mr:raw_fish_item [2026/03/27 21:47] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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:// | ||
| + | |||
| + | <code java> | ||
| + | // From Piranha.java | ||
| + | collect(ItemFactory.itemByName(" | ||
| + | </ | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | RawFish is referenced in level configuration files as a placeable item: | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | <code json> | ||
| + | // From TestLevelSewers.json | ||
| + | {" | ||
| + | |||
| + | // From Treasury.json and SpidersTreasury.json | ||
| + | " | ||
| + | </ | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | RawFish has localized strings in all supported languages: | ||
| + | |||
| + | <code xml> | ||
| + | <!-- English (values/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | |||
| + | <!-- Russian (values-ru/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | |||
| + | <!-- German (values-de/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | |||
| + | <!-- Japanese (values-ja/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== 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**: " | ||
| + | * **Risk**: May have negative effects (implied by "eat at your own risk" description) | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | * [[https:// | ||
| + | * Food system - Part of the game's hunger mechanics | ||
mr/raw_fish_item.txt · Last modified: by 127.0.0.1
