Forum Discussion
4 years ago
"Naus;c-17899870" wrote:
The Renovation system that was added in the Sims 3 Ambitions EP has a complexity many people are unaware of.
What happened to Carl would not happen in The Sims 3:Spoiler
// Sims3.Gameplay.ActiveCareer.ActiveCareers.InteriorDesigner.Renovation
private float Metric_DirtyObjects()
{
int num = 0;
foreach (Action scoringAction in ScoringActions)
{
if (scoringAction.Origin == Origin.Owned && scoringAction.Item.Cleanable != null && scoringAction.Item.Cleanable.VisuallyDirty)
{
mbDirtyObjectsPlaced = true;
num++;
}
}
return 0f - (float)num * kMetricDirtyObjectsPointsDeductedPerDirtyObject;
}
The scoring for each renovation also takes into account:
- The Environment score (which is a BG system). The math the game uses to calculate this are extremely complex.
- Whether the player moved an object of its original location rather than buying a new one.
- Client's traits. For example, snob sims want you to spend more money; hates the outdoors sims want as few windows as possible.
- Plants, rugs and home-made items give a boost to the score.
- Extra points if you use an object whose subject is the client (like a painting or sculpture of the client) or someone from their household.
- Special actions such as discussing the renovation and taking measurements give additional score but are NOT required.
- Objects that contain the word "cheap" internally deduct points.
- The number of rooms and square tiles is stored before the renovation to use for scoring later.
There's probably just a typo in this TS4 code block: "/*Sim4.Gameplay. ...." instead of "//Sims4. ..."
Simple fix that shouldn't take more than six months.