A Disposable Object
A generic object that can be disposed of. Extracted from the "Box of Preventatives" mod, tidied up, and then used as the basis for the "Dispose Junk Food Together" and "Dispose Newspapers Together" mods.
When disposed of, the Sim will walk to the object, pick it up and place it in a bin bag. If there are any other disposable objects near by (configured in BCON) those will be added to the bin bag, before the bin bag is disposed off in the nearest waste bin.
The object can be set to go dirty after X hours, dirty objects will be disposed of by maids, etc
Notes
When changing the model (cres resource), you will need to add the slot_fx_0 transform node to the new cres for the smell to originate from.
Do not remove the object you're interacting with - place it out of world and delete it at the end.
You are free to use my code in any way you want, a credit would be nice, but not required.
Specifically, you may
- reverse engineer the code to figure out how I did it
- modify the code to do something different but similar and redistribute it, provided you change the name of the .package file
- merge my code into your own mod and redistribute it
- merge my code into another mod for your own use. You may redistribute this mod-mod ONLY if the author(s) of the other mod permit it
Before contacting me to report any issues, errors or conflicts please ensure you have read and followed Help Me To Help You and Help Me To Help You - Part 2
Files
Download DisposableObject.zip