docs: update ngd-pillboxaddon

This commit is contained in:
Administrator 2025-01-27 17:29:03 -08:00 committed by DeLuce
parent 8175223394
commit 7d6ffd8061

View File

@ -2,7 +2,7 @@
title: ngd-pillboxaddon
description:
published: true
date: 2025-01-28T01:25:34.036Z
date: 2025-01-28T01:29:01.531Z
tags:
editor: markdown
dateCreated: 2025-01-28T00:46:54.225Z
@ -103,30 +103,8 @@ pillboxpharm = {
},
},
```
## ESX (If this doesn't work for you, you will need to build them manually into your modified database)
```sql
SELECT id FROM job_grades ORDER BY id DESC LIMIT 1 INTO @last_id;
SET @new_id = IFNULL(@last_id, 0) + 1;
INSERT INTO jobs (name, label, whitelisted) VALUES ('pillboxpharm', 'Pillbox Pharmacy', 0);
INSERT INTO job_grades (id, job_name, name, grade, label, salary, skin_male, skin_female)
VALUES (@new_id, 'pillboxpharm', 'employee', 0, 'Employee', 100, '{}', '{}');
INSERT INTO job_grades (id, job_name, name, grade, label, salary, skin_male, skin_female)
VALUES (@new_id + 1, 'pillboxpharm', 'boss', 1, 'Boss', 200, '{}', '{}');
INSERT INTO jobs (name, label, whitelisted) VALUES ('pillboxfood', 'Pillbox Food', 0);
INSERT INTO job_grades (id, job_name, name, grade, label, salary, skin_male, skin_female)
VALUES (@new_id, 'pillboxfood', 'employee', 0, 'Employee', 100, '{}', '{}');
INSERT INTO job_grades (id, job_name, name, grade, label, salary, skin_male, skin_female)
VALUES (@new_id + 1, 'pillboxfood', 'boss', 1, 'Boss', 200, '{}', '{}');
```
</details>
<details>
<summary><strong>Job Configuration (ESX)</strong> (Click to Expand)</summary>