MovingBlocks

Add support for equipment pieces with AlterationEffects

Terasology's Equipment module (https://github.com/Terasology/Equipment) implement a basic equipment system and a character screen, along with 6 tiers of equipment - an essential component to any roleplaying gamemode.

Currently equipment items only confer changes to (physical) attack, (physical) defense, weight, and speed. One way to make the system more interesting is to attach special effects upon equipping or using the item: for instance, equipping a Helmet of Health Regeneration will allow the player to regenerate 1 HP per seconds, and a Poisoned Longsword will inflict the Poison status ailment on the targeted enemy.

Definition of 'Done'

  • A pull request is submitted to the Equipment module containing one or more special effects that affect either the player wearing/equipping the item with it or the hostile NPC damaged by a weapon with it.

Where to start?

  • The Add New Item tutorial is a good introduction to working with items in Terasology's entity system.
  • Each effect will require a new component to be added to the entity system - read more about them here.

Task tags

  • design
  • java
  • modding

Students who completed this task

Isaac

Task type

  • code Code
close

2016