19 lines
391 B
GDScript
19 lines
391 B
GDScript
extends Fork
|
|
class_name Knife
|
|
|
|
const KNIFE_ZONE_RADIUS = 10
|
|
|
|
func get_item_name() -> String:
|
|
return "Knife"
|
|
|
|
func get_description() -> String:
|
|
return "Use it to harvest mature plants. Do not cost energy."
|
|
|
|
func get_energy_used() -> int:
|
|
return 0
|
|
|
|
func get_icon() -> Texture2D:
|
|
return preload("res://common/icons/slice.svg")
|
|
|
|
func get_usage_zone_radius() -> int:
|
|
return KNIFE_ZONE_RADIUS |