ajout de la possibilité d'avoir des items utilisable sans se déplacer
This commit is contained in:
@@ -19,6 +19,9 @@ func get_energy_used() -> int:
|
||||
func get_usage_zone_radius() -> int:
|
||||
return 0
|
||||
|
||||
func is_usage_need_proximity() -> bool:
|
||||
return false
|
||||
|
||||
func can_use(_player : Player, _zone: Player.ActionZone) -> bool:
|
||||
return true
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ func get_description() -> String:
|
||||
return tr("SHIP_TELEPORT_DESC_TEXT")
|
||||
|
||||
func get_icon() -> Texture2D:
|
||||
return preload("res://common/icons/chevrons-up.svg")
|
||||
return preload("res://common/icons/rocket.svg")
|
||||
|
||||
func get_energy_used() -> int:
|
||||
return 0
|
||||
@@ -19,6 +19,9 @@ func get_energy_used() -> int:
|
||||
func get_usage_zone_radius() -> int:
|
||||
return 0
|
||||
|
||||
func is_usage_need_proximity() -> bool:
|
||||
return false
|
||||
|
||||
func can_use(_player : Player, _zone: Player.ActionZone) -> bool:
|
||||
return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user