-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEndlessMode.gd
25 lines (23 loc) · 991 Bytes
/
EndlessMode.gd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class_name Endless extends Node
@export var roundManager : RoundManager
@export var smokerdude : Node3D
@export var display : StandardMaterial3D
@export var displayrounds : CompressedTexture2D
@export var amounts : Amounts
func SetupEndless():
smokerdude.visible = false
roundManager.endless = true
roundManager.playerData.hasReadIntroduction = true
roundManager.playerData.hasReadItemSwapIntroduction = true
roundManager.playerData.hasReadItemDistributionIntro = true
roundManager.playerData.hasReadItemDistributionIntro2 = true
roundManager.playerData.numberOfDialogueRead = 3
roundManager.playerData.skippingShellDescription = true
roundManager.playerData.indicatorShown = true
roundManager.playerData.cutterDialogueRead = true
roundManager.playerData.seenGod = true
roundManager.shellSpawner.skipDialoguePresented = true
roundManager.shellLoadingSpedUp = true
display.albedo_texture = displayrounds
for res in amounts.array_amounts:
res.amount_active = res.amount_don