Added resource items & node loot tables changed

master
E. Almqvist 5 years ago
parent 57c649a327
commit 259b682620
  1. 12
      gamemode/settings/sh_items.lua
  2. 8
      gamemode/settings/sh_nodes.lua

@ -70,3 +70,15 @@ Quantum.Item.Create( "pickaxe", {
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,
} )

@ -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,

Loading…
Cancel
Save