add gfx.skeletons library
This commit is contained in:
parent
6f11741310
commit
b991ca3c9a
@ -86,7 +86,7 @@ end
|
|||||||
local prev_rotation = mat4.idt()
|
local prev_rotation = mat4.idt()
|
||||||
|
|
||||||
function update_hand()
|
function update_hand()
|
||||||
local skeleton = __skeleton
|
local skeleton = gfx.skeletons
|
||||||
local pid = hud.get_player()
|
local pid = hud.get_player()
|
||||||
local invid, slot = player.get_inventory(pid)
|
local invid, slot = player.get_inventory(pid)
|
||||||
local itemid = inventory.get(invid, slot)
|
local itemid = inventory.get(invid, slot)
|
||||||
|
|||||||
@ -396,6 +396,8 @@ function _rules.clear()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function __vc_on_hud_open()
|
function __vc_on_hud_open()
|
||||||
|
gfx.skeletons = __skeleton
|
||||||
|
|
||||||
_rules.create("allow-cheats", true)
|
_rules.create("allow-cheats", true)
|
||||||
|
|
||||||
_rules.create("allow-content-access", hud._is_content_access(), function(value)
|
_rules.create("allow-content-access", hud._is_content_access(), function(value)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user