Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anti-freeze fountain #201

Open
Arcanorum opened this issue Sep 25, 2021 · 0 comments
Open

Anti-freeze fountain #201

Arcanorum opened this issue Sep 25, 2021 · 0 comments
Labels
code Requires code (logic/configuration) to be created or modified. visual Requires graphic assets (particle, animation, tileset, icon) to be created or modified.
Projects

Comments

@Arcanorum
Copy link
Owner

Task description

Similar to #199, another "fountain" item should be added that when used would place down an interactive object on the ground and stay there for a set amount of time.
Any player can then interact with the fountain to get the cold resistance status effect.

References/notes

Example fountain in the DawnLike tileset:
image

Acceptance criteria

Code

  • A new item config should be added to Items.yml, called "AntiFreezeFountain".
  • When a player uses this item, a new "AntiFreezeFountain" entity should be added to the board tile the player is on. (Similar to the Trap item logic for adding a new entity.
  • When any player presses on the sprite of the fountain on the client, they should be given the ColdResistance status effect. (A new item class file should be added called "AntiFreezeFountain.js", that has a class that has a method to call when interacted with)
  • After several minutes (depending on testing), the AntiFreezeFountain entity should be removed from the game world. ("lifespan" config property)
  • Multiple fountains of any kind should not be able to be placed on the same board tile at once.
  • A new crafting recipe config should be added to CraftingRecipes.yml, that results in the new "AntiFreezeFountain" item type. Should include several anti-freeze potions and iron bars as ingredients.

Visual

  • A GUI icon that looks like a fountain, but flowing with with light-blue water (maybe with sparkles/flakes?) (like an anti-freeze potion). icon-anti-freeze-fountain.png
  • A similar entity sprite, for the thing that is placed on the ground when used. anti-freeze-fountain.png
@Arcanorum Arcanorum added code Requires code (logic/configuration) to be created or modified. visual Requires graphic assets (particle, animation, tileset, icon) to be created or modified. labels Sep 25, 2021
@Arcanorum Arcanorum added this to Backlog in Main board via automation Sep 25, 2021
@Arcanorum Arcanorum moved this from Backlog to Ready to start in Main board Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Requires code (logic/configuration) to be created or modified. visual Requires graphic assets (particle, animation, tileset, icon) to be created or modified.
Projects
No open projects
Main board
Ready to start
Development

No branches or pull requests

1 participant