formatting and typos

This commit is contained in:
DokaDoka committed 2022-12-11 15:00:43 +11:00
1 parent 75698216e0
commit 724c7e356d
99 files changed
+515 -305

No files matched your search

+31 -31
View File
@@ -8,37 +8,37 @@ Crafting locations, items and their ingredients are defined in [data/crafting.lu
```lua
{
items = {
{
name = 'lockpick',
ingredients = {
garbage = 3,
WEAPON_HAMMER = 0.1
},
duration = 5000,
count = 3,
metadata = { durability = 20 }
items = {
{
name = 'lockpick',
ingredients = {
garbage = 3,
WEAPON_HAMMER = 0.1
},
duration = 5000,
count = 3,
metadata = { durability = 20 }
},
{
name = 'garbage',
ingredients = {
cola = 1
},
metadata = { description = 'An empty soda can.', weight = 20, image = 'trash_can' }
},
},
{
name = 'garbage',
ingredients = {
cola = 1
},
metadata = { description = 'An empty soda can.', weight = 20, image = 'trash_can' }
points = {
vec3(-1147.083008, -2002.662109, 13.180260),
},
zones = {
{
coords = vec3(-1146.2, -2002.05, 13.2),
size = vec3(3.8, 1.05, 0.15),
distance = 1.5,
rotation = 315.0,
},
},
},
points = {
vec3(-1147.083008, -2002.662109, 13.180260),
},
zones = {
{
coords = vec3(-1146.2, -2002.05, 13.2),
size = vec3(3.8, 1.05, 0.15),
distance = 1.5,
rotation = 315.0,
},
},
blip = { id = 566, colour = 31, scale = 0.8 },
blip = { id = 566, colour = 31, scale = 0.8 },
},
```
@@ -51,9 +51,9 @@ Crafting locations, items and their ingredients are defined in [data/crafting.lu
* value - If 1 or above it's the consume count, if below 1 and above 0 it's the durability consume amount, if
set to 0 then the item is required but not consumed.
* duration: `number`
* Crafting duration in miliseconds.
* Crafting duration in milliseconds.
* count: `number`
* Item amount recieved upon crafting.
* Item amount received upon crafting.
* metadata: `table`
* Metadata applied to the item being crafted.
* points: `vector3[]`