Jump to content

Moongleams can recharge items in containers


hoxi
  • Pending

I'm not sure if it's intentional. I can see it still be somewhat intuitive if it's in the player's inventory, but even that's a bit of a reach. For containers it's definitely weird.

 

Maybe you could make it work only if it's equipped?

 

While it makes sense to not exclude INLIMBO here:

for i, ent in ipairs(TheSim:FindEntities(x, y, z, 4, CHARGE_MUST_TAGS)) do
	if ent.components.moonsparkchargeable then
		ent.components.moonsparkchargeable:DoSpark(inst)
	end
end

You could check if the item is either not in limbo or if it's equipped through it's equippable component (if it has one). This would automatically include mannequins.


Steps to Reproduce
  • Put some Astroggles inside a backpack or chest or so, with less than 100% durability.
  • Make some Moongleams cause a shock near the container.
  • Notice how the item is affected when you'd think it'd be isolated in there.
  • Like 2



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