User Tools

Site Tools


mr:pasty_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:pasty_item [2025/12/31 16:41] – Update pasty_item.txt with accurate code references mikemr: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://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/food/Pasty.java|Pasty.java]]
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="Pasty_Name">pasty</string>
 +<string name="Pasty_Info">This is an authentic Cornish pasty with the traditional filling of beef and potato.</string>
 +<string name="RottenPasty_Name">Rotten pasty</string>
 +<string name="RottenPasty_Info">This pasty looks quite nasty.</string>
 +<string name="PseudoPasty_Name">pasty</string>
 +<string name="PseudoPasty_Info">This is an authentic Cornish pasty with the traditional filling of beef and potato.</string>
 +</code>
 +
 +===== 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)