User Tools

Site Tools


mr:rotberry_level_object

Rotberry Level Object - Code References

Java Classes

JSON Configuration

This entity is implemented in Java (WandMaker.Rotberry), no JSON configuration exists

String Resources

  • WandMaker_Rotberry_Name - “Rotberryâ€�
  • WandMaker_Rotberry_Info - “Berries of this shrub taste like sweet, sweet death.â€�
  • WandMaker_Rotberry_Effect - “The rotberry releases a cloud of toxic gas and drops a seed.â€�

<string name="WandMaker_Rotberry_Name">Rotberry</string>
<string name="WandMaker_Rotberry_Info">Berries of this shrub taste like sweet, sweet death.</string>
<string name="WandMaker_Rotberry_Effect">The rotberry releases a cloud of toxic gas and drops a seed.</string>

Lua Scripts

No dedicated Lua script; behavior implemented in Java (WandMaker.Rotberry.effect method)

Mechanics

Activation Effect (WandMaker.Rotberry.effect):

  • Creates toxic gas cloud at plant's location: `RPD.placeBlob(RPD.Blobs.ToxicGas, pos, 100)`
  • Applies Roots buff to activator: `Buff.prolong(target, “Rootsâ€�, 3f)`
  • Drops a Rotberry Seed at the plant's position
  • Removes the Rotberry level object from the level

Rotberry Seed (WandMaker.Rotberry.Seed):

  • Item that can be planted to grow a new Rotberry level object
  • Image: ItemSpriteSheet.ROTBERRY_SEED (items/artifacts.png, index)
mr/rotberry_level_object.txt · Last modified: by 127.0.0.1