Where Item Definitions Live#
Package file:
INSTALL/items.md
Item images:
INSTALL/ITEM-IMAGES/
Required Items#
['wedding_invitation'] = {
label = 'Wedding Invitation',
weight = 200,
},
['wedding_bouquet'] = {
label = 'Wedding Bouquet',
weight = 200,
},
['wedding_invite'] = {
label = 'Wedding Invitation',
weight = 200,
},
['marriage_certificate'] = {
label = 'Marriage Certificate',
weight = 200,
},
['ring_gold'] = {
label = 'Gold Ring',
weight = 200,
},
['ring_silver'] = {
label = 'Silver Ring',
weight = 200,
},
['gold_ring_amethyst'] = {
label = 'Amethyst Gold Ring',
weight = 200,
},
['gold_ring_corundum'] = {
label = 'Corundum Gold Ring',
weight = 200,
},
['gold_ring_crystal'] = {
label = 'Crystal Gold Ring',
weight = 200,
},
['gold_ring_diamond_crystal'] = {
label = 'Diamond Gold Ring',
weight = 200,
},
['gold_ring_quartz'] = {
label = 'Quartz Gold Ring',
weight = 200,
},
['gold_ring_ruby'] = {
label = 'Ruby Gold Ring',
weight = 200,
},
['silver_ring_amethyst'] = {
label = 'Amethyst Silver Ring',
weight = 200,
},
['silver_ring_corundum'] = {
label = 'Corundum Silver Ring',
weight = 200,
},
['silver_ring_crystal'] = {
label = 'Crystal Silver Ring',
weight = 200,
},
['silver_ring_diamond_crystal'] = {
label = 'Diamond Silver Ring',
weight = 200,
},
['silver_ring_quartz'] = {
label = 'Quartz Silver Ring',
weight = 200,
},
['silver_ring_ruby'] = {
label = 'Ruby Silver Ring',
weight = 200,
},
['wedding_invitation'] = { name = 'wedding_invitation', label = 'Wedding Invitation', weight = 200, type = 'item', image = 'wedding_invitation.png', unique = false, useable = true, shouldClose = true, description = 'A beautiful wedding invitation.' },
['wedding_bouquet'] = { name = 'wedding_bouquet', label = 'Wedding Bouquet', weight = 200, type = 'item', image = 'wedding_bouquet.png', unique = false, useable = true, shouldClose = true, description = 'A wedding bouquet.' },
['wedding_invite'] = { name = 'wedding_invite', label = 'Wedding Invitation', weight = 200, type = 'item', image = 'wedding_invite.png', unique = false, useable = true, shouldClose = true, description = 'A wedding invitation.' },
['marriage_certificate'] = { name = 'marriage_certificate', label = 'Marriage Certificate', weight = 200, type = 'item', image = 'marriage_certificate.png', unique = false, useable = true, shouldClose = true, description = 'An official marriage certificate.' },
['ring_gold'] = { name = 'ring_gold', label = 'Gold Ring', weight = 200, type = 'item', image = 'ring_gold.png', unique = false, useable = true, shouldClose = true, description = 'A gold wedding ring.' },
['ring_silver'] = { name = 'ring_silver', label = 'Silver Ring', weight = 200, type = 'item', image = 'ring_silver.png', unique = false, useable = true, shouldClose = true, description = 'A silver wedding ring.' },
['gold_ring_amethyst'] = { name = 'gold_ring_amethyst', label = 'Amethyst Gold Ring', weight = 200, type = 'item', image = 'gold_ring_amethyst.png', unique = false, useable = true, shouldClose = true, description = 'A gold ring with an amethyst gemstone.' },
['gold_ring_corundum'] = { name = 'gold_ring_corundum', label = 'Corundum Gold Ring', weight = 200, type = 'item', image = 'gold_ring_corundum.png', unique = false, useable = true, shouldClose = true, description = 'A gold ring with a corundum gemstone.' },
['gold_ring_crystal'] = { name = 'gold_ring_crystal', label = 'Crystal Gold Ring', weight = 200, type = 'item', image = 'gold_ring_crystal.png', unique = false, useable = true, shouldClose = true, description = 'A gold ring with a crystal gemstone.' },
['gold_ring_diamond_crystal'] = { name = 'gold_ring_diamond_crystal', label = 'Diamond Gold Ring', weight = 200, type = 'item', image = 'gold_ring_diamond_crystal.png', unique = false, useable = true, shouldClose = true, description = 'A luxurious diamond gold ring.' },
['gold_ring_quartz'] = { name = 'gold_ring_quartz', label = 'Quartz Gold Ring', weight = 200, type = 'item', image = 'gold_ring_quartz.png', unique = false, useable = true, shouldClose = true, description = 'A gold ring with a quartz gemstone.' },
['gold_ring_ruby'] = { name = 'gold_ring_ruby', label = 'Ruby Gold Ring', weight = 200, type = 'item', image = 'gold_ring_ruby.png', unique = false, useable = true, shouldClose = true, description = 'A gold ring with a ruby gemstone.' },
['silver_ring_amethyst'] = { name = 'silver_ring_amethyst', label = 'Amethyst Silver Ring', weight = 200, type = 'item', image = 'silver_ring_amethyst.png', unique = false, useable = true, shouldClose = true, description = 'A silver ring with an amethyst gemstone.' },
['silver_ring_corundum'] = { name = 'silver_ring_corundum', label = 'Corundum Silver Ring', weight = 200, type = 'item', image = 'silver_ring_corundum.png', unique = false, useable = true, shouldClose = true, description = 'A silver ring with a corundum gemstone.' },
['silver_ring_crystal'] = { name = 'silver_ring_crystal', label = 'Crystal Silver Ring', weight = 200, type = 'item', image = 'silver_ring_crystal.png', unique = false, useable = true, shouldClose = true, description = 'A silver ring with a crystal gemstone.' },
['silver_ring_diamond_crystal'] = { name = 'silver_ring_diamond_crystal', label = 'Diamond Silver Ring', weight = 200, type = 'item', image = 'silver_ring_diamond_crystal.png', unique = false, useable = true, shouldClose = true, description = 'A luxurious diamond silver ring.' },
['silver_ring_quartz'] = { name = 'silver_ring_quartz', label = 'Quartz Silver Ring', weight = 200, type = 'item', image = 'silver_ring_quartz.png', unique = false, useable = true, shouldClose = true, description = 'A silver ring with a quartz gemstone.' },
['silver_ring_ruby'] = { name = 'silver_ring_ruby', label = 'Ruby Silver Ring', weight = 200, type = 'item', image = 'silver_ring_ruby.png', unique = false, useable = true, shouldClose = true, description = 'A silver ring with a ruby gemstone.' },
ox_inventory#
- Copy the OX section from
INSTALL/items.md - Put images into
ox_inventory/web/images/ - Restart
ox_inventory - Restart
0r-marriagev2
Config:
ItemImagePath = 'nui://ox_inventory/web/images/%s.png',
qb-inventory#
- Copy the QB section from
INSTALL/items.md - Put images into your qb images folder
- Restart inventory + core
- Restart
0r-marriagev2
Config:
ItemImagePath = 'nui://qb-inventory/html/images/%s.png',
Item does nothing#
- Check the name matches config
- Check the item exists in inventory
- Check the inventory script is running
- Restart inventory, then marriage
Bouquet#
Using wedding_bouquet puts it in the hand.
The model comes from 0r-marriagev2-streams. If the prop is invisible, streams is not started.
Test#
- Ring appears in inventory
- Image shows
- Jewelry shop sells it
- Proposal ring can be used
- Certificate opens
- Bouquet goes into hand
- Invitation opens