From 169e56f13df689094d9dd32302045131ce1e88d1 Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 26 Feb 2025 17:49:01 -0800 Subject: [PATCH] docs: create codemsetup --- codemsetup.md | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 codemsetup.md diff --git a/codemsetup.md b/codemsetup.md new file mode 100644 index 0000000..153e54a --- /dev/null +++ b/codemsetup.md @@ -0,0 +1,185 @@ +--- +title: NGD CodeM Inventory Setup +description: Guide to use NGD scripts with CodeM Inventory +published: true +date: 2025-02-27T01:48:58.841Z +tags: +editor: markdown +dateCreated: 2025-02-27T01:48:58.841Z +--- + +
+ NGD Logo + +
+ + +# Please follow the guide below when using **CodeM** Inventory + +* CodeM does not provide exports for creating shops. This means you have to add each shop from the NGD configs into your codem `shops.lua`. Below is an example from ngd-tequila for the glasses. + +```lua + ["Tequilala Glasses"] = { + label = "Tequilala Glasses", + job = 'all', + items = { + ["1"] = { name = "ngd_teqtallglass", price = 0}, + ["2"] = { name = "ngd_teqmarglass", price = 0}, + ["3"] = { name = "ngd_teqhurglass", price = 0}, + ["4"] = { name = "ngd_teqwineglass", price = 0}, + ["5"] = { name = "ngd_teqchamglass", price = 0}, + + }, + coords = vector3(-1117.2538, 2692.1638, 17.5542), + Blip = { + enable = false, + id = 52, + scale = 0.5, + color = 5, + }, + } +``` + +* The title `["Tequilala Glasses"]` is the shop registered in the NGD script. **Click below to see each shop name**. +* The `label` is the label of the shop and can be whatever you want +* The `job` can still be 'all' since the NGD scripts restrict the shop with target +* The `items` are each of the items from the NGD script config + +### Shop Names: +
+NGD-VU +VU IceMaker + +VU Glasses + +VU Alcohol + +VU Wine + +VU Ingredients + +
+
+NGD-BAHAMA +IceMaker + +Glasses + +Alcohol + +Wine + +Ingredients + +
+ +
+NGD-GALAXY +Galaxy IceMaker + +Galaxy Glasses + +Galaxy Alcohol + +Galaxy Wine + +Galaxy Ingredients + +
+ +
+NGD-PACIFIC +Pacific Ingredients + +Pacific Alcohol + +Pacific Ice + +Pacific Glasses + +
+ +
+NGD-PILLBOXADDON +Bean Machine Ingredient Store + +Bean Machine Alcohol Store + +Bean Machine Ice + +Bean Machine Cup Store + +Pillbox Kitchen(Floor 1) + +Floor 2 Alcohol + +Pharmacy Supplies + +Breakroom Food + +
+ +
+NGD-BLAZED +Blazed Supplies + + +
+ +
+NGD-CHERRYPOPPER +Ice Cream Store + +Ice Cream Supplies + +
+ +
+NGD-CHRISTMAS +Tree Store + +
+ +
+NGD-SKYLINE +Skyline Ice + +Skyline Refrigerator + +Skyline Syrup + +Skyline Coffee + +Skyline Steamed Milk + +
+ +
+NGD-LIMEYS +Limeys Fruit + +Limeys Supply + +Limeys Doughnuts + +Limeys Coffee + +
+ +
+NGD-TEQUILA +Tequilala Bottled Beer + +Tequilala Food Ingredients + +Tequilala Glasses + +Tequilala Ice + +Tequilala Mixed Drink Ingredients + +
+ +> Do you still need help? Open a ticket in our [Discord](https://discord.gg/AnXx2GVGcM) +{.is-warning} +