Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Renaming dontEatTheFruit setting to a more descriptive name
Browse files Browse the repository at this point in the history
  • Loading branch information
risvh committed Dec 23, 2022
1 parent 35854f8 commit 92047e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gameSource/LivingLifePage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20525,13 +20525,13 @@ void LivingLifePage::step() {
}

if( id == ourID ) {
int dontEatTheFruit = SettingsManager::getIntSetting( "dontEatTheFruit", -1 );
int automaticInfertilityAsEve = SettingsManager::getIntSetting( "automaticInfertilityAsEve", -1 );
// TODO: If fertility age is ever not hard coded, maybe put it here?
if (dontEatTheFruit > 0 and existing->lineageEveID == ourID and existing->age < 15.0) {
if (automaticInfertilityAsEve > 0 and existing->lineageEveID == ourID and existing->age < 15.0) {
// We are Eve, not yet fertile, and have chosen not to eat the fruit. No BB plz.
Thread::staticSleep( 1000 ); // Server ignores say commands sent in the first second after creation.
sendToServerSocket((char*)"SAY 0 0 NO BB#");
printf("dontEatTheFruit set, making Eve infertile.\n");
printf("automaticInfertilityAsEve set, making Eve infertile.\n");
}
}

Expand Down

0 comments on commit 92047e1

Please sign in to comment.