Jump to content

Recommended Posts

I made a silly mod for my friend that reskins the pigs to look like her cat, and I've had this issue where only new pigs get reskinned meanwhile pigs that were there before the mod was enabled don't get skinned at all
image.png.ba50bdff2512540b93ceacedc14e010f.png

as displayed above

This is a client mod and I am unsure as to what I could do to fix this my ideas already haven't worked

Mod's source code below:

local STRINGS = GLOBAL.STRINGS
 
STRINGS.NAMES.PIGMAN = "Ember"
 
Assets = {
    Asset("ANIM", "anim/ember_build.zip"),
}
 
AddPrefabPostInit("pigman", function(inst)
    inst.build = "ember_build"
    inst.AnimState:SetBuild("ember_build")
    inst.name = "Ember"
end)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...