Adds an automatic check for DBQuery.ErrorMsg() every time a DBQuery.Execute() proc is called. This makes hunting down unknown DB errors way easier. Also makes working with database functions less frustrating.
Fixes my dungoof with the DBQuery.parseArguments() function as well. The string is now properly updated in the for() loop.
Traitors and syndies will now gain access to an adrenalin implant box. The implant is a one-use tool for getting yourself unstunned and off the ground.
Also makes the adrenalin implants work with the pain-based stuns.
Fixes the duplicate definition of the implanted() proc. Head revolutionaries can no longer be implanted, normal revolutionaries will actually lose their rev status when implanted, and lings will be informed of the fact that they can avoid the implant's effects.
Renames the entire deal. Also gives a powercell to the maglocks, making them last about 16 minutes with a high capacity powercell. Cell can be replaced by unscrewing the front, and crowbarring it.
Changes how parseArguments works. It now returns a text string that is the cleaned SQL query. This is necessary. But also enables the usage of different lists on the same query, as the original sql query, with the unformatted placeholders, is still retained.
Because I fucked up the Git processes.
Adds:
* Variable and automatic sanitization to SQL queries (read up on dbcore.dm)
* Whitelist handling through SQL
-Allows your code to be easily used by fixing the forensics icon
pathing.
-Ports a fix from Baystation's 12 Developer atlantiscze
(As well as testing done by Dennok on BS12 and Mango and Myself for
testing on Aurora Code)
Adds a new configuration option: whitelists_on_sql. If enabled, it starts looking through the client's whitelist_status var to see if a person is whitelisted for heads of staff (always a bit value of 1), or an alien (values stored in the ss13_whitelist_statuses table).
A function that automatically sanitizes input for your SQL query, should you wish to use it. Can be called up on its own, or through the Execute() function by adding the argument list as the first parametre.