Skip to content

Commit

Permalink
Added conversion in package.json and move file and add picture
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamXZE committed Apr 23, 2023
1 parent d4dfd59 commit 922ca8a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
6 changes: 4 additions & 2 deletions resources/[qb]/qb-core/shared/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2827,7 +2827,8 @@ QBShared.Items = {
['shouldClose'] = true,
['combinable'] = nil,
['itemExtraLabel'] = '[Homme]',
['description'] = 'Tenue réalisée spécialement pour: '
['description'] = 'Tenue réalisée spécialement pour: ',
['illustrator'] = '.Crash'
},
['ffs_crafted_outfit_f'] = {
['name'] = 'ffs_crafted_outfit_f',
Expand All @@ -2839,7 +2840,8 @@ QBShared.Items = {
['shouldClose'] = true,
['combinable'] = nil,
['itemExtraLabel'] = '[Femme]',
['description'] = 'Tenue réalisée spécialement pour: '
['description'] = 'Tenue réalisée spécialement pour: ',
['illustrator'] = '.Crash'
},
-- Vehicle Tools
['repairkit'] = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// Executed with `yarn build-showroom`
const csvtojson = require('csvtojson');
const fs = require('fs');

async function run() {
const showRoomListJSON = await csvtojson().fromFile('./showroomList.csv');
const showRoomListJSON = await csvtojson().fromFile('./data/showRoom/showroomList.csv');

const ShowRoomFreeElement = {
mp_m_freemode_01: {
Expand Down Expand Up @@ -51,7 +52,7 @@ async function run() {
4
).replace(/"\[[^"\]]*]"/g, r => JSON.stringify(JSON.parse(r)).substr(1).slice(0, -1))};\n\n`;

fs.writeFileSync('./ffsClothConfig.ts', string);
fs.writeFileSync('./src/shared/showRoom/ffsClothConfig.ts', string);
}

run();
3 changes: 2 additions & 1 deletion resources/[soz]/soz-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"dev-module": "webpack --config webpack.config.watch.js --watch --mode development",
"dev-nui": "webpack-dev-server --config webpack.config.dev_server.js --mode development --hot",
"dev": "concurrently \"yarn run dev-module\" \"yarn run dev-nui\"",
"lint": "tsc -p tsconfig.json --noEmit"
"lint": "tsc -p tsconfig.json --noEmit",
"build-showroom": "node data/showRoom/conversion.js"
},
"prisma": {
"seed": "ts-node --transpile-only prisma/seed.ts"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions resources/[soz]/soz-inventory/html/assets/index.js

Large diffs are not rendered by default.

0 comments on commit 922ca8a

Please sign in to comment.