mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 02:21:44 +00:00
## About The Pull Request Remember the overpriced, rare bomb core from the black market, the one you can use to convert an area to pizza or plasma? Looking back, I think I should've made it craftable with a dimensional anomaly rather than simply lock it to the back market, that was a real shame to its potential. Another thing, the power of the crafted dimensional bomb core varies with the strength of the gibtonite and if the grenade casings used are of large or advance release variants or not. Using low power gibtonite (deactivated too hastily) results in a radius of 11 (not counting the epicenter) tiles, roughly 70% of what you would get from the blackmarket core (17 tiles). Using a medium power gibtonite results in a radius of 13, or 82% of 17. Using two advanced/large grenades results in a radius of 15, 88% of 17. Using high power gibtonite results in a radius equal to the bm standard. Using both high power gibtonite and advanced/large grenades results in a radius of 19, for a 11.5% increase from 17. This is done so that using the anomaly to its fullest requires some steps beside the refined core itself, kinda in line with other anomaly tech but without filling the techweb with more clutter. ## Why It's Good For The Game This gives an use to the dimensional anomaly core beside the reactive armor and bounties. If it ever becomes problematic, it can be easily tuned later. ## Changelog 🆑 add: You can now craft multi-dimensional payloads with dimensional anomalies. /🆑 --------- Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
78 lines
3.4 KiB
Plaintext
78 lines
3.4 KiB
Plaintext
// Defines related to the mining rework circa June 2023
|
|
/// Durability of a large size boulder from a large size vent.
|
|
#define BOULDER_SIZE_LARGE 15
|
|
/// Durability of a medium size boulder from a medium size vent.
|
|
#define BOULDER_SIZE_MEDIUM 10
|
|
/// Durability of a small size boulder from a small size vent.
|
|
#define BOULDER_SIZE_SMALL 5
|
|
/// How many boulders can a single ore vent have on its tile before it stops producing more?
|
|
#define MAX_BOULDERS_PER_VENT 10
|
|
/// Time multiplier
|
|
#define INATE_BOULDER_SPEED_MULTIPLIER 3
|
|
|
|
// Vent type
|
|
/// Large vents, giving large boulders.
|
|
#define LARGE_VENT_TYPE "large"
|
|
/// Medium vents, giving medium boulders.
|
|
#define MEDIUM_VENT_TYPE "medium"
|
|
/// Small vents, giving small boulders.
|
|
#define SMALL_VENT_TYPE "small"
|
|
|
|
//gibtonite strength
|
|
/// Gibtonite was deactivated right before it could explode
|
|
#define GIBTONITE_QUALITY_HIGH 3
|
|
/// Gibtonite was deactivated a few seconds before it could explode
|
|
#define GIBTONITE_QUALITY_MEDIUM 2
|
|
/// Gibtonite was deactivated right after it was struck.
|
|
#define GIBTONITE_QUALITY_LOW 1
|
|
|
|
// Timers for the ore vents to perform wave defense.
|
|
/// Duration for wave defense for a small vent.
|
|
#define WAVE_DURATION_SMALL 60 SECONDS
|
|
/// Duration for wave defense for a medium vent.
|
|
#define WAVE_DURATION_MEDIUM 90 SECONDS
|
|
/// Duration for wave defense for a large vent.
|
|
#define WAVE_DURATION_LARGE 150 SECONDS
|
|
|
|
/// Proximity to a vent that a wall ore needs to be for 5 ore to be mined.
|
|
#define VENT_PROX_VERY_HIGH 3
|
|
/// Proximity to a vent that a wall ore needs to be for 4 ore to be mined.
|
|
#define VENT_PROX_HIGH 6
|
|
/// Proximity to a vent that a wall ore needs to be for 3 ore to be mined.
|
|
#define VENT_PROX_MEDIUM 15
|
|
/// Proximity to a vent that a wall ore needs to be for 2 ore to be mined.
|
|
#define VENT_PROX_LOW 32
|
|
/// Proximity to a vent that a wall ore needs to be for 1 ore to be mined.
|
|
#define VENT_PROX_FAR 64
|
|
|
|
/// The chance of ore spawning in a wall that is VENT_PROX_VERY_HIGH tiles to a vent.
|
|
#define VENT_CHANCE_VERY_HIGH 75
|
|
/// The chance of ore spawning in a wall that is VENT_PROX_HIGH tiles to a vent.
|
|
#define VENT_CHANCE_HIGH 18
|
|
/// The chance of ore spawning in a wall that is VENT_PROX_MEDIUM tiles to a vent.
|
|
#define VENT_CHANCE_MEDIUM 9
|
|
/// The chance of ore spawning in a wall that is VENT_PROX_LOW tiles to a vent.
|
|
#define VENT_CHANCE_LOW 5
|
|
/// The chance of ore spawning in a wall that is VENT_PROX_FAR tiles to a vent.
|
|
#define VENT_CHANCE_FAR 1
|
|
|
|
/// The amount of ore that is mined from a wall that is VENT_PROX_VERY_HIGH tiles to a vent.
|
|
#define ORE_WALL_VERY_HIGH 5
|
|
/// The amount of ore that is mined from a wall that is VENT_PROX_HIGH tiles to a vent.
|
|
#define ORE_WALL_HIGH 4
|
|
/// The amount of ore that is mined from a wall that is VENT_PROX_MEDIUM tiles to a vent.
|
|
#define ORE_WALL_MEDIUM 3
|
|
/// The amount of ore that is mined from a wall that is VENT_PROX_LOW tiles to a vent.
|
|
#define ORE_WALL_LOW 2
|
|
/// The amount of ore that is mined from a wall that is VENT_PROX_FAR tiles to a vent.
|
|
#define ORE_WALL_FAR 1
|
|
|
|
/// The number of points a miner gets for discovering a vent, multiplied by BOULDER_SIZE when completing a wave defense minus the discovery bonus.
|
|
#define MINER_POINT_MULTIPLIER 100
|
|
/// The multiplier that gets applied for automatically generated mining points.
|
|
#define MINING_POINT_MACHINE_MULTIPLIER 0.8
|
|
|
|
//String defines to use with CaveGenerator presets for what ore breakdown to use.
|
|
#define OREGEN_PRESET_LAVALAND "lavaland"
|
|
#define OREGEN_PRESET_TRIPLE_Z "triple_z"
|