mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
Update metadata.mdx
This commit is contained in:
1 file changed
+1
-2
@@ -62,8 +62,7 @@ We'll use these properties to create our pokemon cards out of the `pokemon_card`
|
|||||||
|
|
||||||
## Creating metadata items
|
## Creating metadata items
|
||||||
|
|
||||||
We can easily create metadata items by defining a hook using [createItem](../Functions/Server/Hooks#creatitem) and assign
|
We can easily create metadata items by defining a hook using [createItem](../Functions/Server/Hooks#creatitem) and adding it to a shop as well.
|
||||||
the metadata we want by adding a `type` to the item in the shop inventory.
|
|
||||||
|
|
||||||
```lua filename="/data/shops.lua"
|
```lua filename="/data/shops.lua"
|
||||||
inventory = {
|
inventory = {
|
||||||
|
|||||||
Reference in new issue
Block a user