-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Searchlights: don't drop items used for settings (#63429)
Searchlights store their settings on a processor board item, so their "beams" can have persistent behavior between turns. They do this using item vars, but these item vars linger after their death, causing the items not to stack. Simple solution: Just don't drop these settings items. Also, erase these item vars on any existing items, so that they can now stack. This does mean that searchlights are no longer guaranteed to drop multiple processor items. I think that this is acceptable, but it will mean they drop fewer items as, unlike other robots, they do not drop a disassemblable corpse, only a random item from an itemgroup.
- Loading branch information
1 parent
7505987
commit 83ed3f6
Showing
4 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters