IniOption ALWAYS_FOOD and some default changes (#165 )

IniOption ALWAYS_FOOD and some default changes

- added ALWAYS_FOOD, allows to choose wether food items appear even when not using FOOD
- set Extra Civilians and Extra Merchants (blackmarket, etc.) to TRUE as default
- climbing with backpacks: no climbing, except if backpack is less or at 0.5 kg
-  with current items, that's only the Tactical Sling (0.2 kg)
This commit is contained in:
Kitty
2025-08-03 09:21:27 +02:00
committed by GitHub
+46 -12
View File
@@ -1143,15 +1143,15 @@ ALLOW_LAZY_CIVILIANS = TRUE
CIVILIANS_AVOID_PLAYER_MINES = TRUE
;------------------------------------------------------------------------------------------------------------------------------
; Default: FALSE
; Default: TRUE
; Additional civilians can be placed in maps via Lua scripts, see Scripts/strategicmap.lua: HandleSectorTacticalEntry()
; It is also possible to place new merchants (that don't require a NPC profile) this way, see the same file
;------------------------------------------------------------------------------------------------------------------------------
ALLOW_EXTRA_CIVILIANS = FALSE
ALLOW_EXTRA_CIVILIANS = TRUE
; Allow placing of new merchants
; Allow placing of new merchants (including the blackmarket dealer)
; Note: this requires ALLOW_EXTRA_CIVILIANS to be TRUE
ALLOW_EXTRA_MERCHANTS = FALSE
ALLOW_EXTRA_MERCHANTS = TRUE
;------------------------------------------------------------------------------------------------------------------------------
; Default: FALSE
@@ -2110,24 +2110,38 @@ CAN_CLIMB_ON_WALLS = TRUE
; Tl;dr:
; ------
;
; - no climbing with backpacks at all: MAX_BACKPACK_WEIGHT_TO_CLIMB = -1
; USE_GLOBAL_BACKPACK_SETTINGS = TRUE
; - no climbing with backpacks at all:
;
; - always climb with all backpacks: MAX_BACKPACK_WEIGHT_TO_CLIMB = -1
; USE_GLOBAL_BACKPACK_SETTINGS = FALSE
; MAX_BACKPACK_WEIGHT_TO_CLIMB = -1
; USE_GLOBAL_BACKPACK_SETTINGS = TRUE
;
; - climb only with less heavy backpacks: MAX_BACKPACK_WEIGHT_TO_CLIMB = 30 (example value)
; USE_GLOBAL_BACKPACK_SETTINGS = FALSE
; - always climb with all backpacks:
;
; MAX_BACKPACK_WEIGHT_TO_CLIMB = -1
; USE_GLOBAL_BACKPACK_SETTINGS = FALSE
;
; - climb, but restrict backpacks over certain weight limit:
;
; MAX_BACKPACK_WEIGHT_TO_CLIMB = 50 (example value: climb, but not if backpack is over 5 kg)
; USE_GLOBAL_BACKPACK_SETTINGS = FALSE
;
; - no climbing, except for backpacks under certain weight limit:
;
; MAX_BACKPACK_WEIGHT_TO_CLIMB = 5 (example value: don't climb if backpack is over 0.5 kg)
; USE_GLOBAL_BACKPACK_SETTINGS = TRUE
;
; default:
; --------
;
; MAX_BACKPACK_WEIGHT_TO_CLIMB = -1
; MAX_BACKPACK_WEIGHT_TO_CLIMB = 5
; USE_GLOBAL_BACKPACK_SETTINGS = TRUE
;
; Currently in unmodded 1.13 the Tactical Sling is the only backpack item under 0.5 kg,
; so with default setting, no climbing, except when using the Tactical Sling.
;
;------------------------------------------------------------------------------------------------------------------------------
MAX_BACKPACK_WEIGHT_TO_CLIMB = -1
MAX_BACKPACK_WEIGHT_TO_CLIMB = 5
USE_GLOBAL_BACKPACK_SETTINGS = TRUE
;------------------------------------------------------------------------------------------------------------------------------
@@ -3091,6 +3105,26 @@ FOOD_DECAY_MODIFICATOR = 1.0
; do mercs make sounds when eating/drinking?
FOOD_EATING_SOUNDS = TRUE
; ******************************************************
; Do food items show in game, even when not using FOOD?
; ******************************************************
;
; Some players might want food items in game for roleplay reason, i.e. no food being sold at restaurants might seems odd ...
; Others might find it bothersome to have that many food items in game when not using it.
; With this option, it can be decided what it will be.
;
; With the option ALWAYS_FOOD set TRUE, food items will show even when not using the foodsystem (FOOD = FALSE).
; Should ALWAYS_FOOD be set to FALSE, no food items will be shown without using the foodsystem.
; If FOOD is set to TRUE, the settings in ALWAYS_FOOD won't matter, food items will show in this case.
;
; Any effects of those items which are specific to foodsystem won't come into play without the foodsystem used.
; Example: We won't sate our hunger if we're not getting hungry in the first place.
;
; Default = FALSE
; *****************************************************+
ALWAYS_FOOD = FALSE
;******************************************************************************************************************************
;******************************************************************************************************************************