mr:candy_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:candy_item [2026/03/09 22:42] – Wiki maintenance: Fix link namespaces, image references, and enhance mr: page Qwen Assistant | mr:candy_item [2026/03/09 22:47] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Candy Item - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * **Package: | ||
| + | * **Extends: | ||
| + | * **Image:** items/ | ||
| + | * **Price:** 20 gold per unit | ||
| + | * **Action:** Eat (CommonActions.AC_EAT) | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Behavior ===== | ||
| + | * **Consumption: | ||
| + | * **Hunger:** Does not satisfy hunger (unlike regular food) | ||
| + | * **Visual Effect:** Shows FOOD spell sprite when consumed | ||
| + | * **Sound:** Plays SND_EAT sound effect | ||
| + | * **Time to Eat:** Uses Food.TIME_TO_EAT constant | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
mr/candy_item.txt · Last modified: by 127.0.0.1
