WITLOS ITEMS

WITLOS ITEMS
mail@pastecode.io avatar
unknown
lua
2 months ago
1.2 kB
2
Indexable
Never
local ITEM = {} 

ITEM.Name = "[Misc] Holocron Of Knowledge Cloak"

ITEM.Description = "While you have this you will know Knowledge Of Force Cloak"

ITEM.Type = WOSTYPE.VORTEX

--Add user groups that are allowed to use this tree. If anyone is allowed, set this to FALSE ( TREE.UserGroups = false )
ITEM.UserGroups = false

--Does this item disappear from the inventory after it's been applied?
ITEM.BurnOnUse = false

ITEM.Model = "models/batt/batt.mdl"
ITEM.Rarity = 0

ITEM.OnEquip = function( wep )
	wep.UseSwingSound = "lightsaber/saber_swing1.wav"
	wep:AddForcePower( "Cloak" )
end

wOS:RegisterItem( ITEM )

local ITEM = {} 
ITEM.Rarity = 0

ITEM.Name = "[Misc] Holocron Of Knowledge XP"

ITEM.Description = "Increases Skills XP by 50%"

ITEM.Type = WOSTYPE.MISC2

--Add user groups that are allowed to use this tree. If anyone is allowed, set this to FALSE ( TREE.UserGroups = false )
ITEM.UserGroups = false

--Does this item disappear from the inventory after it's been applied?
ITEM.BurnOnUse = false

ITEM.Model = "models/jediholo/jediholo.mdl"

ITEM.OnEquip = function( wep )
	wep.SkillXPMul = wep.SkillXPMul + 0.5
end

wOS:RegisterItem( ITEM )
Leave a Comment