Jump to content

Post rift full moon enlightenment doesn't affect the world, only players


hoxi
  • Pending

Despite applying enlightenment to players identically to Moonstorms, which do affect the world, and it's just a weird inconsistency.

 

Could be easily tweaked by changing:

function Map:IsInLunacyArea(x, y, z)
	return (TheWorld.state.isalterawake and TheWorld.state.isnight) or self:FindVisualNodeAtPoint(x, y, z, "lunacyarea") ~= nil
end

To include the fullmoon and lunar rift check, so something like this:

function Map:IsInLunacyArea(x, y, z)
	local state = TheWorld.state
	return
		(state.isnight
			and (state.isalterawake or state.isfullmoon and TheWorld.components.riftspawner ~= nil and TheWorld.components.riftspawner:GetLunarRiftsEnabled())
		)
		or self:FindVisualNodeAtPoint(x, y, z, "lunacyarea") ~= nil
end

(formatting is a little weird to not stretch it all in a single line)


Steps to Reproduce
  • Have a full moon active while lunar rifts are enabled (and not having Moonstorms active).
  • Notice how despite being basically identical to the Moonstorm enlightenment effect (without the moon phase style, which could be also changed..), Hounds won't turn into Horror Hounds, and Pengulls in winter won't spawn as Permafrost ones.
  • Like 1



User Feedback


There are no comments to display.



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...