Cockroaches

Cockroaches are pests that appear in The Sims: Livin' Large, The Sims 2, The Sims 3 (as collectibles), and The Sims 4: City Living. They are spawned if a lot is dirty, and they will randomly move about the lot, further decreasing Room or Environment score.

The Sims: Livin' Large
In Livin' Large, having roaches on a lot can cause considerable distraction, as Sims and visitors may autonomously "Freak Out", neglecting their motives in order to go stomp on roaches on the other side of the lot. However, roaches can easily be killed by instructing a Sim to spray them. If the Sim instructed to spray them is in a good mood, they will automatically spray every group of roaches on the lot, until there are no more roaches left or their motives drop too low. The maid will also spray them, as will Servo and Bonehilda. If Unleashed is installed, cats may hunt them, but will only do so autonomously. However, they will still gain the hunting skill. Once killed, roaches disappear and leave no trace of their existence. Roaches in The Sims can pass through walls, and so may be able to get to places that Sims can't.

There is an unpatched bug that causes the roaches to increase in value from nothing to §460 the midnight after they spawn. The same bug occurs with flies. While roaches cannot be picked up or sold in buy mode without using the "move_objects on" cheat, they will still add to the household's net worth. When picked up with the "move_objects on" cheat, they have the name "SSRI Virtual Reality Set".

The Sims 2
In The Sims 2, roaches will spawn around a pile of garbage that has been left sitting too long, even if the lot is generally clean. A common source of roaches is a residential lot's garbage can having been kicked or knocked over while the resident Sims are asleep or away.

Roaches in The Sims 2 are more difficult to get rid of than they were in The Sims. Sims can spray them, but the maid will not, and spraying by Sims is not as effective as calling an exterminator. Upon seeing live roaches, Sims will get a bad memory and will frequently cancel actions in order to cry or think about the infestation over the next few hours. (Annoyingly, they get the memory every time they interact with the roaches.) In addition, going near roaches carries the risk of acquiring the flu, so hiring an exterminator is overall the safest and most effective option. However, killed roaches will remain in a pile that decreases Environment score until it is cleaned up, This can be done by either a Sim or the maid, but the exterminator will not do it. If The Sims 2: Apartment Life is installed, the spell Corruptus Locus, which the evil High Witch casts automatically upon entering a lot, will summon swarms of roaches. This can be extremely annoying when she appears on an owned community lot, as there is no option to call exterminators over the phone when on a community lot.

The Sims 3
Cockroaches appear as an insect which can be collected and donated to the science facility and are no longer considered pests. Cockroaches are now a collectible item that can be sold and donated.

In The Sims 3: Island Paradise, guests staying at resorts may complain about cockroach infestation. Since the bug spawners are located underground, the roaches will be spawned underground, making it difficult for resort staff to get rid of them. The player will need to enable buydebug, go to the lowest floor level, and either move the spawners to an accessible location or delete them entirely.

The Sims 4
Cockroaches return in City Living, and are found in apartments with the special "Needs TLC" lot trait. They will randomly appear on certain locations in the apartment and Sims will react to them and when they do, they gain a tense moodlet. Sims can try to obliterate or exterminate the cockroaches by themselves, but it can possibly make the pest even worse. They can also call the landlord to fix it, which is always a success. They may also swarm the trash container Receptacle of Debrises, and the action, "Try to clear roaches" becomes available. Sims will stomp on the roaches, and become Angry from Infestation Frustration.