From 708f1e4731753aee5acc145d906c63ef5fa9832c Mon Sep 17 00:00:00 2001 From: Putnam Date: Wed, 6 Nov 2019 01:31:43 -0800 Subject: [PATCH] Actually added stuff to the config. --- .../configuration/entries/game_options.dm | 24 +++++++++++++++++++ config/game_options.txt | 16 +++++++++++++ 2 files changed, 40 insertions(+) diff --git a/code/controllers/configuration/entries/game_options.dm b/code/controllers/configuration/entries/game_options.dm index 36b57a4b7c..e11f33c021 100644 --- a/code/controllers/configuration/entries/game_options.dm +++ b/code/controllers/configuration/entries/game_options.dm @@ -411,3 +411,27 @@ /datum/config_entry/keyed_list/dynamic_high_population_requirement key_mode = KEY_MODE_TEXT value_mode = VALUE_MODE_NUM + +/datum/config_entry/number/dynamic_summon_guns_requirement + config_entry_value = 10 + min_val = 0 + +/datum/config_entry/number/dynamic_summon_guns_cost + config_entry_value = 5 + min_val = 0 + +/datum/config_entry/number/dynamic_summon_magic_requirement + config_entry_value = 10 + min_val = 0 + +/datum/config_entry/number/dynamic_summon_magic_cost + config_entry_value = 5 + min_val = 0 + +/datum/config_entry/number/dynamic_summon_events_requirement + config_entry_value = 20 + min_val = 0 + +/datum/config_entry/number/dynamic_summon_events_cost + config_entry_value = 10 + min_val = 0 diff --git a/config/game_options.txt b/config/game_options.txt index c06845cde3..2f008cf365 100644 --- a/config/game_options.txt +++ b/config/game_options.txt @@ -396,6 +396,22 @@ DYNAMIC_HIGH_POPULATION_REQUIREMENT NIGHTMARE 50 DYNAMIC_HIGH_POPULATION_REQUIREMENT LATEJOIN_TRAITOR 10 DYNAMIC_HIGH_POPULATION_REQUIREMENT LATEJOIN_REVOLUTION 50 +## Dynamic wizard stuff + +## How much threat level is required to buy summon guns. Setting to 0 makes it always available. +DYNAMIC_SUMMON_GUNS_REQUIREMENT 10 + +## How much summon guns reduces the round's remaining threat. Setting to 0 makes it cost none. +DYNAMIC_SUMMON_GUNS_COST 5 + +## As above, but for summon magic +DYNAMIC_SUMMON_MAGIC_REQUIREMENT 10 +DYNAMIC_SUMMON_MAGIC_COST 5 + +## As above, but for summon events +DYNAMIC_SUMMON_EVENTS_REQUIREMENT 20 +DYNAMIC_SUMMON_EVENTS_COST 10 + ## AI ### ## Allow the AI job to be picked.