Pest Control (Update 2/7/25) - Reactions to Pests
Pest Control Cover Photo.png - width=900 height=587
Vermin Moodlet.png - width=324 height=184
Roaches.png - width=900 height=578
Sims with dirty homes now run the risk of roaches spawning around their lot, similar to The Sims 2.
This is a script mod that can be placed in your Packages folder. It was built and tested on 1.69 but should work fine on 1.67.
Updates
2/7/25
- Sims will now get the Vermin moodlet when in the same room as a roach spawner. The moodlet no longer expires and is only removed once all roaches in the room have been dealt with.
- Sims have a chance of freaking out when they see roaches.
- Added trait modifiers for Perfectionist and Coward sims.
- kNeatSnobModifier is now the kNeatSnobPerfectionistModifier.
- Added French translation by Nostural
7/2/24
- Added Dutch translation by Cassowary.Casserole
6/11/24
- Added Chinese translation by PieceOfCarambola
6/7/24
- Added Polish translation by FernPolska
6/3/24
- Added German translation by McNero
6/2/24
- Added European Spanish translation by Paampi
6/1/24
- Added trait modifiers for Slob, Neat, and Snob sims.
- Sims will now roll the chance of getting sick from roaches once the Vermin moodlet expires.
- Added Russian translation by Knight
- Added Brazilian Portuguese translation by vaddish
- Added Czech translation by ProtectusCZ
- Added Finnish translation by mucephei
Roaches
Once a day the number of dirty objects on your sim's home lot will be counted, and if the Dirty Threshold is met or exceeded, roaches have a chance of spawning.
There are three thresholds: Dirty, Filthy, and Vile. The dirtier the lot is, the more likely roaches are to spawn and in greater numbers.
- Dirty Threshold = 5 dirty objects, 10% spawn chance (2 to 4 roach spawners)
- Filthy Threshold = 10 dirty objects, 20% spawn chance (4 to 6 roach spawners)
- Vile Threshold = 15 dirty objects, 30% spawn chance (6 to 8 roach spawners)
All sims in the active household will get the new Vermin custom moodlet if they walk into a room where roaches have spawned. The moodlet subtracts -15, -20, or -25 points from your sim's mood depending on the threshold the lot meets and will not go away until the roaches are stomped out.
Slob sims will be less affected (-5, -10, -15) by the Vermin moodlet, while Neat, Snob, and Perfectionist sims will be more affected (-25, -30, -35). Coward sims will be the most affected by roaches (-30, -35, -40).
Don't want to remove the roaches yourself? Call for help with fantuanss12's Science Geek As Exterminator Service mod!
New Moodlets
Vermin: Given when roaches spawn on a sim’s home lot, lasts indefinitely, -15. -20, or -25 mood (inspired by TS2 memory)
Tuning
All of the following values are tunable in the mod’s XML files.
(True or False)
kSpawnRoachesInside = True
kSpawnRoachesOutside = True
(Out of 24 hours)
kRoachCheckHour = 0
(In percentage; 1 = 100%)
kRoachSicknessChance = 0.10
kChanceOfRoachesDirty = 0.10
kChanceOfRoachesFilthy = 0.20
kChanceOfRoachesVile = 0.30
kChanceToReactToRoaches = 0.50
(In minutes)
kRoachMoodletLength = 720
(In point value)
kDirtyThresholdMoodletValue = 15
kFilthyThresholdMoodletValue = 20
kVileThresholdMoodletValue = 25
kNeatSnobPerfectionistModifier = -10
kSlobModifier = 10
kCowardModifier = -15
(In numbers)
kSpawnRoachesMinDirty = 2
kSpawnRoachesMaxDirty = 4
kSpawnRoachesMinFilthy = 4
kSpawnRoachesMaxFilthy = 6
kSpawnRoachesMinVile = 6
kSpawnRoachesMaxVile = 8
kDirtySurroundingsThreshold = 5
kFilthySurroundingsThreshold = 10
kVileSurroundingsThreshold = 15
Conflicts & Known Issues
Depending on the terrain paint, roaches may be harder to see. To find any roach spawners you may have missed:
- Enter build/buy mode.
- Enable buydebug cheat.
- Look for any white boxes on your lot. Those are the roach spawners.
- Enter live mode.
- Stomp on the roaches.
- Success!
This is a new script mod so there shouldn’t be any conflicts.
Credits
EA/Maxis for The Sims 2 and The Sims 3, Visual Studio 2019, ILSpy, s3pe, Notepad++, Gimp, and Script Mod Template Creator.
Thank You
Thank you to MonocoDoll for helping with a scripting issue!
Filename | Type | Size |
---|---|---|
twinsimming_Pest Control_V2.rar | rar | |
twinsimming_Pest Control_V2.package | package | 33332 |
Filename | Type | Size |
---|---|---|
Pest Control STBLs for Translators.rar | rar | |
S3_220557DA_00000000_1097B2542C62BDB7_POR_PT_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_1197B2542C62BDB7_POR_BR_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_1297B2542C62BDB7_RUS_RU_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_1397B2542C62BDB7_SPA_ES_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_1497B2542C62BDB7_SPA_MX_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_1597B2542C62BDB7_SWE_SE_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_1697B2542C62BDB7_THA_TH_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0A97B2542C62BDB7_HUN_HU_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0B97B2542C62BDB7_ITA_IT_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0C97B2542C62BDB7_JPN_JP_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0D97B2542C62BDB7_KOR_KR_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0E97B2542C62BDB7_NOR_NO_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0F97B2542C62BDB7_POL_PL_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0197B2542C62BDB7_CHS_CN_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0297B2542C62BDB7_CHT_CN_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0397B2542C62BDB7_CZE_CZ_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0497B2542C62BDB7_DAN_DK_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0597B2542C62BDB7_DUT_NL_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0697B2542C62BDB7_FIN_FI_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0797B2542C62BDB7_FRE_FR_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0897B2542C62BDB7_GER_DE_Strings%%+STBL.stbl | stbl | 223 |
S3_220557DA_00000000_0997B2542C62BDB7_GRE_GR_Strings%%+STBL.stbl | stbl | 223 |
twinsimming_Pest Control_V2.rar
Download
Uploaded: 7th Feb 2025, 25.1 KB.
4,383 downloads.
|
||||||||
Pest Control STBLs for Translators.rar
Download
Uploaded: 31st May 2024, 6.0 KB.
177 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
Loading comments, please wait...
Updated: 7th Feb 2025 at 10:03 AM
-
by Consort updated 17th Sep 2013 at 3:05am
363 455.9k 934
-
by darren111 updated 5th Jul 2022 at 10:50am
32 13.6k 49
-
by YolkSims updated 8th Jul 2022 at 7:28am
29 41.7k 99
-
by echoweaver updated 12th Jun 2023 at 3:56am
+1 packs
Pets
-
by echoweaver updated 20th Aug 2023 at 5:03pm
+1 packs
Ambitions
-
by echoweaver updated 27th Aug 2023 at 3:36pm
15 12.5k 48
-
by fantuanss12 updated 29th Jan 2025 at 4:22am
31 9.1k 49
-
by Arro 28th Jan 2025 at 12:48pm
2 1.7k 8
-
by Arro 2nd Feb 2025 at 12:25pm
2 1.1k 7
-
by Twinsimming updated 7th Jan 2025 at 1:26pm
60 33k 97
-
by Twinsimming updated 19th Jul 2023 at 1:32am
Mod Description I was heavily inspired by the cows from The Sims 4: Cottage Living and wanted to flesh out the more...
+5 packs
Late Night
Showtime
Supernatural
Seasons
University Life
-
by Twinsimming updated 2nd Jul 2024 at 10:18pm
Mod Description I was inspired by sweetdevil’s post in the “Mods you wish existed” (https://modthesims.info/showthread.php?p=5460154#post5460154) thread and decided to make that more...
18 13.4k 53
-
by Twinsimming updated 23rd May 2023 at 2:26am
Mod Description This mod adds a new interaction to cameras from World Adventures for sims to raise their Photography skill. This is more...
+1 packs
World Adventures
-
by Twinsimming updated 3rd Sep 2023 at 9:41am
Mod Description This mod frees both the "Take Self Portrait" and "Take Photo Together" interactions from the Jock Influence skill in more...
+2 packs
World Adventures
University Life
-
Dishes & Glassware Default Replacement (Update 1/26/25) - Glassware Infinite Loading Fix
by Twinsimming updated 26th Jan 2025 at 11:14pm
Mod Description This mix of texture and mesh replacements covers plates, serving plates, bowls, coffee mugs, standard glasses, party glasses, and more...
-
by Twinsimming 30th May 2023 at 6:14pm
Mod Description This mod fixes the fire breathing animation error when a sim gets the Spicy or Too Spicy moodlet that more...
-
Acne & Skincare (Update 12/28/24) - Pregnant Sim Skincare Removal
by Twinsimming updated 27th Jan 2025 at 1:33am
Mod Description Acne has been sorely missing from The Sims 3, so I've created this mod to add an acne system more...
191 77k 214
-
TV Channels Default Replacement (Update 5/30/24) - Unlocked TV Channels
by Twinsimming updated 30th May 2024 at 3:41pm
Mod Description This mod replaces video clips from Sims 3 TV channels containing Sims 2 characters with video clips from Sims more...
-
by Twinsimming updated 27th Jan 2025 at 1:42am
Mod Description This mod adds the Rack of Lamb and SimCity Cheesecake recipes from The Sims 4, and a new custom more...
9 6.5k 26