update
This commit is contained in:
+6
-6
@@ -114,16 +114,16 @@ func set_action_state(new_state):
|
||||
return
|
||||
|
||||
current_action_state = new_state
|
||||
if not local_player_character.is_bot:
|
||||
if local_player_character.is_bot == false:
|
||||
local_player_character.clear_highlights()
|
||||
local_player_character.clear_playerboard_highlights()
|
||||
|
||||
match new_state:
|
||||
ActionState.MOVING:
|
||||
if not local_player_character.is_bot:
|
||||
if local_player_character.is_bot == false:
|
||||
local_player_character.highlight_movement_range()
|
||||
ActionState.GRABBING:
|
||||
if not local_player_character.is_bot:
|
||||
if local_player_character.is_bot == false:
|
||||
local_player_character.highlight_adjacent_cells()
|
||||
if local_player_character.has_item_at_current_position():
|
||||
local_player_character.highlighted_cells.append(local_player_character.current_position)
|
||||
@@ -132,14 +132,14 @@ func set_action_state(new_state):
|
||||
local_player_character.enhanced_gridmap.hover_item
|
||||
)
|
||||
ActionState.PUTTING:
|
||||
if not local_player_character.is_bot:
|
||||
if local_player_character.is_bot == false:
|
||||
local_player_character.highlight_occupied_playerboard_slots()
|
||||
ActionState.RANDOMIZING:
|
||||
if not local_player_character.is_bot:
|
||||
if local_player_character.is_bot == false:
|
||||
local_player_character.highlight_random_valid_cells()
|
||||
ActionState.ARRANGING:
|
||||
show_arrangement_ui()
|
||||
if not local_player_character.is_bot:
|
||||
if local_player_character.is_bot == false:
|
||||
local_player_character.highlight_occupied_playerboard_slots()
|
||||
|
||||
func update_button_states():
|
||||
|
||||
Reference in New Issue
Block a user