mr:seed_item
Table of Contents
Seed Item - Code References
This page contains machine-readable reference data for Seed items in Remixed Dungeon.
Java Classes
- Seed.java - Base seed class (com.watabou.pixeldungeon.plants.Seed)
- Extends: Item
- Key methods: onThrow(), _execute(), actions()
- Properties: stackable=true, imageFile=“items/seeds.png”
- Actions: AC_PLANT (plant in soil), AC_EAT (consume seed)
- Firebloom.Seed - Firebloom seed subclass
- Sungrass.Seed - Sungrass seed subclass
- Earthroot.Seed - Earthroot seed subclass
- Icecap.Seed - Icecap seed subclass
- Moongrace.Seed - Moongrace seed subclass
- Dreamweed.Seed - Dreamweed seed subclass
- Sorrowmoss.Seed - Sorrowmoss seed subclass
- Fadeleaf.Seed - Fadeleaf seed subclass
- Rotberry.Seed - Rotberry seed subclass (WandMaker quest)
- SeedPouch.java - Container for storing seeds
Plant Classes
- Plant.java - Base plant class that seeds grow into
- Firebloom.java - Fire plant (burns enemies)
- Sungrass.java - Healing plant
- Earthroot.java - Armor plant (temporary HP)
- Icecap.java - Freezing plant
- Moongrace.java - Evasion plant
- Dreamweed.java - Invisibility plant
- Sorrowmoss.java - Poison plant
- Fadeleaf.java - Teleportation plant
- Rotberry.java - Quest plant (WandMaker)
JSON Configuration
No specific JSON configuration files exist for individual seed types. Seeds are defined in Java code.
String Resources
Seed-related string resources in strings_all.xml:
<!-- Base seed --> <string name="Seed_Prototype">seed</string> <!-- Individual seeds --> <string name="FirebloomSeed_Name">Firebloom Seed</string> <string name="FirebloomSeed_Info">This seed can be planted in soil. When fresh, it glows with a warm red light.</string> <string name="SungrassSeed_Name">Sungrass Seed</string> <string name="SungrassSeed_Info">This seed can be planted in soil. When fresh, it radiates a healthy green glow.</string> <string name="IcecapSeed_Name">Icecap Seed</string> <string name="IcecapSeed_Info">This seed can be planted in soil. When fresh, it feels cold to the touch.</string> <string name="SorrowmossSeed_Name">Sorrowmoss Seed</string> <string name="SorrowmossSeed_Info">This seed can be planted in soil. When fresh, it feels rough and sharp to the touch.</string> <string name="DreamweedSeed_Name">Dreamweed Seed</string> <string name="DreamweedSeed_Info">This seed can be planted in soil. When fresh, it emanates a mysterious psychadelic glow.</string> <string name="EarthrootSeed_Name">Earthroot Seed</string> <string name="EarthrootSeed_Info">This seed can be planted in soil. When fresh, it feels quite heavy.</string> <string name="FadeleafSeed_Name">Fadeleaf Seed</string> <string name="FadeleafSeed_Info">This seed can be planted in soil. When fresh, it seems to fade in and out of existence.</string> <string name="RotberrySeed_Name">Rotberry Seed</string> <string name="RotberrySeed_Info">This seed can be planted in soil. When fresh, it emits a deathly glow.</string> <string name="MoongraceSeed_Name">Moongrace Seed</string> <string name="MoongraceSeed_Info">This seed can be planted in soil. When fresh, it shines with a soft, silver light.</string> <!-- Seed pouch --> <string name="SeedPouch_Name">Seed Pouch</string> <string name="SeedPouch_Info">This small embroidered pouch keeps your seeds fresh and organized.</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists.
Item Mechanics
- Seeds can be planted in soil tiles to grow plants
- Each seed corresponds to a specific plant type
- Seeds can be stored in SeedPouch containers
- Seeds can be eaten (provides minimal food value)
- Seeds are stackable items
- Planting action takes 1 game tick (TIME_TO_PLANT = 1f)
- Eating action takes Food.TIME_TO_EAT ticks
Sprite References
- Base seed sprite: items/seeds.png
- Individual seed sprites: Generated from plant classes
- Wiki images: firebloom_seed_item.png, sungrass_seed_item.png, etc.
Related Entities
- plant - Plants that grow from seeds
- Seed Pouch Item - Code References - Container for seeds
- Alchemy - Seeds used in alchemy recipes
- WandMaker NPC - Quest involving Rotberry seed
mr/seed_item.txt · Last modified: by 127.0.0.1
