[MIRROR] ports a bunch of grep checks from TG (#10361)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-12 03:09:38 -07:00
committed by GitHub
parent 21031b169b
commit 3cfc33bfde
196 changed files with 627 additions and 585 deletions

View File

@@ -243,14 +243,14 @@
if(istype(O, /obj/item/cell))
if(cell)
// to_chat(user, "The drill already has a cell installed.")
balloon_alert(user, "The drill already has a cell installed.") // CHOMPEdit - Changed to balloon alert
balloon_alert(user, "the drill already has a cell installed.") // CHOMPEdit - Changed to balloon alert
else
user.drop_item()
O.forceMove(src)
cell = O
component_parts += O
// to_chat(user, "You install \the [O].")
balloon_alert(user, "You install \the [O]") // CHOMPEdit - Changed to balloon alert
balloon_alert(user, "you install \the [O]") // CHOMPEdit - Changed to balloon alert
return
..()
@@ -260,14 +260,14 @@
if (panel_open && cell && user.Adjacent(src))
// to_chat(user, "You take out \the [cell].")
balloon_alert(user, "You take out \the [cell]") // CHOMPEdit - Changed to balloon alert
balloon_alert(user, "you take out \the [cell]") // CHOMPEdit - Changed to balloon alert
user.put_in_hands(cell)
component_parts -= cell
cell = null
return
else if(need_player_check)
// to_chat(user, "You hit the manual override and reset the drill's error checking.")
balloon_alert(user, "Manual override hit, the drill's error checking resets.") // CHOMPEdit - Changed to balloon alert
balloon_alert(user, "manual override hit, the drill's error checking resets.") // CHOMPEdit - Changed to balloon alert
need_player_check = 0
if(anchored)
get_resource_field()
@@ -410,10 +410,10 @@
stored_ore[ore] = 0 // Set the value of the ore in the satchel to 0.
current_capacity = 0 // Set the amount of ore in the drill to 0.
// to_chat(usr, span_notice("You unload the drill's storage cache into the ore box."))
balloon_alert(usr, "You onload the drill's storage cache into the ore box.") // CHOMPEdit - Changed to balloon alert
balloon_alert(usr, "you onload the drill's storage cache into the ore box.") // CHOMPEdit - Changed to balloon alert
else
// to_chat(usr, span_notice("You must move an ore box up to the drill before you can unload it."))
balloon_alert(usr, "Move an ore box to the droll before unloading it.") // CHOMPEdit - Changed to balloon alert
balloon_alert(usr, "move an ore box to the droll before unloading it.") // CHOMPEdit - Changed to balloon alert
/obj/machinery/mining/brace
@@ -442,7 +442,7 @@
/obj/machinery/mining/brace/attackby(obj/item/W as obj, mob/user as mob)
if(connected && connected.active)
// to_chat(user, span_notice("You can't work with the brace of a running drill!"))
balloon_alert(user, "You can't work with the brace of a running drill.") // CHOMPEdit - Changed to balloon alert
balloon_alert(user, "you can't work with the brace of a running drill.") // CHOMPEdit - Changed to balloon alert
return
if(default_deconstruction_screwdriver(user, W))
@@ -456,7 +456,7 @@
if(istype(get_turf(src), /turf/space))
// to_chat(user, span_notice("You can't anchor something to empty space. Idiot."))
balloon_alert(user, "You can't anchor something to empty space. Idiot.") // CHOMPEdit - Changed to balloon alert
balloon_alert(user, "you can't anchor something to empty space. Idiot.") // CHOMPEdit - Changed to balloon alert
return
playsound(src, W.usesound, 100, 1)
@@ -510,7 +510,7 @@
if (src.anchored)
// to_chat(usr, "It is anchored in place!")
balloon_alert(usr, "It is anchored in place!") // CHOMPEdit - Changed to balloon alert
balloon_alert(usr, "it is anchored in place!") // CHOMPEdit - Changed to balloon alert
return 0
src.set_dir(turn(src.dir, 270))

View File

@@ -95,7 +95,7 @@
description = "An escape pod, with a mediocre amount of supplies \
for escaping a dying ship as soon as possible."
mappath = "maps/offmap_vr/om_ships/shelter_5.dmm"
/datum/map_template/shelter/cabin
name = "Shelter Cabin"
shelter_id = "shelter_cab"