mr:pasty_item

Pasty Item - Code References

Java Classes

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

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

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: by 127.0.0.1