Alright, update #1 (what I got done so far):
-
Added 3 types of computer items (laptop computer, gaming laptop and research laptop) with different tool qualities for future use in the researching and fun aspects;
-
Started adding computer peripherals. So far we have a normal printer (requiring cables), a wireless printer (doesn’t require cables), mouse (for future use, to give full morale bonus to gaming and also to help with input) and a typewriter (to be used with researching too, in case no printer/computer is available). Will add cabling and networking implements soon, along with more morale boosters (videogames, dvd players, cd players, etc.);
-
Added different paper implements (A4 paper set, for printing and writing, a notepad and 2 notebook types - common and university type, with different amounts of pages/charges), in case no computer or printer is available, you can still do some rather weak research (mostly note taking) based on files, books and stuff. Also added pens and pencils, to be used in writing, and can also inscribe relevant items (pen can inscribe paper, wood and plastic - pencil can inscribe paper and wood, so you can use it as a common marker);
-
Started work on the new LUA functions to be used by the computers, when turned on. Problem here, which I’ll try to solve on my own before asking for help, as a means of practicing.
I’m going to work with recipes here, for now, since I believe they are simpler to implement as for a first release. Basically you’re going to have recipes requiring ever higher computer skill, specific computer peripherals and research equipment/tools, which will net you papers, files, notes, USB drives, hard drives, disks and other stuff ridden with your results. These can in turn be reused for more effective research and more time spent researching (batch?), and net you relevant skills related to the research. For now that is, while I keep working on the whole LUA thing.
For example: You have a laptop setup in your base, and you find a USB drive inside a lab detailing chemistry formulas. You can “craft” a recipe using the laptop’s tool qualities, and it’s own tools’ qualities, along with the drive to perform research, netting you a bunch of files/drives, which you can then accumulate a specific amount of to finally “craft” a recipe that nets your a book type file containing a lot of chemistry recipes, for use during crafting (along of course with the healthy cooking skill gain during the process).
One question I have is: Is it possible to implement a call to a custom transform type use_action from within a LUA custom item action? If so, what would be the best way? I want the laptop’s menu to have a “shutdown” option, which transforms the laptop back into the laptop (off) version. Might just make it so that it works like the E-Ink Tablet PC in case there’s no workaround - just pop up the menu when using and consume charges. Just curious, can’t blame me for experimenting.
I might also just scrap the whole printing or at least paper thing in the future, or make it into a separate mod/optional thing. The idea is that printing and writing down things can be used to “transfer” simple data around when there’s no USB drive or similar equipment available.
For example: You can log into grandma’s laptop and note down her cookie recipes without a pen-drive, but you can’t log into an engineer’s computer and retrieve his diagrams and designs without a printer, or log into a military lab’s server and write down their 3D gene sequencing models for future experimenting without a data transfer device.
This data transfering thing might be scrapped in the future on behalf of just plainly working on the related computing units directly, but it’s pretty nice to think about and have some fun trying to implement.