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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds toggleable clonability to cloneable races #18908
Conversation
Set it to WIP to gather feedback, the code is ready(???) and working. |
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.
There really should not be two similarly named but different traits for this. And we should not be checking both species_traits
and the mob for it.
I say keep the current method of NO_CLONESCAN in mob.dna.species.species_traits
over HAS_TRAIT(mob, TRAIT_NO_CLONESCAN)
.
It is the same trait, I replaced all Do you mean that I should add this to the character's species traits? |
@Miraviel Basically, keep it |
Im fine with this. To all the nay-sayers, I raise you this. Whats stopping people from just going |
Is there any indication of this before you try to pop someone in the cloner that they cannot be cloned? With Vox and Slimes, you know they can't be cloned because of their species. If there isn't already an indicator of "This person is incompatible with cloning" on the Health Analyzer, it might be rather helpful to add it, for Doctors' clarity. |
Code is still not good, I could not yet find a solution to what SteelSlayer asked from me. There should be a way to add If anyone can come up with a solution to this, that'd be appreciated.
Was considering it adding it to the health analyzer, but ultimately decided against it for the following reasons:
However, if people prefer uncloneable people to be displayed on the analyzer, I can add it, but keep in mind that it will then show for every single vox and slime people as well. |
@@ -20,6 +20,7 @@ | |||
#define DISABILITY_FLAG_DIZZY 512 | |||
#define DISABILITY_FLAG_CHAV 1024 | |||
#define DISABILITY_FLAG_DEAF 2048 | |||
#define DISABILITY_FLAG_NO_CLONESCAN 4096 |
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.
could you please bump up the indentation on the values above so they're inline?
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.
also would you make you convert these to use the bitshift operator while you are at it.
#define NO_HAIR "no_hair" | ||
#define TRAIT_NO_CLONESCAN "no_clonescan" |
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.
same here
This is getting closed until I learn more of dna2 and how species_trait works, because at the moment, I cannot figure out what Steel asked from me. rip |
THIS IS ONLY FOR SPECIES THAT CAN BE CLONED. UNCLONEABLE SPECIES CANNOT TOGGLE THIS.
THIS IS ONLY FOR SPECIES THAT CAN BE CLONED. UNCLONEABLE SPECIES CANNOT TOGGLE THIS.
THIS IS ONLY FOR SPECIES THAT CAN BE CLONED. UNCLONEABLE SPECIES CANNOT TOGGLE THIS.
What Does This PR Do
This PR adds a "disability" in character setup that allows you to make your species-wise cloneable character uncloneable. By default, it is set to "no" as all other disabilities.
Do YOU hate the cloner? Become uncloneable today!
Slime people, vox, and IPC cannot access this. Even if they can access it, this is not a toggle. This is either you add this trait or not, and if you toggle it on your human, switch to vox, save it in preferences, you won't get this trait, I added an extra check. (You would be just double uncloneable, anyhow.)
This trait cannot be accessed via genetics and there is no other way to get it other than 1) character creation 2) admin intervention. You also cannot lose this trait with in-game methods.
I also added this trait to the admin "add trait" verb.
Why It's Good For The Game
usthem suffer.Images of changes
Checked character creation with both cloneable and uncloneable species.
Vox:
Vulpkanin:
Trying to scan a person with this disability:
Testing
Changelog
馃啈
add: Added a new disability on the character creation scene, "uncloneable", to cloneable races. By turning it on, the cloner will not be able to scan your character. It starts turned off by default.
/:cl: