Add Sandstorm balance config (#279)

* Add Sandstorm balance config

Allows changing settings for the Cryptominer, Autodoc, and Bluespace Miner.

* Update server config with real-time values

Sandstorm balance configurations have been updated to read values in real time whenever possible.

Values are now set using defines, and any that could not use them have been disabled.

A new configuration has been added to control when the bluespace mining machine can produce bluespace crystals.

* Fixes a critical cryptominer issue

Fixes a tremendous coding oversight that added two additional whitespace characters to the cryptominer machine file.

* Fix incorrect config value for BSMs

Fixes a mistaken definition for BLUESPACE_MINER_CRYSTAL_TIER pointing to a previously used value.

* Undefine balance config defines

Adds an undefine statement for all balance config value defines.

* Properly undefine definitions

Fixes incorrect term usage for undefining a value.
This commit is contained in:
Darius
2023-01-29 22:29:33 -03:00
committed by GitHub
parent 8ae64b1bd8
commit eb0b27889b
7 changed files with 239 additions and 34 deletions
@@ -0,0 +1,66 @@
/// CRYPTOMINERS ///
// Should cryptominers work in non-atmos turf
/datum/config_entry/flag/crypto_ignore_atmos
// Cryptominer point multipliers
/datum/config_entry/number/crypto_multiplier_min
config_entry_value = 0.20
integer = FALSE
/datum/config_entry/number/crypto_multiplier_mid
config_entry_value = 1
integer = FALSE
/datum/config_entry/number/crypto_multiplier_max
config_entry_value = 3
integer = FALSE
// Cryptominer heat thresholds
/datum/config_entry/number/crypto_heat_threshold_min
config_entry_value = 225
/datum/config_entry/number/crypto_heat_threshold_mid
config_entry_value = 273
/datum/config_entry/number/crypto_heat_threshold_max
config_entry_value = 500
// Cryptominer heat produced
/datum/config_entry/number/crypto_heat_power
config_entry_value = 100
/*
* The contained configuration values are currently unimplemented
*
// Cryptominer processing time
/datum/config_entry/number/crypto_mining_time
config_entry_value = 3000
// Cryptominer base payout
/datum/config_entry/number/crypto_payout_amount
config_entry_value = 50
// Cryptominer power use
/datum/config_entry/number/crypto_power_use_idle
config_entry_value = 20
/datum/config_entry/number/crypto_power_use_active
config_entry_value = 200
/datum/config_entry/number/crypto_power_use_process
config_entry_value = 20
*/
/// AUTODOC ///
// Autodoc processing time
/datum/config_entry/number/autodoc_time_surgery_base
config_entry_value = 350
/// BLUESPACE MINER ///
// BSM production output multiplier
/datum/config_entry/number/bluespaceminer_mult_output
config_entry_value = 1
// BSM minimum tier for bluespace crystals
/datum/config_entry/number/bluespaceminer_crystal_tier
config_entry_value = 5