-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable the ownership icons for collectibles when placing.
- Loading branch information
1 parent
8db185c
commit afa3ce3
Showing
7 changed files
with
67 additions
and
28 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
extends CheckBox | ||
onready var oOwnerSelection = Nodelist.list["oOwnerSelection"] | ||
onready var oOwnershipGridContainer = Nodelist.list["oOwnershipGridContainer"] | ||
|
||
func _on_UseSlabOwnerCheckBox_toggled(button_pressed): | ||
if button_pressed == true and visible == true: | ||
oOwnershipGridContainer.modulate = Color(1,1,1,0.25) | ||
else: | ||
oOwnershipGridContainer.modulate = Color(1,1,1,1.00) | ||
|
||
oOwnerSelection.update_ownership_available() | ||
|
||
func _on_UseSlabOwnerCheckBox_visibility_changed(): | ||
yield(get_tree(),'idle_frame') | ||
_on_UseSlabOwnerCheckBox_toggled(pressed) | ||
oOwnerSelection.update_ownership_available() |
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