mr:pasty_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:pasty_item [2025/12/31 16:41] – Update pasty_item.txt with accurate code references mike | mr:pasty_item [2025/12/31 16:46] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Pasty Item - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Special Properties ===== | ||
| + | * Restores full hunger (Hunger.STARVING amount of energy) | ||
| + | * Price is 25 gold per item | ||
| + | * Can morph into RottenPasty when exposed to gas | ||
| + | * Sprite reference: ItemSpriteSheet.PASTY (ID: 112) | ||
| + | * PseudoPasty and RottenPasty variants exist | ||
| + | * Sometimes found as loot in levels | ||
| + | |||
| + | ===== Source Code Reference ===== | ||
| + | * energy = Hunger.STARVING in constructor | ||
| + | * morphTo(RottenPasty.class) method implements poisoning behavior | ||
| + | * price() method returns 25 * quantity() | ||
mr/pasty_item.txt · Last modified: (external edit)
