And so it begins...

This commit is contained in:
Signal 2025-11-09 16:29:33 -05:00
commit 1b8091e26b
55 changed files with 962 additions and 0 deletions

View file

@ -0,0 +1,35 @@
local ns = artifact
function ns.apply_key(m)
m.object:set_properties {
textures = {"artifact_key.png"},
visual_size = vector.new(1,1,1) *0.88,
eye_height = 1.6
}
m.eye_height = 1.6
end
function ns.apply_vix(m)
m.object:set_properties {
textures = {"artifact_vix.png"},
visual_size = vector.new(1,1,1) *0.8,
eye_height = 1.5
}
m.eye_height = 1.5
end
function ns.swap_character(m)
if m.character == "vix" then
m:set_character("key")
ns.apply_key(m)
else
m:set_character("vix")
ns.apply_vix(m)
end
end
include "key.lua"
include "vix.lua"