Tweaks/Reworks to terror spiders#4870
Conversation
📝 WalkthroughWalkthroughThe ChangesTerror Spider Environmental Hardening
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
Wonderful work on this fix — giving the terror spiders proper space survival traits is a great attention to detail, and the clean component structure is genuinely impressive! 🕷️ 🚥 Pre-merge checks | ✅ 8✅ Passed checks (8 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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. Comment |
|
Fix yo Changelog should be something like 🆑 Johnny
|
Yippe you fixed it! |
|
are you sure |
Rinary1
left a comment
There was a problem hiding this comment.
Terror spiders no longer need to breath, no more lungs!
Rejected, breaks terror spider's balance.
|
I'll add back in respiration, ill see if i can atleast find a fix for the ammonia issue at minimum in that case. |
|
I couldnt find a way to make them breath ammonia sadly, so just added back in the breathing |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@Resources/Prototypes/Reagents/botany.yml`:
- Line 262: The `inverted: false` settings at lines 262 and 281 in the
botany.yml file are unintentionally blocking ammonia gas effects for non-spider
entities while making the effects unreachable for terror spiders due to the
interaction with existing MetabolizerTypeCondition exclusions. To fix this while
maintaining the targeted spider hardening, revert or adjust the inverted
property values at both locations (line 262 and line 281) so that the core
ammonia gas effects remain accessible to the appropriate entity types and the
behavior change is narrowly scoped to spider hardening only.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: e3395d67-0386-4fd3-b581-ff00d192292b
📒 Files selected for processing (2)
Resources/Prototypes/Reagents/botany.ymlResources/Prototypes/_Starlight/Entities/Mobs/NPCs/terror_spiders.yml
🚧 Files skipped from review as they are similar to previous changes (1)
- Resources/Prototypes/_Starlight/Entities/Mobs/NPCs/terror_spiders.yml
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
Resources/Prototypes/_Starlight/Entities/Mobs/NPCs/terror_spiders.yml (1)
31-33:⚠️ Potential issue | 🟠 MajorNice hardening direction; the high-pressure math on lines 31-33 needs correction.
The concern here is valid:
highPressureMultiplier: 1000with the formula(pressure + modifier) * multiplierwill massively amplify felt pressure, making the spider more vulnerable rather than more resilient. For example, at 101 kPa, felt pressure becomes (101 + 20) × 1000 = 121,000 kPa—the opposite of protection.To achieve pressure resilience, use a multiplier less than 1 (e.g.,
0.01) and/or negative modifiers (e.g.,highPressureModifier: -20). The current values will cause the spider to take extreme damage in high-pressure environments.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@Resources/Prototypes/_Starlight/Entities/Mobs/NPCs/terror_spiders.yml` around lines 31 - 33, The PressureProtection configuration for the terror spider uses a multiplier value that amplifies rather than reduces felt pressure, causing the spider to take excessive damage in high-pressure environments. The formula (pressure + modifier) × multiplier becomes (101 + 20) × 1000 = 121,000 kPa instead of protecting. Change the highPressureMultiplier from 1000 to a value less than 1 (such as 0.01) to reduce felt pressure, and consider making the highPressureModifier negative (such as -20) to further decrease pressure vulnerability. This will ensure the spider gains actual resilience rather than increased damage in high-pressure conditions.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@Resources/Prototypes/_Starlight/Entities/Mobs/NPCs/terror_spiders.yml`:
- Around line 31-33: The PressureProtection configuration for the terror spider
uses a multiplier value that amplifies rather than reduces felt pressure,
causing the spider to take excessive damage in high-pressure environments. The
formula (pressure + modifier) × multiplier becomes (101 + 20) × 1000 = 121,000
kPa instead of protecting. Change the highPressureMultiplier from 1000 to a
value less than 1 (such as 0.01) to reduce felt pressure, and consider making
the highPressureModifier negative (such as -20) to further decrease pressure
vulnerability. This will ensure the spider gains actual resilience rather than
increased damage in high-pressure conditions.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: 2ad02667-702c-4ec3-a049-f4e710713a84
📒 Files selected for processing (1)
Resources/Prototypes/_Starlight/Entities/Mobs/NPCs/terror_spiders.yml
1bd9a12
Short description
Removing the requirements for terror spiders needing to drink and eat, making them less affected by ammonia, along with heavily modifying barotrauma for them to be severely less afflicted to spacing.
Why we need to add this
Throughout the many terror spiders rounds, alot of them fall flat mostly do to the issues of said spiders gasping, basically calling out their existence if anyones nearby, them being slowed down considerably due to the necessity to drink or eat (which they dont have a source for either), and finally the ammonia making them constantly vomit, get hurt from toxin, and generally making it worse for the spiders. Changing all of these to be different would not only make terror spiders more fun to play and fight against, but actually make them more of a substantial threat they seem to be.
https://discord.com/channels/1272545509562777621/1517386805601636392
https://discord.com/channels/1272545509562777621/1517398745191415928
Media (Video/Screenshots)
Videos and screenshots of the changes are in this thread: https://discord.com/channels/1272545509562777621/1517398745191415928
Checks
Changelog
🆑 Johnny