Add mertail to model
This commit is contained in:
parent
44d799473f
commit
f0af26d609
File diff suppressed because one or more lines are too long
@ -419,11 +419,12 @@ do
|
|||||||
-- no legs, regular tail in water if tail enabled
|
-- no legs, regular tail in water if tail enabled
|
||||||
local mtail_mutually_exclusive={model.LeftLeg, model.RightLeg, model.Body_Tail}
|
local mtail_mutually_exclusive={model.LeftLeg, model.RightLeg, model.Body_Tail}
|
||||||
PM.addPartGroupFunction(mtail_mutually_exclusive, function(last) return last and not aquaticTailVisible() end)
|
PM.addPartGroupFunction(mtail_mutually_exclusive, function(last) return last and not aquaticTailVisible() end)
|
||||||
|
-- aquatic tail in water
|
||||||
|
local tailParts=mergeTable({model.Body.TailBase}, recurseModelGroup(model.Body.MTail))
|
||||||
|
PM.addPartGroupFunction(tailParts, function(last) return last and aquaticTailVisible() end)
|
||||||
|
|
||||||
-- Disable when vanilla_enabled
|
-- Disable when vanilla_enabled
|
||||||
PM.addPartGroupFunction(CUSTOM_GROUPS, function(last) return last and not local_state.vanilla_enabled end)
|
PM.addPartGroupFunction(CUSTOM_GROUPS, function(last) return last and not local_state.vanilla_enabled end)
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
SNORES={"snore-1", "snore-2", "snore-3"}
|
SNORES={"snore-1", "snore-2", "snore-3"}
|
||||||
@ -642,7 +643,6 @@ function tick()
|
|||||||
-- print(string.format('old_health=%03.2f, player.getHealth=%03.2f', old_health,player.getHealth()))
|
-- print(string.format('old_health=%03.2f, player.getHealth=%03.2f', old_health,player.getHealth()))
|
||||||
ping.oof(player.getHealth())
|
ping.oof(player.getHealth())
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if old_state.isUnderwater ~= player.isUnderwater() then syncState() end
|
if old_state.isUnderwater ~= player.isUnderwater() then syncState() end
|
||||||
old_state.isUnderwater=player.isUnderwater()
|
old_state.isUnderwater=player.isUnderwater()
|
||||||
@ -655,6 +655,7 @@ end
|
|||||||
chat_prefix="$"
|
chat_prefix="$"
|
||||||
chat.setFiguraCommandPrefix(chat_prefix)
|
chat.setFiguraCommandPrefix(chat_prefix)
|
||||||
function onCommand(input)
|
function onCommand(input)
|
||||||
|
local pfx=chat_prefix
|
||||||
input=splitstring(input)
|
input=splitstring(input)
|
||||||
if input[1] == chat_prefix .. "vanilla" then
|
if input[1] == chat_prefix .. "vanilla" then
|
||||||
setVanilla()
|
setVanilla()
|
||||||
|
BIN
texture.png
(Stored with Git LFS)
BIN
texture.png
(Stored with Git LFS)
Binary file not shown.
BIN
texture.xcf
(Stored with Git LFS)
BIN
texture.xcf
(Stored with Git LFS)
Binary file not shown.
BIN
texture_emission.png
(Stored with Git LFS)
BIN
texture_emission.png
(Stored with Git LFS)
Binary file not shown.
BIN
texture_emission.xcf
(Stored with Git LFS)
BIN
texture_emission.xcf
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user