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:
@ -10,6 +10,7 @@ var mapLoader
|
|||||||
var SpawnPoint:Vector3
|
var SpawnPoint:Vector3
|
||||||
var Player_Last_Location = Vector3(0,0,0)
|
var Player_Last_Location = Vector3(0,0,0)
|
||||||
|
|
||||||
|
var HasVape = false
|
||||||
var HasGeneratorKey = false
|
var HasGeneratorKey = false
|
||||||
|
|
||||||
var Settings:Dictionary = {
|
var Settings:Dictionary = {
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
extends Interactable
|
extends Interactable
|
||||||
|
|
||||||
func interact(player):
|
func interact(player):
|
||||||
|
GlobalSettings.HasVape = true
|
||||||
print("vape picked up")
|
print("vape picked up")
|
||||||
queue_free()
|
queue_free()
|
||||||
Reference in New Issue
Block a user