21 lines
361 B
GDScript3
21 lines
361 B
GDScript3
|
extends Reference
|
||
|
class_name SummerDayTool
|
||
|
|
||
|
|
||
|
var priority = 0
|
||
|
var modifier_layer = 0
|
||
|
|
||
|
|
||
|
func _check_for_use(
|
||
|
event: InputEvent, tool_context: SummerDayToolContext
|
||
|
) -> bool: # Virtual.
|
||
|
return false
|
||
|
|
||
|
|
||
|
func _run(event: InputEvent, tool_context: SummerDayToolContext): # Virtual.
|
||
|
pass
|
||
|
|
||
|
|
||
|
func get_priority_score() -> int:
|
||
|
return priority * 4 + modifier_layer
|