-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Smelling Sweet #34865
Smelling Sweet #34865
Conversation
I was just about to comment on the scent issues with the ignored_by flag, this should help! Good stuff. |
Co-Authored-By: ZhilkinSerg <ZhilkinSerg@users.noreply.github.com>
Co-Authored-By: Anton Burmistrov <Night_Pryanik@mail.ru>
I said something about this, probably on Discord, but I think I was unclear. |
@@ -308,6 +308,8 @@ std::string action_ident( action_id act ) | |||
return "debug"; | |||
case ACTION_DISPLAY_SCENT: | |||
return "debug_scent"; | |||
case ACTION_DISPLAY_SCENT_TYPE: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably add an empty keybinding to data/raw/keybinding.json
:
{
"type": "keybinding",
"name": "View Scent Type",
"category": "DEFAULTMODE",
"id": "debug_scent_type"
},
Can you resolved conflicts please? |
Summary
SUMMARY: Features "Scents can have a type"
Purpose of change
Instead of every player smelling the same, now mutation can give a specific type of smell and monsters can track a specific smell.
scent_type can be defined in json and list the species able to smell them
Chloromorph
mutation now gives thesc_flower
scent that can be perceived by mammals, insects, mollusk and birds.The scent effect of
Weak Scent
,Strong Scent
andSmelly
are now defined in json withscent_intensity
entryThe scent effect of
Flowers
is now defined in json usingscent_mask
In My Sweet Cataclysm the
Made Of Sugar
mutation gives thesc_sugar
scent instead of suppressing scent. It can be tracked by mammals, insects and fungi.Describe the solution
typescent
to the scent_map that describe the type of the smellA player can still only produce one scent
tracked_scent
to monster to definde tracked scent per monster on top of the species definition in scent_type.jsonDescribe alternatives you've considered
Testing
Star a new My Sweet Cataclysm world
Turn on debug scent map
See
sc_sugar
scentMake sure that zombie are still not following the scent
Debug Chloromorph scent
Still smell of
sc_sugar
: mutation that affect scent should be made exclusiveDebug remove Sugar mutation
Smell of
sc_flower
Debug invisibility
Zombies are not tracking the scent
Save,Quit,Re-load
The scent map is still the same.
Additional context