ChronoSpace/scenes/upgrade/upgrades/strafeUpgrade.gd

9 lines
252 B
GDScript

class_name StrafeUpgrade extends "res://scenes/upgrade/upgrade.gd"
func _init() -> void:
upgradeName = "Strafe Upgrade"
description = "Move Left and Right"
func select():
if Globals.getPlayer() != null:
Globals.getPlayer().strifeUnlocked = true