From 7c00731cf4bf4464aa5394f79532b3c7c55f53e8 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:25:24 +0100 Subject: [PATCH] chore: bpt_ammujob database update - Created database for the Italian language - Translated the database into the main directory in English - fxmanifest updated to version 1.0.1 --- .../[bpt_addons]/bpt_ammujob/bpt_ammujob.sql | 10 ++++---- .../[bpt_addons]/bpt_ammujob/fxmanifest.lua | 6 ++--- .../localization/bpt_ammujob_it.sql | 23 +++++++++++++++++++ 3 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 server-data/resources/[bpt_addons]/bpt_ammujob/localization/bpt_ammujob_it.sql diff --git a/server-data/resources/[bpt_addons]/bpt_ammujob/bpt_ammujob.sql b/server-data/resources/[bpt_addons]/bpt_ammujob/bpt_ammujob.sql index dd7fa6599..c95753506 100644 --- a/server-data/resources/[bpt_addons]/bpt_ammujob/bpt_ammujob.sql +++ b/server-data/resources/[bpt_addons]/bpt_ammujob/bpt_ammujob.sql @@ -15,9 +15,9 @@ INSERT INTO `jobs` (name, label) VALUES ; INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES - ('ammu',0,'apprentice','Apprendista',20,'{}','{}'), - ('ammu',1,'gunsmith','Armaiolo',40,'{}','{}'), - ('ammu',2,'armorychief','Capo Armeria',60,'{}','{}'), - ('ammu',3,'deputydirector','Vice direttore',85,'{}','{}'), - ('ammu',4,'boss','Direttore',100,'{}','{}') + ('ammu',0,'apprentice','Apprentice',20,'{}','{}'), + ('ammu',1,'gunsmith','Gunsmith',40,'{}','{}'), + ('ammu',2,'armorychief','Armory Chief',60,'{}','{}'), + ('ammu',3,'deputydirector','Deputy Director',85,'{}','{}'), + ('ammu',4,'boss','Boss',100,'{}','{}') ; diff --git a/server-data/resources/[bpt_addons]/bpt_ammujob/fxmanifest.lua b/server-data/resources/[bpt_addons]/bpt_ammujob/fxmanifest.lua index 00bb4fc9c..31e4575a6 100644 --- a/server-data/resources/[bpt_addons]/bpt_ammujob/fxmanifest.lua +++ b/server-data/resources/[bpt_addons]/bpt_ammujob/fxmanifest.lua @@ -4,7 +4,7 @@ game("gta5") description("bpt_ammunation job") author("bitpredator") lua54("yes") -version("1.0.0") +version("1.0.1") shared_script("@es_extended/imports.lua") @@ -12,14 +12,14 @@ client_scripts({ "@es_extended/locale.lua", "locales/*.lua", "config.lua", - "client/main.lua", + "client/*.lua", }) server_scripts({ "@es_extended/locale.lua", "locales/*.lua", "config.lua", - "server/main.lua", + "server/*.lua", }) dependency("es_extended") diff --git a/server-data/resources/[bpt_addons]/bpt_ammujob/localization/bpt_ammujob_it.sql b/server-data/resources/[bpt_addons]/bpt_ammujob/localization/bpt_ammujob_it.sql new file mode 100644 index 000000000..dd7fa6599 --- /dev/null +++ b/server-data/resources/[bpt_addons]/bpt_ammujob/localization/bpt_ammujob_it.sql @@ -0,0 +1,23 @@ +INSERT INTO `addon_account` (name, label, shared) VALUES + ('society_ammu', 'Ammu', 1) +; + +INSERT INTO `datastore` (name, label, shared) VALUES + ('society_ammu', 'Ammu', 1) +; + +INSERT INTO `addon_inventory` (name, label, shared) VALUES + ('society_ammu', 'Ammu', 1) +; + +INSERT INTO `jobs` (name, label) VALUES + ('ammu', 'Armeria') +; + +INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES + ('ammu',0,'apprentice','Apprendista',20,'{}','{}'), + ('ammu',1,'gunsmith','Armaiolo',40,'{}','{}'), + ('ammu',2,'armorychief','Capo Armeria',60,'{}','{}'), + ('ammu',3,'deputydirector','Vice direttore',85,'{}','{}'), + ('ammu',4,'boss','Direttore',100,'{}','{}') +;