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.
31 lines
1.1 KiB
31 lines
1.1 KiB
-- __ _ _______ _ __
|
|
-- / / /\ | | |__ __| | | \ \
|
|
-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \
|
|
-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > >
|
|
-- \ \ / ____ \| | | | | | | | __/ (__| | | | / /
|
|
-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/
|
|
|
|
Quantum.Item.Create( "test", {
|
|
name = "Test Item",
|
|
desc = "This is a test item!\nDoes not stack.",
|
|
model = "models/props_phx/gears/bevel12.mdl",
|
|
soulbound = true,
|
|
equipable = false,
|
|
rarity = Quantum.Rarity.Rare,
|
|
usefunction = function() print( "Test!" ) end,
|
|
consumefunction = function() print( "Test 2!" ) end
|
|
} )
|
|
|
|
Quantum.Item.Create( "test2", {
|
|
name = "Trash Item Test",
|
|
desc = "This is literall trash\nLine breaker test :D\n\nTest :D",
|
|
model = "models/props_phx/gears/bevel12.mdl",
|
|
stack = 10, --wrong change later to 10 or something
|
|
soulbound = false,
|
|
equipable = false,
|
|
rarity = Quantum.Rarity.Trash,
|
|
consumefunction = function( user )
|
|
user:Kill()
|
|
user:PrintChat( "You consumed trash and died!" )
|
|
end
|
|
} ) |