seeding-planets/entities/player/inventory/scripts/items/knife.gd
Zacharie Guet a8bb09407e ajout de la traduction #70
* Fix de l'inspection de l'inventaire
* Suppression des assets d'objectifs
2025-11-07 17:36:18 +01:00

18 lines
361 B
GDScript

extends Fork
class_name Knife
const KNIFE_ZONE_RADIUS = 10
func get_item_name() -> String:
return tr("KNIFE")
func get_description() -> String:
return tr("KNIFE_DESC_TEXT")
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