From 259b682620fcd45dbb4a8c3e6172951d1c0193f0 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 12 Feb 2020 17:19:20 +0100 Subject: [PATCH] Added resource items & node loot tables changed --- gamemode/settings/sh_items.lua | 12 ++++++++++++ gamemode/settings/sh_nodes.lua | 8 ++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/gamemode/settings/sh_items.lua b/gamemode/settings/sh_items.lua index a73b8f4..2fa7825 100644 --- a/gamemode/settings/sh_items.lua +++ b/gamemode/settings/sh_items.lua @@ -69,4 +69,16 @@ Quantum.Item.Create( "pickaxe", { rarity = Quantum.Rarity.Common, equipslot = Quantum.EquipSlots.Weapon, equipgive = "tool_pickaxe" +} ) + + +---- RESOURCES ---- models/props_junk/rock001a.mdl + +Quantum.Item.Create( "stone", { + name = "Stone", + --desc = "A stone", + model = "models/props_junk/rock001a.mdl", + stack = 5, + soulbound = false, + rarity = Quantum.Rarity.Common, } ) \ No newline at end of file diff --git a/gamemode/settings/sh_nodes.lua b/gamemode/settings/sh_nodes.lua index 71e8739..83cc94c 100644 --- a/gamemode/settings/sh_nodes.lua +++ b/gamemode/settings/sh_nodes.lua @@ -12,7 +12,9 @@ Quantum.Node.Create( "stone", { model = "models/props/cs_militia/militiarock05.mdl", toolids = miningTools, give = { - { item = "test2", amount = 1 } + { item = "stone", amount = 1 }, + { item = "stone", amount = 2 }, + { item = "stone", amount = 3 } }, giveprobability = 1/2, health = 20, @@ -24,7 +26,9 @@ Quantum.Node.Create( "bigstone", { model = "models/props/cs_militia/militiarock03.mdl", toolids = miningTools, give = { - { item = "test2", amount = 1 } + { item = "stone", amount = 1 }, + { item = "stone", amount = 2 }, + { item = "stone", amount = 3 } }, giveprobability = 3/4, health = 20,