Skip to content

Commit 6d63ae8

Browse files
committed
add container env 'DLC_SPACE_AGE' support
1 parent 98d5b4c commit 6d63ae8

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

charts/factorio-server-charts/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ spec:
167167
value: {{ .Values.factorioServer.generate_new_save | quote }}
168168
- name: LOAD_LATEST_SAVE
169169
value: {{ .Values.factorioServer.load_latest_save | quote }}
170+
- name: DLC_SPACE_AGE
171+
value: {{ .Values.factorioServer.enable_space_age | quote }}
170172
- name: CONFIG
171173
value: /factorio/configs
172174
{{- if .Values.nodeSelector }}

charts/factorio-server-charts/values.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,16 @@ mods:
146146
## @param factorioServer.update_mods_on_start Update mods on server start
147147
## @param factorioServer.load_latest_save Lets the game know if you want to load the latest save
148148
factorioServer:
149-
# specify a save name
149+
# name to use for the save file
150150
save_name: "replaceMe"
151-
# Generate a New Save
151+
# generate a new save if one does not exist before starting the server
152152
generate_new_save: true
153-
# Update mods on start
153+
# if mods should be updated before starting the server
154154
update_mods_on_start: false
155-
# lets the game know if you want to load the latest save
155+
# load latest when true. Otherwise load SAVE_NAME
156156
load_latest_save: true
157+
# enables or disables the mods for DLC Space Age in mod-list.json
158+
enable_space_age: true
157159

158160
import_save:
159161
# enable save importer

0 commit comments

Comments
 (0)