Skip to content

feat: make poisoned food give nausea, poison and weakness when eaten - #116

Merged
JustinasLa merged 1 commit into
mainfrom
feat/poison-effects
Nov 1, 2026
Merged

JustinasLa merged 1 commit into
mainfrom
feat/poison-effects

Conversation

@JustinasLa

Copy link
Copy Markdown
Contributor

Summary

  • Any tags.yml step can list effects as "<effect> <seconds> [level]" (Minecraft effect ids, level 1 = I). Eating a food at that step gives them, hidden tracks included.
  • The red-mushroom poison now makes the eater ill:
    • Tainted: nausea for 10 s.
    • Poisoned: nausea for 15 s and Poison I for 10 s.
    • Deadly: nausea for 20 s, Poison II for 15 s and Weakness for 60 s.
  • A well-made dish still hides the tag and its numbers, but eating it applies the effects anyway.
  • The effects apply in NutritionService.tryApplyEat, so every way of eating gets them (hand, bowl, plate, cup). They apply even when the food fills nothing, because the food is used up either way. Each eat with effects writes an EAT_EFFECTS line to the nutrition log.
  • Bad effect lines are skipped with a warning naming the step.

Documentation impact

The tags.yml header documents the effects key, the poison block's comment mentions the effects, and the README's mushroom/poison bullet is updated.

Contract

  • tags.yml only gains an optional key; steps without effects behave exactly as before.
  • Servers with their own tags.yml (Dev, Main) need the effects lines added to their poison steps to get them.

🤖 Generated with Claude Code

A tags.yml step can now list effects ("<effect> <seconds> [level]") that whoever
eats a food at that step gets, hidden tracks included, so a well-hidden red
mushroom still strikes. Tainted gives nausea for 10 s; Poisoned nausea 15 s and
Poison I 10 s; Deadly nausea 20 s, Poison II 15 s and Weakness 60 s. The effects
apply whenever the food is eaten, even when it fills nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 39b9409a-4d85-4b89-875f-9af91ec0200b
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the size:L 100-499 effective changed lines (tests excluded in mixed PRs). label Nov 1, 2026
@JustinasLa
JustinasLa merged commit a67c887 into main Nov 1, 2026
3 checks passed
@JustinasLa
JustinasLa deleted the feat/poison-effects branch November 1, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 effective changed lines (tests excluded in mixed PRs).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant