THIS IS AN EXPERIMENTAL MOD. TEST THIS MOD IN A TEST NEIGHBOURHOOD FIRST. THIS MOD WILL REQUIRE A LOT OF FEEDBACK.
A REQUEST TO OBJECT CREATORS/MESHERS:
If you pay attention, you'll see that the Vial sinks into the surface when it is put onto any kind of surface. Maxis didn't even finish the visuals of the Vial. If you have the new version of the mod, you can set the Vial for sale, and when the Vial is restocked, it sits upright on the surface, which would look cool, but it still sinks into the surface. Is there anyone who can fix this so that the Vial does not sink into the surface and so that we can see the Vial fully both when it is lying on the surface and when it is standing upright if it is restocked? You should make your own mod, and I will link to your mod from this page when you release it on the site.
There are 2 versions of this mod now:
Biotech Station - Fixes, New Virus Gameplay and Pharmacy Business:
This is the new version and is for those players who have Nightlife or later (You also need OFB to fully make use of the new features), and it includes new gameplay. I consider this version the main mod, and anyone who has Nightlife or a later EP should get this version.
Biotech Station - Fixes and New Virus Gameplay (For Base Game and University):
This is for Base Game and University players. I have all EPs and SPs, and that is how I make my mods, I cannot guarantee that my mods will work with previous EPs, but I do what I can. I have not received any reports in the comments section about incompatibility, so I am guessing everything works.
This is what UPDATE 1 does:
- (Both Versions)
Modified the "Function Main" BHAV so that the Vial does not "expire" any more. Maxis had the idea that the Vial would expire a short while after being created, that is why after creating Medicine or Virus, if you were to leave it on the Biotech Station, you would not be able to take it, and if you clicked on the Biotech Station, it would give you pie-menu options as if the Vial did not exist, but the Vial would be visually there. Basically, Maxis' entire "expire" idea itself is completely unfinished, and it does not make any sense. Now, the Vial will stay intact.
- (Both Versions)
Made it so that when you perform the "Give Medicine/Virus to" interactions, the target sim will stop whatever they are doing in order to drink. Maxis set the priority of this social to "autonomous" priority, which is ridiculous. I set it to "user driven" when I first made this mod, but honestly even that is not enough. Now it is considered "max priority", as it should be.
- (New Version Only)
Created a new interaction on the Biotech Station and the Vial: "Put Vial Into Inventory". The Biotech Station and the Vial desperately needed this interaction, now you can simply put the Vial into your inventory. If the Biotech Station or the Vial is on an owned business lot, then the "Put Vial Into Inventory" interaction will put the Vial into the owner's inventory, just like Maxis craftables, harvestables and so on.
- (New Version Only)
Pharmacy business is now possible. Both the medicine and the virus are now sellable, and this is how it works:
Maxis made it so that the Vial's value is determined "dynamically" during the "Make Medicine" interaction. The problem is that this dynamic price does not lend itself well to OFB businesses. Every Maxis sellable item has a set price, and in order to get the restocking functionality right, the Vial also needs a set price. Additionally, Maxis did not bother to calculate any value for the Virus, so its price in an unmodded game is 0. So, I have changed how the game calculates the Vial's price:
- If the Vial is strong medicine (dark blue), its price is 200. Strong medicine can only be restocked by strong medicine.
- If the Vial is mediocre medicine (light blue), its price is 100. Mediocre medicine can only be restocked by mediocre medicine.
- If the Vial is strong virus (dark green), its price is 400. Strong virus can only be restocked by strong virus.
- If the Vial is mediocre virus (light green), its price is 200. Mediocre virus can only be restocked by mediocre virus.
Now, it is perfectly possible to open a pharmacy business.
I released a Biotech Station related mod recently which simply made it so that the game checks the sim's aspiration score instead of the mood bar to decide if the sim can perform the "Take Virus" interaction on the Biotech Station. Back then, I did not know how broken and unfinished this object is. In fact, I think it is the most broken and unfinished object in the entire game. I have been working on fixing every single problem with the Biotech Station for the past few days, and this is the mod that I have made. Before I tell you what this mod does, I'll first tell you how the Biotech Station works in an unmodded game.
UNMODDED BIOTECH STATION
- Sims can "Make Medicine" which produces a Medicine Vial, with a potency (the darker the blue colour, the more potent the Medicine) based on the sim's Logic, Nice, Hygiene etc. Before the Freetime patch, the "Take Medicine" interaction (only available to sick sims older than child) did not work. Maxis fixed this in the Freetime patch and carried it forward with Apartment Life and M&G, so that the Medicine reduces the severity value of the sick sim, bringing them closer to recovery.
- Sims can perform the "Give Medicine to" interaction to give the medicine to children, because children cannot "Take Medicine" on their own. This cute interaction, unfortunately, does not have any gameplay effect, that is, it does not reduce the severity value of the child's disease. The code that controls "Give Medicine to" is still the exact same pre-Freetime "Take Medicine" code, so it doesn't work at all. It's just a bunch of cute animations.
- If a sim performs the "Give Medicine to" interaction, they will be queued the "Give Vial" interaction which is the actual interaction between the sim and the child. If the "Give Vial" interaction times out or the player cancels the interaction, the sim will put the Vial on a flat surface (counter, table etc.), or the ground, directly separating the Vial from the Biotech Station. If the Vial is put anywhere other than the floor, it will periodically give a "Slot number out of range" error. The Vial has two interactions on it: "Take Medicine" and "Give Medicine to". If you "Take Medicine" on the Vial, your sim will drink the Medicine, but it won't have any effect on their disease, because Maxis did not bother fixing it, either. If you "Give Medicine to", you will get a "Could not find object reference" error, which will make your sim jump-error, and lose the Medicine in the process.
- If a sim has Logic>8, they can also "Make Virus" which produces a Virus Vial, with a potency (the darker the green colour, the more potent the Virus) based on the sim's Logic, Grouchy etc. If a sim has a mood lower than -50, they can perform the "Take Virus" interaction, which gives the sim the Mysterious Disease. This seems to be a kind of suicide.
This mod fixes all of these issues and adds new gameplay:
THIS MOD'S FIXES
- This mod includes Maxis' Freetime fix of the "Take Medicine" interaction on the Biotech Station. Note that Maxis only fixed this single interaction on the Biotech Station. They did not fix anything else.
- This mod fixes the "Give Medicine to" interaction, so that when the sim drinks the Medicine, they will have the severity value of their disease reduced. In order to be able to "Give Medicine to", the drinking sim needs to have more than 50 STR and 5 LTR with the giving sim. Maxis' own formula is used to determine how much the Medicine reduces the severity of the disease. Anyone child and older can be given the Medicine now, not just children (non-child animations look funny, but believe me they are not that bad at all, you have to see them).
- This mod fixes the Vial's "Slot number out of range" error (from "Function - Main" BHAV), and it also fixes the Vial's "Could not find object reference" error (from the "Give Medicine to" BHAV, because Maxis left the code unfinished, I copy/pasted their code from the Biotech Station's "Give Medicine to", and everything works).
- This mod makes it so that the game checks the sim's aspiration score instead of the sim's mood bar to determine if they can "Take Virus". The mood bar does not indicate depression or sadness, it is the Aspiration bar that indicates that. So, obviously the game should check the sim's Aspiration bar.
NEW VIRUS GAMEPLAY
Did you know that Maxis intended to put Virus gameplay on the Biotech Station? If you check the Biotech Station's STR resources, you'll see pie-menu text such as "Give Virus to". However, there is not a single line of code related to "Give Virus to". I went ahead and added the necessary coding in addition to taking Maxis' own coding where necessary, and adding the lines to connect everything properly. Here is the new gameplay:
Sims (teen and older) can now perform the "Give Virus to" interaction, to give the virus to sims children and older. The interaction is available both on the Biotech Station and the Vial. The idea is that you trick the sim into drinking Virus, while they think they are drinking Medicine. The person who drinks the Virus will get the Mysterious Disease (the darker the green colour, the more serious the Mysterious Disease will be). In order for the target sim's name to come up in the pie-menu options, the target sim needs to pass some checks:
- The sim needs to be already sick. Nobody would drink a vial full of green stuff just randomly. As I have said, the idea is to trick a sick sim into drinking Virus, while making them think that it is Medicine they are drinking.
- The sim needs to have less than 5 Logic. The idea is that if they have Logic 5 or more, they are too smart for your little tricks.
- The sim needs to be a playable sim. Townies and NPCs cannot be given the Virus, because Maxis made is so that Townies and NPCs are not supposed to get sick. You can only get recovery points when you are on a livable lot, and townies and NPCs do not have a house.
- The sim's relationship with the giving sim needs to be more than 50 STR and 5 LTR in order for their name to come up in the pie-menu options. If you don't have at least some kind of relationship, nobody would just agree to drink stuff from your own hands.
Do not forget that a sim can get multiple diseases, including multiple Mysterious Diseases. Medicine only decreases the severity of one of the diseases, until that disease is cured. Then, drinking more medicine will start decreasing the severity of the other diseases, again one by one. That is how Maxis designed it, and I like it. You can keep making and giving Virus to sims, and they will get multiple Mysterious Diseases. Once you switch to the sick sim's household, you will need to make that sim rest for a long, long time. The Mysterious Disease can be very contagious, and multiple Mysterious Diseases can spread throughout the neighbourhood in a very short amount of time.
In short, this new Virus gameplay finally allows the player to have truly mad scientist sims.
This is a very experimental mod I made. If you find any problems, you should report them in the comments section. I have been testing this mod continuously, and everything seems to be working fine so far. This is precisely why I am releasing it now. This mod will need testers and a lot of feedback. I repeat, you should test this mod in a test neighbourhood. Additionally, keep in mind that I made this mod with all EPs and SPs. I think it should work in any configuration, even Base Game possibly, but I have no way to test this. As I have said above, you should test this mod in a test neighbourhood no matter what anyway.
You need the latest version of 7zip
in order to unrar this mod.
This mod modifies the following resources in objects.package. Any other mod that modifies these resources will conflict with this mod:
Interaction - Take Medicine/Group:0x7FBBB002/Instance:0x0000100D
Interaction - Take Medicine - TEST/Group:0x7FBBB002/Instance:0x0000100F
Interaction - Give to Sim/Group:0x7FBBB002/Instance:0x0000100A
Interaction - Give to Sim - TEST /Group:0x7FBBB002/Instance:0x0000100B
Function - Main/Group:0x7FBBB002/Instance:0x00001001
Sub - Make Sim Sick/Group:0x7FBBB002 Instance:0x0000101A (added by me, Maxis code)
Dialog Primitive Strings/Group:0x7FBBB002/Instance:0x0000012D (added by me, Maxis text)
Tuning - Give Medicine - Req. Rels./Group:0x7FBBB002/Instance:0x00001001
Social Tree Table/Group:0x7FB65D67/Instance:0x00000080
Interaction - Person A/Group:0x7FB65D67/Instance:0x00001000
Interaction - Person B/Group:0x7FB65D67/0Instance:0x00001001
Sub - Make Sim Sick/Group:0x7FB65D67/Instance:0x0000101A (added by me, Maxis code)
Dialog Primitive Strings/Group:0x7FB65D67/Instance:0x0000012D (added by me, Maxis text)
Anims - Adult/Group:0x7FB65D67/Instance:0x00000081 (not modified, for now)
Anims - Child/Group:0x7FB65D67/Instance:0x00000082 (not modified, for now)
Tuning - Give Medicine - Req. Rels./Group:0x7F37F90B/Instance:0x00001003
Interaction - Give To Sim/Group:0x7F37F90B/Instance:0x00001007
Interaction - Give To Sim - TEST/Group:0x7F37F90B/Instance:0x00001014
Interaction - Take Medicine/Virus/Group:0x7F37F90B/Instance:0x00001017
Interaction - Take Medicine/Virus - TEST/Group:0x7F37F90B/Instance:0x00001015