Arcmining: Chemical Boosting (#95530)

This commit is contained in:
ArcaneMusic
2026-04-23 17:46:06 +02:00
committed by GitHub
parent 9e91f22db7
commit 0c91535120
25 changed files with 4981 additions and 4176 deletions
@@ -357,7 +357,7 @@
miner.mind?.adjust_experience(/datum/skill/mining, MINING_SKILL_BOULDER_SIZE_XP * boulder_size)
if(!user_id_card)
continue
var/point_reward_val = (MINER_POINT_MULTIPLIER * boulder_size) - MINER_POINT_MULTIPLIER // We remove the base value of discovering the vent
var/point_reward_val = (MINER_POINT_MULTIPLIER * (boulder_size + 2)) - MINER_POINT_MULTIPLIER // We remove the base value of discovering the vent
if(user_id_card.registered_account)
user_id_card.registered_account.mining_points += point_reward_val
user_id_card.registered_account.bank_card_talk("You have been awarded [point_reward_val] mining points for your efforts.")
@@ -758,6 +758,40 @@
/mob/living/simple_animal/hostile/megafauna/colossus,
)
/obj/structure/ore_vent/debug
name = "debug ore vent"
desc = "How the hell did you get this?."
tapped = TRUE
discovered = TRUE
unique_vent = TRUE
color = "#ff00f2"
boulder_size = BOULDER_SIZE_SMALL
mineral_breakdown = list(
/datum/material/iron = 1,
)
/obj/structure/ore_vent/debug/attack_hand(mob/living/user, list/modifiers)
. = ..()
var/datum/material/choice = tgui_input_list(user, "Choose a material to add/remove.", "New material", subtypesof(/datum/material))
if(!choice)
return
if(mineral_breakdown[choice])
mineral_breakdown -= choice
balloon_alert_to_viewers("removed [choice::name]")
return
mineral_breakdown += choice
balloon_alert_to_viewers("added [choice::name]")
var/value = tgui_input_number(user, "What weight should it have?", "ore pickweight", 1, 100, 1)
mineral_breakdown[choice] = value
balloon_alert_to_viewers("weighting of [value] added")
/obj/structure/ore_vent/debug/attack_hand_secondary(mob/user, list/modifiers)
. = ..()
var/choice = tgui_input_list(user, "Choose a vent size.", "New size", list(SMALL_VENT_TYPE, MEDIUM_VENT_TYPE, LARGE_VENT_TYPE))
if(!choice)
return
vent_size_setup(random = FALSE, force_size = choice, map_loading = FALSE)
/obj/effect/landmark/mining_center
name = "Mining Epicenter"
icon_state = "mining_epicenter"