Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upAdds Filth Tolerant trait #18229
Conversation
This comment has been minimized.
This comment has been minimized.
|
? Not very used to this. |
This comment has been minimized.
This comment has been minimized.
|
Should make it so that they actively enjoy being filthy and will get a hit in moral if they are clean. |
This comment has been minimized.
This comment has been minimized.
|
Would be odd, plus this is just tolerance, not enjoyment. Working on fixing code in general. |
This comment has been minimized.
This comment has been minimized.
This is new. I do not know how I styled it wrong. Surprised this is the only error reported in second commit. |
and others
added some commits
Sep 8, 2016
This comment has been minimized.
This comment has been minimized.
Zilenan91
commented
Sep 8, 2016
|
This is just a band-aid fix to a problem that should just be removed. If people don't like filthiness they'll just be told to take the trait rather than there being actual debate on if it's worth keeping it in the game in the first place |
This comment has been minimized.
This comment has been minimized.
|
I agree, but the feature likely will not be removed. It is better to have some way around this trait, than to leave it simultaneously annoying and mandatory. Now, what am I missing here? I seem to have fixed the actual code, but some part of my formatting is generating an error. I'm not very familiar with the astyle demands. |
added some commits
Sep 8, 2016
BorkBorkGoesTheCode
reviewed
Sep 8, 2016
| @@ -299,6 +300,7 @@ player_morale::player_morale() : | |||
| const auto set_badtemper = std::bind( &player_morale::set_permanent, _1, MORALE_PERM_BADTEMPER, | |||
| _2, nullptr ); | |||
| const auto set_stylish = std::bind( &player_morale::set_stylish, _1, _2 ); | |||
| const auto set_filth_tolerant = std::bind( &player_morale::set_filth_tolerant, _1, _2 ); | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
To fix the style part you need to find astyle program and run it. @Coolthulhu probably knows more than I :P |
This comment has been minimized.
This comment has been minimized.
|
I have no idea where to look for this, but I will try. |
This comment has been minimized.
This comment has been minimized.
|
Still working on procuring astyle checker, updating repository, and trying it. But the only visible possible style failure I can see might be caused by |
This comment has been minimized.
This comment has been minimized.
|
There. Just a matter of getting astyle instead of relying upon my poor memory of style rules. Now I will just need to make Squeamish and Filth Tolerance cancel each other out. In addition, should I add the trait to the medieval peasant profession, to add to the intended humorous flavor? Or we could merely add Squeamish as a banned trait, if adding a 1-point trait is a bad idea. |
This comment has been minimized.
This comment has been minimized.
|
I'd much rather get rid of the whole filthiness morale thing. |
This comment has been minimized.
This comment has been minimized.
|
But is that ever going to happen? We can always remove this trait if we remove filth morale entirely. Dropping this pull request because of that leaves the current system broken, and still forces it upon players. |
This comment has been minimized.
This comment has been minimized.
|
Superseded by #18233 |
mugling
closed this
Sep 9, 2016
DangerNoodle
deleted the
DangerNoodle:unsqueamish
branch
Sep 9, 2016
This comment has been minimized.
This comment has been minimized.
|
Ah, thank you. Apologies for not being on to close this myself. |
DangerNoodle commentedSep 8, 2016
Adds trait to mitigate filthy clothing effect. Reasoning: psychopath is a trait that affects morale-only things, and flithy clothes are currently a morale effect. Trait point cost is inverse of squeamish, can be increased if desired.
Practical effects for filthy clothes will still apply if they exist or are added.