Quantum is a Garry's Mod RPG framework.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
quantum/gamemode/settings/sh_items.lua

18 lines
671 B

-- __ _ _______ _ __
-- / / /\ | | |__ __| | | \ \
-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \
-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > >
-- \ \ / ____ \| | | | | | | | __/ (__| | | | / /
-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/
Quantum.Item.Create( "test", {
name = "Test Item",
desc = "This is a test item!",
model = "models/props_phx/gears/bevel12.mdl",
stack = false,
soulbound = true,
equipable = false,
rarity = Quantum.Rarity.Legendary,
usefunction = function() print( "Test!" ) end,
consumefunction = function() print( "Test 2!" ) end,
} )