Added HasVape which is false by default to prevent the player from being able to vape without picking up the vape

This commit is contained in:
2024-08-16 18:05:19 -05:00
parent af3e44dc18
commit ef2f505ab3
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ var mapLoader
var SpawnPoint:Vector3
var Player_Last_Location = Vector3(0,0,0)
var HasVape = false
var HasGeneratorKey = false
var Settings:Dictionary = {

View File

@ -1,5 +1,6 @@
extends Interactable
func interact(player):
GlobalSettings.HasVape = true
print("vape picked up")
queue_free()