Added default name of player

This commit is contained in:
Paul Black 2023-12-04 01:40:16 -07:00
parent 49f4e31bd9
commit 1e4129bdaa

View file

@ -1,5 +1,5 @@
extends Node
var consoleEnabled = false # Change this to enable console
var consoleEnabled = true # Change this to enable console
var mouseSensitivity = 0.01 # Unless otherwise changed by user in settings
var playingGame = false # Should be true while in a map, set by menus
var fatigue = 100 # Makes it so you can't run forever, you have limited energy
@ -8,7 +8,7 @@ var playerDead = false # Defined by Global.player_dead()
var playerAlive = true # Gets set to false by death.tscn then to true after the death timer is up
var playerPleaseRespawn = false # When true, this executes the apporiate commands to respawn the player. Controlled by death.tscn
var playerYDeath = -20 # The point in which the player will die from falling off the map, defined in map scripts
var playerName # Defined in the settings-file.gd script
var playerName = "player" # Defined in the settings-file.gd script
var deathShield = 0 # Makes you unkillable for a specified amount of time. Used to prevent the kill screen from appearing twice as well
var goScene # This is used for the sceneChangerConfirm window. Initalized by a different script prior to sceneChangerConfirm
var consoleOpen = false # This specifies whether or not the console is open