Page 1 of 1

[2.0.13] Selection tool with flag "only-in-cursor" but without "spawnable" can't be used when switching into remote view

Posted: Sat Nov 02, 2024 12:29 pm
by ickputzdirwech
A selection tool (in my case a deconstruction planner) with the flag "only-in-cursor" but without "spawnable" can't be used in remote view, when it was in the cursor before switching into remote view. When I add the "spawnable" flag it works as expected. (The flag wasn't set, since the item is given to the player with a shortcut with action = "lua" anyways.).

I would expect that the "spawnable" flag doesn't change the behaviour in remote view and that it doesn't make a difference if the item is in the cursor before remote view is activated or not.

If this is at least partially intended the description of ItemPrototypeFlags should reflect that behaviour.

Re: [2.0.13] Selection tool with flag "only-in-cursor" but without "spawnable" can't be used when switching into remote

Posted: Sat Nov 16, 2024 8:44 pm
by Klonan
This is intended, I will move this to doc requests

E.g, You can have a physical item that is 'only in cursor', that physical item is in your characters cursor, and should not be in the remote cursor since it is a physical item of your character

The 'spawnable' flag is what we use to determine if the remote controller can hold it, (i.e if its considered a 'virtual' item)