Moved 'equip slots' table to constants

master
AlmTech Software 5 years ago
parent a090bc138b
commit af7bbad813
  1. 9
      gamemode/engine/lib/sh_vars.lua
  2. 8
      gamemode/settings/sh_settings.lua

@ -24,6 +24,7 @@ Quantum.ItemInfoDisplayMaxDistance = 200
Quantum.CharInfoDisplayDistance = 400 Quantum.CharInfoDisplayDistance = 400
---- Item Variables ----
Quantum.Rarity = { Quantum.Rarity = {
None = { txt = "gnomerd the mvp", color = Color( 0, 0, 0, 120 ) }, None = { txt = "gnomerd the mvp", color = Color( 0, 0, 0, 120 ) },
@ -34,6 +35,14 @@ Quantum.Rarity = {
Legendary = { txt = "Legendary", color = Color( 235, 125, 52, 40 ) } Legendary = { txt = "Legendary", color = Color( 235, 125, 52, 40 ) }
} }
Quantum.EquipSlots = {
Head = 0,
Chest = 1,
Legs = 2,
Boots = 3,
Weapon = 4
}
---- Placeholders ---- ---- Placeholders ----
Quantum.EmptyFunction = function() end Quantum.EmptyFunction = function() end

@ -18,14 +18,6 @@ Quantum.Inventory = {
MaxStackSize = 20 -- NOTE: MAX MaxStackSize=99 MaxStackSize = 20 -- NOTE: MAX MaxStackSize=99
} }
Quantum.EquipSlots = {
Head = 0,
Chest = 1,
Legs = 2,
Boots = 3,
Weapon = 4
}
Quantum.InventoryOpenDelay = 0.35 Quantum.InventoryOpenDelay = 0.35
Quantum.ItemPickupTime = 0.5 -- seconds Quantum.ItemPickupTime = 0.5 -- seconds

Loading…
Cancel
Save