(wip) script, bbmodel REBASE THIS LATER

- Imported textures into bbmodel
- script something idk
This commit is contained in:
NullBite 2024-11-28 03:14:44 -05:00
parent 0de5c72900
commit 8384398305
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 184 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,7 @@ UVManager=require("nulllib.UVManager")
sharedstate=require("nulllib.sharedstate") sharedstate=require("nulllib.sharedstate")
sharedconfig=require("nulllib.sharedconfig") sharedconfig=require("nulllib.sharedconfig")
statemonitor=require("nulllib.statemonitor") statemonitor=require("nulllib.statemonitor")
KattArmor=require("kattarmor.KattArmor") KattArmor=require("kattarmor.KattArmor")()
---Set optimal settings for random player sounds ---Set optimal settings for random player sounds
---@param sound Sound ---@param sound Sound
@ -264,9 +264,9 @@ do
local all_armor=util.reduce(util.mergeTable, {VANILLA_GROUPS.ARMOR, TAIL_LEGGINGS, TAIL_BOOTS}) local all_armor=util.reduce(util.mergeTable, {VANILLA_GROUPS.ARMOR, TAIL_LEGGINGS, TAIL_BOOTS})
PM.addPartListFunction(all_armor, function(last) return last and sharedconfig.load("armor_enabled") end) PM.addPartListFunction(all_armor, function(last) return last and sharedconfig.load("armor_enabled") end)
-- Only show armor if equipped -- Only show armor if equipped
PM.addPartFunction(model.Body.MTail1.MTail2.MTail3.Boot, function(last) return last and armor_state.boots end) -- PM.addPartFunction(model.Body.MTail1.MTail2.MTail3.Boot, function(last) return last and armor_state.boots end)
PM.addPartFunction(model.Body.MTail1.MTail2.MTail3.LeatherBoot, function(last) return last and armor_state.leather_boots end) -- PM.addPartFunction(model.Body.MTail1.MTail2.MTail3.LeatherBoot, function(last) return last and armor_state.leather_boots end)
PM.addPartListFunction(TAIL_LEGGINGS, function(last) return last and armor_state.leggings end) -- PM.addPartListFunction(TAIL_LEGGINGS, function(last) return last and armor_state.leggings end)
-- Disable when vanilla_enabled -- Disable when vanilla_enabled
@ -276,6 +276,12 @@ end
SNORES={"snore-1", "snore-2", "snore-3"} SNORES={"snore-1", "snore-2", "snore-3"}
-- }}} -- }}}
-- KattArmor Config -- {{{
KattArmor.Armor.Leggings:addParts(table.unpack(TAIL_LEGGINGS))
KattArmor.Armor.Boots:addParts(table.unpack(TAIL_BOOTS))
-- KattArmor.
-- }}}
-- Expression change -- {{{ -- Expression change -- {{{
do do
local expressions={} local expressions={}