New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
reworks bluespace miners #4363
reworks bluespace miners #4363
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,6 +1,6 @@ | ||||||||||||
/obj/machinery/mineral/bluespace_miner | ||||||||||||
name = "bluespace mining machine" | ||||||||||||
desc = "A machine that uses the magic of Bluespace to slowly generate materials and add them to a linked ore silo." | ||||||||||||
desc = "A machine that uses the magic of Satan to slowly generate materials and add them to a linked ore silo." | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||
icon = 'icons/obj/machines/mining_machines.dmi' | ||||||||||||
icon_state = "bs_miner" | ||||||||||||
density = TRUE | ||||||||||||
|
@@ -36,5 +36,16 @@ | |||||||||||
var/datum/component/material_container/mat_container = materials.mat_container | ||||||||||||
if(!mat_container || panel_open || !powered()) | ||||||||||||
return | ||||||||||||
var/datum/material/ore = pick(ore_rates) | ||||||||||||
mat_container.insert_amount_mat((ore_rates[ore] * 1000), ore) | ||||||||||||
|
||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||
// profit requires a sacrifice | ||||||||||||
var/victims = get_living_station_crew() | ||||||||||||
if(length(victims)<=1) // https://youtu.be/1FzZ7llgeAU | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||
return | ||||||||||||
|
||||||||||||
var/mob/living/carbon/human/victim = pick(victims) | ||||||||||||
victim.adjustBruteLoss(5000) | ||||||||||||
victim.adjustFireLoss(5000) | ||||||||||||
Comment on lines
+46
to
+47
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. actually you should make it cross server too |
||||||||||||
visible_message("<span class='notice'>[src] has has provided a bounty of materials, at the cost of something dear to you!</span>") | ||||||||||||
|
||||||||||||
for(var/datum/material/ore in ore_rates) | ||||||||||||
mat_container.insert_amount_mat((ore_rates[ore] * 10000), ore) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sneaking in the buff I see, pretty Sus behavior.