Skip to content

WIP: Aphrodisiac visibility on foods and containers#1087

Draft
Dragometh wants to merge 9 commits intoARF-SS13:masterfrom
Dragometh:aphrodisiac-visibility
Draft

WIP: Aphrodisiac visibility on foods and containers#1087
Dragometh wants to merge 9 commits intoARF-SS13:masterfrom
Dragometh:aphrodisiac-visibility

Conversation

@Dragometh
Copy link
Copy Markdown
Contributor

About the PR

This PR will add in a preference to toggle whether one can see if a food or container is spiked with aphrodisiacs. The container will have a sprite icon overlay showing it has aphrodisiacs/aphrodisiatic drinks, if the preference is enabled. Requested by the admins.

Why / Balance

People are being too silly and injecting food at Nash with those. This is to avoid players that have the aphrodisiac consent toggle on from eating those and getting the effects applied to them non-consensually.

Technical details

STILL A WIP.
Sets all aphrodisiac and aphrodisiac drinks group to the Aphrodisiac and AphrodisiacDrink;
Make organs metabolize said groups
Make InjectorSystem add in the AphrodisiacLacedContainerVisibilityComponent when it injects a chem of one of the above grups
Make said container have an icon over it, if it has that component
Ensure the component/tag is added to FoodSequence foods (burgers and tacos)
Add the component to produce that naturally have aphrodisiac in them (breedshroom, humpshroom, pomegranate)
Add in preference to toggle this behaviour

How to test

(still a WIP)

Media

(still a WIP)

Requirements

Breaking changes

(still a WIP)

Changelog

(still a WIP)

@Superlagg
Copy link
Copy Markdown
Collaborator

Hell yeah, glad to see you working on this!

produce now check if they are laced right before they're generated
- we check seed data and if it has a horny chem then that produce is horny

first untested version of the icon system!
- listening to GetStatusIconsEvent now!
- might have to add a StatusIcon component to the affected container...

moved helper into server, I wanted to keep on shared but I think this is the right way

pulled in initial icon for this
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

RSI Diff Bot; head commit 3e6d1fa merging into 4aad63b
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_CS/Effects/aphrodisiac_laced_icon.rsi

State Old New Status
default0 Added

Edit: diff updated after 3e6d1fa

@Dragometh
Copy link
Copy Markdown
Contributor Author

Hell yeah, glad to see you working on this!

cheers, trying to get this working has been a nice exercise to get back into coding :P

will take a break from this for today, but we now have the icon properly showing on all base produce that has an aphrodisiac (like pomegranate and breed/humpshrooms) and on all other produce that gets swabbed with a chem in the Aphrodisiac/AphrodisiacDrink group. it also is applying over to burger buns once you place a swabbed laced produce into those, and should apply to any other things that gets placed that have the component (like a laced steak, once I get that going)

I did however notice a major flaw with my approach to go with a change in the InjectorSystem script - you can transfer directly from beakers to SOME foods, like the mentioned bun burger, meaning I'll have to find a way to cover that corner case too. might just make a change directly in the SolutionContainerManager scripts. but we're getting progress!

@github-actions github-actions bot added the FTL label Apr 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants