Skip to content

Commit

Permalink
Merge branch 'master' into extra-holopads
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenredacted authored Oct 22, 2024
2 parents 720793a + d1d9b54 commit f3d9ca6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
2 changes: 2 additions & 0 deletions code/game/machinery/autolathe.dm
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@
new_item.materials[MAT_GLASS] /= coeff
new_item.pixel_y = rand(-5, 5)
new_item.pixel_x = rand(-5, 5)
if(is_station_level(z))
SSblackbox.record_feedback("tally", "station_autolathe_production", 1, "[D.type]")
SStgui.update_uis(src)
desc = initial(desc)

Expand Down
2 changes: 2 additions & 0 deletions code/game/mecha/mech_fabricator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@
/obj/machinery/mecha_part_fabricator/proc/build_design_timer_finish(datum/design/D, list/final_cost)
// Spawn the item (in a lockbox if restricted) OR mob (e.g. IRC body)
var/atom/A = new D.build_path(get_step(src, output_dir))
if(is_station_level(z))
SSblackbox.record_feedback("tally", "station_mechfab_production", 1, "[D.type]")
if(isitem(A))
var/obj/item/I = A
I.materials = final_cost
Expand Down
23 changes: 0 additions & 23 deletions code/modules/awaymissions/mob_spawn.dm
Original file line number Diff line number Diff line change
Expand Up @@ -667,29 +667,6 @@
ADD_TRAIT(H, TRAIT_NON_INFECTIOUS_ZOMBIE, ROUNDSTART_TRAIT)
return ..()

////////Non-human spawners////////

/obj/effect/mob_spawn/mouse
name = "sleeper"
mob_name = "space mouse"
mob_type = /mob/living/simple_animal/mouse
death = FALSE
roundstart = FALSE
icon = 'icons/obj/cryogenic2.dmi'
icon_state = "sleeper"
flavour_text = "Squeak!"

/obj/effect/mob_spawn/cow
name = "sleeper"
mob_name = "space cow"
mob_type = /mob/living/simple_animal/cow
death = FALSE
roundstart = FALSE
mob_gender = FEMALE
icon = 'icons/obj/cryogenic2.dmi'
icon_state = "sleeper"
flavour_text = "Moo!"

/// these mob spawn subtypes trigger immediately (New or Initialize) and are not player controlled... since they're dead, you know?
/obj/effect/mob_spawn/corpse
/// what environmental storytelling script should this corpse have
Expand Down
3 changes: 2 additions & 1 deletion code/modules/research/rdconsole.dm
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ won't update every console in existence) but it's more of a hassle to do. Also,
/obj/machinery/computer/rdconsole/proc/finish_machine(key, amount, enough_materials, obj/machinery/r_n_d/machine, datum/design/being_built, list/efficient_mats)
if(machine)
if(enough_materials && being_built)
SSblackbox.record_feedback("nested tally", "RND Production List", amount, list("[being_built.category]", "[being_built.name]"))
if(is_station_level(z))
SSblackbox.record_feedback("tally", "station_protolathe_production", amount, "[being_built.type]")
for(var/i in 1 to amount)
var/obj/item/new_item = new being_built.build_path(src)
if(istype(new_item)) // Only want a random pixel offset if it IS actually an item, and not a structure like a bluespace closet
Expand Down

0 comments on commit f3d9ca6

Please sign in to comment.