Jump to content

[custom Character] I can't see Abigail's strength pls help


Recommended Posts

My first hunch was to check in widgets/statusdisplays, which seems to be correct, because Klei is specifically checking for a "wendy" prefab to add the Abigail meter. It's weird, they normally use tags for this. Anyway, you could add the same code to your mod and see if it fixes the problem. Here you go, it goes in modmain:

local PetHealthBadge = require("widgets/pethealthbadge")

AddClassPostConstruct("widgets/statusdisplays", function(self, owner)
	if owner.components.pethealthbar ~= nil then
		if owner.prefab == "pink" then
			self.pethealthbadge = self:AddChild(PetHealthBadge(owner, { 254 / 255, 253 / 255, 237 / 255, 1 }, "status_abigail"))
			self.pethealthbadge:SetPosition(self.column4, -100, 0)
			
			self.moisturemeter:SetPosition(self.column2, -100, 0)
		end
	end
end)
  • Health 1
Link to comment
Share on other sites

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
 Share

×
  • Create New...