Skip to content

Commit b392e36

Browse files
committed
Updated it-crafting docs
1 parent b93bc0f commit b392e36

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

pages/it-crafting/adjustments/crafting-points.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ Here you can change some settings for the target zone.
6464

6565
`*` All these values are optional and can be removed if you dont want to use them. But please do not remove the target table.
6666

67+
<Callout type="info">
68+
If you are using a model the script will automatically set the size and rotation of the target zone.
69+
So you dont need to set the size and rotation if you are using a model. You can just keep the default values.
70+
71+
In some cases the rotation of the target zone is not correct. In this case you can set the rotation manually.
72+
</Callout>
6773
---
6874

6975
```lua

pages/it-crafting/adjustments/crafting-tables.mdx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ Here you can change some settings for the target zone.
6464

6565
`*` All these values are optional and can be removed if you dont want to use them. But please do not remove the target table.
6666

67+
<Callout type="info">
68+
If you are using a model the script will automatically set the size and rotation of the target zone.
69+
So you dont need to set the size and rotation if you are using a model. You can just keep the default values.
70+
71+
In some cases the rotation of the target zone is not correct. In this case you can set the rotation manually.
72+
</Callout>
73+
6774
---
6875

6976
```lua
@@ -129,7 +136,7 @@ If you use the ox_inventory, please use the following template to add the tables
129136
close = true,
130137
description = "Item Description",
131138
server = {
132-
export = "it-drugs.placeProcessingTable"
139+
export = "it-drugs.placeCraftingTable",
133140
},
134141
client = {
135142
image = "item_name.png",
@@ -143,13 +150,13 @@ If you use the ox_inventory, please use the following template to add the tables
143150
<Accordion title="Processin table configuration template">
144151
```lua copy
145152
['simple_crafting_table'] = {
153+
label = 'Simple Crafting Table', -- Label for the table
146154
target = {
147155
size = vector3(1.0, 1.0, 1.0),
148156
rotation = 0.0,
149157
drawSprite = true,
150158
interactDistance = 1.5,
151159
},
152-
label = 'Weed Processing Table', -- Label for the table
153160
model = 'v_res_tre_table2', -- Exanples: freeze_it-scripts_empty_table, freeze_it-scripts_weed_table, freeze_it-scripts_coke_table, freeze_it-scripts_meth_table
154161
restricCrafting = {
155162
['onlyOnePlayer'] = true, -- Only one player can use the table at a time

theme.config.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ function useHead() {
2121
<meta property="og:url" content={url} />
2222
<meta property="og:title" content={title} />
2323
<meta property="og:description" content={description} />
24-
<meta property="og:image" content="https://i.imgur.com/RMGXDiN.png" />
24+
<meta property="og:image" content="https://i.imgur.com/OenvzZz.png" />
2525

2626
<meta property="twitter:card" content="summary_large_image" />
2727
<meta property="twitter:url" content={url} />
2828
<meta property="twitter:title" content={title} />
2929
<meta property="twitter:description" content={description} />
30-
<meta property="twitter:image" content="https://i.imgur.com/RMGXDiN.png" />
30+
<meta property="twitter:image" content="https://i.imgur.com/OenvzZz.png" />
3131
</>
3232
);
3333
}

0 commit comments

Comments
 (0)