forked from Crimso777/Factorio-Access
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't workingcursorTopic. Includes features like cursor skipping, cursor scanningTopic. Includes features like cursor skipping, cursor scanningspace agerequired to support the Space Age expansionrequired to support the Space Age expansion
Description
Now that a lot is being done in remote view in Space Age, we need to be more careful about making character-related alerts and effects reference the character position and the character inventories rather than those of the player. This matters in Space Age because the player in remote view controls a different entity that has a position and inventory of its own.
The good news is that we can easily access the character from "player.character" and we can easily check whether the player is currently directly controlling the character by reading "player.controller_type".
Here are a few of the places that might or do need to be modified to account for this:
- Enemy presence alerts and rail alerts should reference the character position and work during any controller type
- Cursor held item changes should care about whether the character is being controlled for all the checks that involve the character inventory
- Player bump and stuck alerts and also the aim gun at nearest enemy feature should only work when controlling the character directly.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcursorTopic. Includes features like cursor skipping, cursor scanningTopic. Includes features like cursor skipping, cursor scanningspace agerequired to support the Space Age expansionrequired to support the Space Age expansion