2024-01-28 11:58:35 +00:00
|
|
|
class_name Endless extends Node
|
|
|
|
|
|
|
|
@export var roundManager : RoundManager
|
|
|
|
@export var smokerdude : Node3D
|
|
|
|
@export var display : StandardMaterial3D
|
|
|
|
@export var displayrounds : CompressedTexture2D
|
2024-04-05 10:52:30 +01:00
|
|
|
@export var amounts : Amounts
|
2024-01-28 11:58:35 +00:00
|
|
|
|
|
|
|
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
|
2024-04-05 10:52:30 +01:00
|
|
|
for res in amounts.array_amounts:
|
|
|
|
res.amount_active = res.amount_don
|