mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Do not alert admins when an inert BoH is made (#73185)
## About The Pull Request Removes the `dangerous_construction` variable that was only used by the BoH, as well as the admin message sent when an inert BoH was printed. ## Why It's Good For The Game Since the bag of holding changes, admins don't need to know when an inert BoH is printed. ## Changelog 🆑 Tattle admin: Admins are no longer alerted when an inert BoH is printed /🆑 --------- Co-authored-by: tattle <article.disaster@gmail.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
This commit is contained in:
co-authored by
tattle
John Willard
parent
beb353b9fb
commit
6f509fb9f7
@@ -45,8 +45,6 @@ other types of metals and chemistry for reagents).
|
||||
var/maxstack = 1
|
||||
/// How many times faster than normal is this to build on the protolathe
|
||||
var/lathe_time_factor = 1
|
||||
/// If this is [TRUE] the admins get notified whenever anyone prints this. Currently only used by the BoH.
|
||||
var/dangerous_construction = FALSE
|
||||
/// Bitflags indicating what departmental lathes should be allowed to process this design.
|
||||
var/departmental_flags = ALL
|
||||
/// What techwebs nodes unlock this design. Constructed by SSresearch
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
category = list(
|
||||
RND_CATEGORY_EQUIPMENT + RND_SUBCATEGORY_EQUIPMENT_SCIENCE
|
||||
)
|
||||
dangerous_construction = TRUE
|
||||
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE
|
||||
|
||||
/datum/design/bluespace_crystal
|
||||
|
||||
@@ -218,11 +218,7 @@
|
||||
|
||||
return ..()
|
||||
|
||||
/obj/machinery/rnd/production/proc/do_print(path, amount, list/matlist, notify_admins)
|
||||
if(notify_admins && ismob(usr))
|
||||
usr.investigate_log("built [amount] of [path] at [src]([type]).", INVESTIGATE_RESEARCH)
|
||||
message_admins("[ADMIN_LOOKUPFLW(usr)] has built [amount] of [path] at \a [src]([type]).")
|
||||
|
||||
/obj/machinery/rnd/production/proc/do_print(path, amount, list/matlist)
|
||||
for(var/i in 1 to amount)
|
||||
new path(get_turf(src))
|
||||
|
||||
@@ -335,7 +331,7 @@
|
||||
var/time_coefficient = design.lathe_time_factor * efficiency_coeff
|
||||
|
||||
addtimer(CALLBACK(src, PROC_REF(reset_busy)), (30 * time_coefficient * print_quantity) ** 0.5)
|
||||
addtimer(CALLBACK(src, PROC_REF(do_print), design.build_path, print_quantity, efficient_mats, design.dangerous_construction), (32 * time_coefficient * print_quantity) ** 0.8)
|
||||
addtimer(CALLBACK(src, PROC_REF(do_print), design.build_path, print_quantity, efficient_mats), (32 * time_coefficient * print_quantity) ** 0.8)
|
||||
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user