Genie Lamp Justice

SCREENSHOTS
Downloaded 2,089 times 78 Thanks 14 Favourited 10,661 Views
 Say Thanks!
While you are playing on an inhabited lot, your Sims will have a chance to get a genie lamp every 3 days. Originally, the chance for it is calculated using the following formula:
  • 2 percentage points
  • + 2 p.p. for each Sim having their lifetime aspiration higher than 66%
  • + 1 p.p. for each Sim having at least 8 points of enthusiasm towards a hobby (there are 10 hobbies in total so one Sim can add up to 10 p.p. to the chance this way)
This means that struggling or unenthusiastic families have little chance of getting a genie lamp, and genie lamps aren't really rare in general. This mod solves both problems.

New rules
With this mod, a single chance of getting a genie lamp is calculated in a simple way:
  • number of family members (excluding pets)
  • multiplied by X percentage points, where X depends on the config file you choose:
    0.05, 0.1, 0.25, or 0.5.
So, for example, if you play a 4-member family and have installed the 0.5 config file, the chance is 2% (= 4 × 0.5 p.p.).

This mod consists of 2 parts:
  • core: changes the way the chance is calculated,
  • config: contains the X value.
You need both core and config parts to make this mod work.
Use only one config version at a time.
Tuning
You can change the X by editing the behavior constant of the config file in SimPe.

You have to enter your new X in a numerator and denominator form, e.g. 0.7 = 7 (numerator) / 10 (denominator).

How many days must pass to be at least 50% sure that a family will get a genie lamp?
Originally, in the worst case (a distressed and unenthusiastic family – 2% per day): 105 days.
But one family member having a high LTA (4% per day) reduces the time to 51 days.
2 members having a high LTA and 4 members having high enthusiasm towards a hobby (10% per day) reduce it to 21 days.
In theory, the time can be even reduced to 3 days in a highly fulfilled and enthusiastic family – it's really difficult to achieve though.

With this mod, an answer to this question depends only on the family size:
Version1-member family2-member family4-member family8-member family
0.054158 days2079 days1041 days519 days
0.12079 days1041 days519 days261 days
0.25831 days417 days207 days105 days
0.5417 days207 days105 days51 days

To be 75% sure, approximately twice as many days must pass, 87.50% – 3 times, 93.75% – 4 times, and so on.

Conflicts
Conflicting modWay to resolve
Genie Mod by simmoderDon't use it with my mod.
No Genie Lamp from Gypsy by meDon't use it with my mod.
More chance of getting the genie lamp from Gypsy by [Black_Spirit]Don't use it with my mod.

Overridden resources
Resource nameType nameGroup/object nameTypeGroupInstance
simNopke-genieLampJustice-core
Sub - Determine Chance of Arrival in T0Behaviour FunctionController - Genie0x424841560x7F706EA20x00001007

New resources
Resource nameType nameGroup/object nameTypeGroupInstance
simNopke-genieLampJustice-config-###
Tuning - Genie Delivery Chance Per Family MemberBehaviour ConstantController - Genie0x42434F4E0x7F706EA20x00001020
Tuning - Genie Delivery Chance Per Family MemberBehaviour Constant LabelsController - Genie0x5452434E0x7F706EA20x00001020

Credits
candyassgoth
Ciastko
jfade (The Compressorizer!)
Creators of SimPe
Creator Recommendations:
Other Download Recommendations:
More downloads by Nopke: See more