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_nodes.lua

47 lines
1.2 KiB

-- __ _ _______ _ __
-- / / /\ | | |__ __| | | \ \
-- / / / \ | |_ __ ___ | | ___ ___| |__ \ \
-- < < / /\ \ | | '_ ` _ \| |/ _ \/ __| '_ \ > >
-- \ \ / ____ \| | | | | | | | __/ (__| | | | / /
-- \_\ /_/ \_\_|_| |_| |_|_|\___|\___|_| |_| /_/
5 years ago
-- NPC Nodes --
Quantum.Node.Create( "generalvendor", {
type = Quantum.NodeType.NPC,
canGather = false,
name = "General Goods Vendor",
model = "models/kleiner.mdl",
} )
-- Resource Nodes --
local miningTools = { "tool_pickaxe" }
Quantum.Node.Create( "stone", {
type = Quantum.NodeType.resource,
canGather = true,
name = "Stone",
model = "models/props/cs_militia/militiarock05.mdl",
toolids = miningTools,
give = {
{ item = "rock", amount = 1 },
{ item = "rock", amount = 2 }
},
giveprobability = 1/2,
health = 20,
respawn = 10
} )
Quantum.Node.Create( "bigstone", {
type = Quantum.NodeType.resource,
canGather = true,
name = "Big Stone",
model = "models/props/cs_militia/militiarock03.mdl",
toolids = miningTools,
give = {
{ item = "rock", amount = 1 },
{ item = "rock", amount = 2 }
},
giveprobability = 3/4,
health = 20,
respawn = 10
} )