21 lines
1.4 KiB
JavaScript
21 lines
1.4 KiB
JavaScript
// ===========================================================================
|
|
// Asshat Gaming Roleplay
|
|
// https://github.com/VortrexFTW/agrp_main
|
|
// (c) 2022 Asshat Gaming
|
|
// ===========================================================================
|
|
// FILE: forensics.js
|
|
// DESC: Provides forensics functions and commands (bullet casings, blood, etc)
|
|
// TYPE: Server (JavaScript)
|
|
// ===========================================================================
|
|
|
|
// Forensic Types
|
|
const AGRP_FORENSICS_NONE = 0;
|
|
const AGRP_FORENSICS_BULLET = 1; // Bullet. The actual tip that hits a target. Has rifling and ballistics information of the weapon.
|
|
const AGRP_FORENSICS_BLOOD = 2; // Blood. Automatically applied to ground and bullets that hit and outfit worn when somebody is shot
|
|
const AGRP_FORENSICS_BODY = 3; // Body. A dead body lol
|
|
const AGRP_FORENSICS_HAIR = 4; // Hair.
|
|
const AGRP_FORENSICS_SWEAT = 5; // Sweat. Automatically applied to clothing when worn
|
|
const AGRP_FORENSICS_SALIVA = 6; // Saliva. Automatically applied to drinks when drank and unfinished food items when eaten
|
|
const AGRP_FORENSICS_BULLETCASINGS = 7; // Bullet casings. Automatically dropped when fired from a weapon except when used in a vehicle (driveby)
|
|
|
|
// ===========================================================================
|