Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!

Maintenance Free Dishwasher with NPC Worker (No More Dirty Lots)

SCREENSHOTS
8,763 Downloads 570 Thanks  Thanks 69 Favourited 68,463 Views
Uploaded: 25th Oct 2010 at 8:51 PM
Updated: 29th Feb 2012 at 8:37 PM - Updated with bug fixes & optimizations
Title: Maintenance Free Dishwasher with NPC Worker (No More Dirty Lots)




Purpose

1) To provide a Basegame compatible maintenance free dishwasher, with built-in invisible recolour.

2) If Nightlife or a later Expansion Pack, or any Stuff Pack, is installed, to provide an attendant NPC worker who loads the dishwasher and performs general cleaning duties on community and residential lots. My original purpose was to provide an NPC worker to keep Bon Voyage community caravan and tenting lots clean and tidy, but I have found this attendant useful in many other scenarios. This is a hack-free project that does not create a new NPC, nor modify any existing game coding.
Description

The Dishwashing Appliance

This maintenance free dishwasher is found in the Residential catalogue under Appliances/Large, and in the Community sort under Food/Appliances, Misc/Appliances and Outdoor/Appliances, at a cost of §955.

The custom dishwasher is slaved to the Basegame expensive dishwasher, so any recolours available for the EA dishwasher are available to it. The package includes the Gwyrch compatible Tiny Filesize Invisible Dishwasher recolour, so if you install this dishwasher in a Downloads folder you may delete the original recolour file. The invisible recolour is included within the package file for the convenience of lot uploaders.

The dishwasher may be placed under a counter as usual, or can be used freestanding indoors or out. If placed on the same tile as a prop such as Ye Olde Cooper's Simple Bucket, the invisible recolour allows the dishwasher to fit in with pre-electrical or post-electrical era scenarios. Moveobjects On is not required for any of these usages.

I suspect that the dishwasher will often be used in invisible mode, so I made this appliance immune to failure, fire, theft and repossession. I also removed the shadows from this appliance to make it cleaner, especially for invisible use.

If the NPC worker is active and you wish to delete the dishwasher from the lot, please make sure you use the Dismiss menu option to remove the NPC worker first, waiting until the worker actually disappears before deleting the dishwasher. Otherwise you may need to use Moveobjects On to delete the worker later. There is also the possibility of busied out or "hung" objects if the worker is ever removed before the built-in disappearance is complete.
The Dishwashing Worker

If you are using Nightlife or later Expansion Pack, or any of the Stuff Packs, this dishwasher will act as a controller for the restaurant server NPC. After the dishwasher has been placed and the game is running, the worker will appear in on-duty mode. If Nightlife is installed, the worker will be wearing the restaurant server uniform, but if Nightlife is not available the worker will be dressed in casual clothing.

The on-duty mode will last until there are no items left to clean. Once the work is complete, the NPC worker will stand still and disappear, reappearing after a pause in off-duty mode. While off-duty the worker will socialize, find fun activities to do and generally act like a visiting Sim. The worker will stay off-duty until there is work to do, the NPC's motives fall to a critical level, or a menu selection is made. In any of these cases the worker will finish the current activity then stand-still and disappear again. After a pause the worker will reappear near the dishwasher - in on-duty mode if there are items to clean. Once the work is complete, the NPC worker will again stand still and disappear, reappearing after a pause in off-duty mode.

Either on-duty or off-duty, the behavior of the NPC worker is exactly the same as EA designed it, because this project does not modify the NPC in any way. A restaurant server NPC takes care of the following items: used or dirty bowls and plates, dirty counters and stoves, dirty toilets, baths and showers, old newspapers, dirty pet beds and litter boxes, used trash buckets and trash compactors, puddles, ashes, holes in the ground, and unmade beds. I have noticed two limitations: the worker will not pickup loose trash piles, and the worker cannot go through locked doors (unless the NPC progresses to becoming a household member - see below).

If your Sim family trusts the worker enough to leave her or him "home alone", the NPC will typically leave the lot. Once this occurs the dishwasher controller will automatically recall the worker after a programmed delay. But from then on, the worker will have been adopted as a non-selectable member of the household and will not voluntarily leave again. Alternatively, the NPC worker will become a non-selectable member of the household simply through the passage of about 24 Sim hours on the lot.

Once off probation, the worker will have the ability to open locked "family only" doors and will usually gain a relationship boost with each of the family members. But because the worker remains an NPC, there is no extra overhead involved by the player in taking care of this additional Sim, nor is the worker counted towards the lot maximum for number of Sims.

The behavior of an NPC as a visitor or household member is somewhat unpredictable, but an off-duty worker will naturally eat, use the bathroom, interact with fun objects and socialize. I have set the motive checking so that the attendant will not typically occupy a bed to sleep in, although some workers will nap on a couch.

This project is completely compatible with NPC replacement projects such as Sunni's Medieval NPC Replacements: Taverns & Alehouses, as featured in the screen shots. Sunni has also released an alternative set: Medieval NPC Replacements: Taverns & Alehouses 2.0.

Note that the handsome, no-monkey-or-fishlips faces are a result of selzi's default replacements. Almighty Hat's default replacement objects are also featured in the medieval screenshots.
The Dishwasher Menu

Although the appliance and worker will operate perfectly well without user intervention, there are up to four menu options available on the dishwasher if you wish to override the worker's automatic behavior, as follows:

Recall Worker - if the worker is present on the lot and once the worker has completed the current activity, the attendant stands still and disappears. After a pause the same worker reappears in either the on-the-job or resting mode, depending on whether there is work to do. If the worker was not present on the lot when Recalled, the worker will simply appear at the dishwasher in the appropriate mode.

Relieve Worker - invokes the stand still and disappear sequence then recreates the worker in rest mode, regardless of whether there is work to do. If the worker is already off-duty then she or he will remain off-duty, without interruption. The worker will continue in an off-duty state until either Recalled or Replaced, or the worker's motives fall to critical levels. Note that when in Relieved mode, the NPC attendant will not automatically return to work even if there are items to clean. This mode is ideal if you wish the worker to engage in uninterrupted social activities.

Dismiss Worker - once finished with the current activity, the worker stands still and disappears. The attendant will not reappear unless specifically invoked by the Recall or Replace menu options. While in this mode the dishwasher acts purely as a basegame maintenance free dishwasher, even when the game is saved and reloaded. But in the case of Community lots, saving is not normally possible so the worker will reappear each time the lot is visited.

Replace Worker - operates identically to Recall, except that the particular worker is replaced with another from the NPC pool. This menu option may be briefly unavailable immediately after a worker has been replaced.

Note that once the worker has been asked to stand still and disappear, any menu selections made are stored and only acted upon after the disappearance is complete. Depending on what the attendant was doing at the time, there may be a significant delay in response, but meanwhile the controller will continue to keep calling the worker until she or he actually disappears.
Terms of Use

You may include this object in any uploaded lots, whether for free or pay. Please include a credit and link to this page. It would be nice if you sent me a PM with a link to your uploaded creation, but this is not required.


Additional Credits

SimPE, PJSE, and CEP for Sims 2 object creation
Gadwin's PrintScreen for capturing complete screenshots that include the mouse cursor
IrfranView, Microsoft Paint and Microsoft Photo Editor for graphics file conversion, processing, sizing and titling
Numenor's AnyGameStarter, used for testing this project in several game environments
StephSim for general inspiration and the use her Gwrych March Stables, Barn and Forge community lot in the screenshots


Polygon Counts
1291 faces, 1473 vertices
(slightly less than the EA original)