Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,10 @@ public static float GetRewardScore(Context context, string actionId)
}
else if (actionFeatures.ItemAttributes.Price >= 10 && !context.Location.Equals("midwest"))
{
rewardScore = 1.0f;
Console.WriteLine($"\nBill didn't buy {actionId} because the price was too high when not visting his friend Warren in the midwest.");
}
else if (actionFeatures.DietaryAttributes.LowCarb && context.Location.Equals("midwest"))
else if (!actionFeatures.DietaryAttributes.LowCarb && context.Location.Equals("midwest"))
{
rewardScore = 1.0f;
Console.WriteLine($"\nBill didn't buy {actionId} because it's not low-carb, and he's in the midwest visitng his friend Warren.");
}
}
Expand Down