[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 11:09:38 +01:00
committed by GitHub
co-authored by Kashargul Cameron Lennox
parent 21031b169b
commit 3cfc33bfde
196 changed files with 627 additions and 585 deletions
+1 -1
View File
@@ -9,4 +9,4 @@
/obj/effect/mobblocker/CanPass(atom/movable/mover, turf/target)
if(istype(mover, /mob/living/simple_mob))
return FALSE
return TRUE
return TRUE
@@ -346,4 +346,3 @@
name = "space carp information poster"
desc = "This poster showcases an old spacer saying on the dangers of migrant space carp."
listing_name = "Safety - Carp Information"
+1 -1
View File
@@ -1,4 +1,4 @@
/obj/effect/landmark
var/abductor = 0
@@ -1,4 +1,4 @@
/obj/item/encryptionkey/heads/blueshield
name = "blueshield's encryption key"
icon_state = "hos_cypherkey"
channels = list("Security" = 1, "Command" = 1)
channels = list("Security" = 1, "Command" = 1)
@@ -2,4 +2,4 @@
name = "Blueshield headset"
desc = "The headset of the man who protects command's worthless lifes."
icon_state = "com_headset"
ks2type = /obj/item/encryptionkey/heads/blueshield
ks2type = /obj/item/encryptionkey/heads/blueshield
@@ -4,4 +4,4 @@
/obj/item/radio/bluespacehandset/linked/cryogaia_prelinked
bs_tx_preload_id = "cryogaia_rx" //Transmit to a receiver
bs_rx_preload_id = "cryogaia_tx" //Recveive from a transmitter
bs_rx_preload_id = "cryogaia_tx" //Recveive from a transmitter
@@ -27,7 +27,7 @@
/obj/item/starcaster_news/tgui_interact(mob/user, datum/tgui/ui, datum/tgui/parent_ui)
ui = SStgui.try_update_ui(user, src, ui)
if(!ui)
ui = new(user, src, "StarcasterCh", name)
ui = new(user, src, "StarcasterCh", name)
ui.open()
/obj/item/starcaster_news/tgui_data(mob/user, datum/tgui/ui, datum/tgui_state/state) //Mostly ripped off from news_browser.dm
@@ -125,4 +125,4 @@
ui.auto_update_layout = 1
ui.set_initial_data(data)
ui.open()
*/
*/
+1 -1
View File
@@ -330,4 +330,4 @@
name = "\"Gaoler\" Gygax customisation kit"
new_name = "Durand \"Gaoler\""
new_desc = "A bulky silver Gygax exosuit. The extra armour appears to be painted on, but it's very shiny."
new_icon = "recitence"
new_icon = "recitence"
+66 -66
View File
@@ -17,16 +17,16 @@
/obj/item/stack/medical/attack(mob/living/carbon/M as mob, mob/user as mob)
if (!istype(M))
balloon_alert(user, "\The [src] cannot be applied to [M]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "\the [src] cannot be applied to [M]!") // CHOMPEdit - Balloon Alerts
return 1
if (!user.IsAdvancedToolUser())
balloon_alert(user, "You don't have the dexterity to do this!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you don't have the dexterity to do this!") // CHOMPEdit - Balloon Alerts
return 1
var/available = get_amount()
if(!available)
balloon_alert(user, "Not enough [uses_charge ? "charge" : "items"] left to use that!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "not enough [uses_charge ? "charge" : "items"] left to use that!") // CHOMPEdit - Balloon Alerts
return 1
if (ishuman(M))
@@ -34,24 +34,24 @@
var/obj/item/organ/external/affecting = H.get_organ(user.zone_sel.selecting)
if(!affecting)
balloon_alert(user, "No body part there to work on!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "no body part there to work on!") // CHOMPEdit - Balloon Alerts
return 1
if(affecting.organ_tag == BP_HEAD)
if(H.head && istype(H.head,/obj/item/clothing/head/helmet/space))
balloon_alert(user, "You can't apply [src] through [H.head]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you can't apply [src] through [H.head]!") // CHOMPEdit - Balloon Alerts
return 1
else
if(H.wear_suit && istype(H.wear_suit,/obj/item/clothing/suit/space))
balloon_alert(user, "You can't apply [src] through [H.wear_suit]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you can't apply [src] through [H.wear_suit]!") // CHOMPEdit - Balloon Alerts
return 1
if(affecting.robotic == ORGAN_ROBOT)
balloon_alert(user, "This isn't useful at all on a robotic limb.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "this isn't useful at all on a robotic limb.") // CHOMPEdit - Balloon Alerts
return 1
if(affecting.robotic >= ORGAN_LIFELIKE)
balloon_alert(user, "You apply the [src], but it seems to have no effect...") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you apply the [src], but it seems to have no effect...") // CHOMPEdit - Balloon Alerts
use(1)
return 1
@@ -62,7 +62,7 @@
M.heal_organ_damage((src.heal_brute/2), (src.heal_burn/2))
user.balloon_alert_visible( \
"[M] has been applied with [src] by [user].", \
"You apply \the [src] to [M]." \
"you apply \the [src] to [M]." \
)
use(1)
@@ -99,7 +99,7 @@
var/obj/item/organ/external/affecting = H.get_organ(user.zone_sel.selecting)
if(affecting.open)
balloon_alert(user, "The [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "the [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts
return
if(affecting.is_bandaged())
@@ -107,8 +107,8 @@
return 1
else
var/available = get_amount()
user.balloon_alert_visible("\The [user] starts bandaging [M]'s [affecting.name].", \
"Bandaging [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] starts bandaging [M]'s [affecting.name].", \
"bandaging [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
var/used = 0
for (var/datum/wound/W in affecting.wounds)
if(W.internal)
@@ -118,7 +118,7 @@
if(used == amount)
break
if(!do_mob(user, M, W.damage/3, exclusive = TRUE))
balloon_alert(user, "Stand still to bandage wounds.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "stand still to bandage wounds.") // CHOMPEdit - Balloon Alerts
break
if(affecting.is_bandaged()) // We do a second check after the delay, in case it was bandaged after the first check.
@@ -126,24 +126,24 @@
return 1
if(used >= available)
balloon_alert(user, "You run out of [src]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you run out of [src]!") // CHOMPEdit - Balloon Alerts
break
if (W.current_stage <= W.max_bleeding_stage)
user.balloon_alert_visible("\The [user] bandages \a [W.desc] on [M]'s [affecting.name].", \
"You bandage \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] bandages \a [W.desc] on [M]'s [affecting.name].", \
"you bandage \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
else
user.balloon_alert_visible("\The [user] places a bandage over \a [W.desc] on [M]'s [affecting.name].", \
"You place a bandage over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] places a bandage over \a [W.desc] on [M]'s [affecting.name].", \
"you place a bandage over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
W.bandage()
playsound(src, pick(apply_sounds), 25)
used++
affecting.update_damages()
if(used == amount)
if(affecting.is_bandaged())
balloon_alert(user, "\The [src] is used up.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "\the [src] is used up.") // CHOMPEdit - Balloon Alerts
else
balloon_alert(user, "\The [src] is used up, but there are more wounds to treat on \the [affecting.name].") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "\the [src] is used up, but there are more wounds to treat on \the [affecting.name].") // CHOMPEdit - Balloon Alerts
use(used)
/obj/item/stack/medical/bruise_pack
@@ -168,7 +168,7 @@
var/obj/item/organ/external/affecting = H.get_organ(user.zone_sel.selecting)
if(affecting.open)
balloon_alert(user, "The [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "the [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts
return
if(affecting.is_bandaged())
@@ -176,8 +176,8 @@
return 1
else
var/available = get_amount()
user.balloon_alert_visible("\The [user] starts treating [M]'s [affecting.name].", \
"Treating [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] starts treating [M]'s [affecting.name].", \
"treating [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
var/used = 0
for (var/datum/wound/W in affecting.wounds)
if (W.internal)
@@ -187,7 +187,7 @@
if(used == amount)
break
if(!do_mob(user, M, W.damage/5, exclusive = TRUE))
balloon_alert(user, "Stand still to bandage wounds.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "stand still to bandage wounds.") // CHOMPEdit - Balloon Alerts
break
if(affecting.is_bandaged()) // We do a second check after the delay, in case it was bandaged after the first check.
@@ -195,19 +195,19 @@
return 1
if(used >= available)
balloon_alert(user, "You run out of [src]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you run out of [src]!") // CHOMPEdit - Balloon Alerts
break
if (W.current_stage <= W.max_bleeding_stage)
user.balloon_alert_visible("\The [user] bandages \a [W.desc] on [M]'s [affecting.name].", \
"Bandaged \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] bandages \a [W.desc] on [M]'s [affecting.name].", \
"bandaged \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
//H.add_side_effect("Itch")
else if (W.damage_type == BRUISE)
user.balloon_alert_visible("\The [user] places a bruise patch over \a [W.desc] on [M]'s [affecting.name].", \
"Placed bruise patch over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] places a bruise patch over \a [W.desc] on [M]'s [affecting.name].", \
"placed bruise patch over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
else
user.balloon_alert_visible("\The [user] places a bandaid over \a [W.desc] on [M]'s [affecting.name].", \
"Placed bandaid over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] places a bandaid over \a [W.desc] on [M]'s [affecting.name].", \
"placed bandaid over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
W.bandage()
// W.disinfect() // VOREStation - Tech1 should not disinfect
playsound(src, pick(apply_sounds), 25)
@@ -215,9 +215,9 @@
affecting.update_damages()
if(used == amount)
if(affecting.is_bandaged())
balloon_alert(user, "\The [src] is used up.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "\the [src] is used up.") // CHOMPEdit - Balloon Alerts
else
balloon_alert(user, "\The [src] is used up, but there are more wounds to treat on \the [affecting.name].") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "\the [src] is used up, but there are more wounds to treat on \the [affecting.name].") // CHOMPEdit - Balloon Alerts
use(used)
/obj/item/stack/medical/ointment
@@ -242,23 +242,23 @@
var/obj/item/organ/external/affecting = H.get_organ(user.zone_sel.selecting)
if(affecting.open)
balloon_alert(user, "The [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
balloon_alert(user, "the [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
return
if(affecting.is_salved())
balloon_alert(user, "The wounds on [M]'s [affecting.name] have already been salved.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
balloon_alert(user, "the wounds on [M]'s [affecting.name] have already been salved.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
return 1
else
user.balloon_alert_visible("\The [user] starts salving wounds on [M]'s [affecting.name].", \
"Salving the wounds on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] starts salving wounds on [M]'s [affecting.name].", \
"salving the wounds on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
if(!do_mob(user, M, 10, exclusive = TRUE))
balloon_alert(user, "Stand still to salve wounds.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
balloon_alert(user, "stand still to salve wounds.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
return 1
if(affecting.is_salved()) // We do a second check after the delay, in case it was bandaged after the first check.
balloon_alert(user, "[M]'s [affecting.name] have already been salved.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
return 1
user.balloon_alert_visible("[user] salved wounds on [M]'s [affecting.name].", \
"Salved wounds on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
"salved wounds on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
use(1)
affecting.salve()
playsound(src, pick(apply_sounds), 25)
@@ -287,7 +287,7 @@
var/obj/item/organ/external/affecting = H.get_organ(user.zone_sel.selecting)
if(affecting.open)
balloon_alert(user, "The [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
balloon_alert(user, "the [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
return
if(affecting.is_bandaged() && affecting.is_disinfected())
@@ -295,8 +295,8 @@
return 1
else
var/available = get_amount()
user.balloon_alert_visible("\The [user] starts treating [M]'s [affecting.name].", \
"Treating [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] starts treating [M]'s [affecting.name].", \
"treating [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
var/used = 0
for (var/datum/wound/W in affecting.wounds)
if (W.internal)
@@ -306,25 +306,25 @@
//if(used == amount) //VOREStation Edit
// break //VOREStation Edit
if(!do_mob(user, M, W.damage/5, exclusive = TRUE))
balloon_alert(user, "Stand still to bandage wounds.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
balloon_alert(user, "stand still to bandage wounds.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
break
if(affecting.is_bandaged() && affecting.is_disinfected()) // We do a second check after the delay, in case it was bandaged after the first check.
balloon_alert(user, "[M]'s [affecting.name] is already bandaged.") // CHOMPEdit - Balloon Alerts // CHOMPEdit - Balloon Alerts
return 1
if(used >= available)
balloon_alert(user, "You run out of [src]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you run out of [src]!") // CHOMPEdit - Balloon Alerts
break
if (W.current_stage <= W.max_bleeding_stage)
user.balloon_alert_visible("\The [user] cleans \a [W.desc] on [M]'s [affecting.name] and seals the edges with bioglue.", \
"Cleaning and sealing \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] cleans \a [W.desc] on [M]'s [affecting.name] and seals the edges with bioglue.", \
"cleaning and sealing \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
else if (W.damage_type == BRUISE)
user.balloon_alert_visible("\The [user] places a medical patch over \a [W.desc] on [M]'s [affecting.name].", \
"Placed medical patch over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] places a medical patch over \a [W.desc] on [M]'s [affecting.name].", \
"placed medical patch over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
else
user.balloon_alert_visible("\The [user] smears some bioglue over \a [W.desc] on [M]'s [affecting.name].", \
"Smeared bioglue over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] smears some bioglue over \a [W.desc] on [M]'s [affecting.name].", \
"smeared bioglue over \a [W.desc] on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
W.bandage()
W.disinfect()
W.heal_damage(heal_brute)
@@ -334,9 +334,9 @@
affecting.update_damages()
if(used == amount)
if(affecting.is_bandaged())
balloon_alert(user, "\The [src] is used up.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "\the [src] is used up.") // CHOMPEdit - Balloon Alerts
else
balloon_alert(user, "\The [src] is used up, but there are more wounds to treat on \the [affecting.name].") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "\the [src] is used up, but there are more wounds to treat on \the [affecting.name].") // CHOMPEdit - Balloon Alerts
use(used)
/obj/item/stack/medical/advanced/ointment
@@ -357,22 +357,22 @@
var/obj/item/organ/external/affecting = H.get_organ(user.zone_sel.selecting)
if(affecting.open)
balloon_alert(user, "The [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "the [affecting.name] is cut open!") // CHOMPEdit - Balloon Alerts
if(affecting.is_salved())
balloon_alert(user, "[M]'s [affecting.name] has already been salved.") // CHOMPEdit - Balloon Alerts
return 1
else
user.balloon_alert_visible("\The [user] starts salving wounds on [M]'s [affecting.name].", \
"Salving the wounds on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] starts salving wounds on [M]'s [affecting.name].", \
"salving the wounds on [M]'s [affecting.name]." ) // CHOMPEdit - Balloon Alerts
if(!do_mob(user, M, 10, exclusive = TRUE))
balloon_alert(user, "Stand still to salve wounds.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "stand still to salve wounds.") // CHOMPEdit - Balloon Alerts
return 1
if(affecting.is_salved()) // We do a second check after the delay, in case it was bandaged after the first check.
balloon_alert(user, "[M]'s [affecting.name] have already been salved.") // CHOMPEdit - Balloon Alerts
return 1
user.balloon_alert_visible("[user] covers wounds on [M]'s [affecting.name] with regenerative membrane.", \
"Covered wounds on [M]'s [affecting.name] with regenerative membrane." ) // CHOMPEdit - Balloon Alerts
"covered wounds on [M]'s [affecting.name] with regenerative membrane." ) // CHOMPEdit - Balloon Alerts
affecting.heal_damage(0,heal_burn)
use(1)
affecting.salve()
@@ -400,25 +400,25 @@
var/obj/item/organ/external/affecting = H.get_organ(user.zone_sel.selecting)
var/limb = affecting.name
if(!(affecting.organ_tag in splintable_organs))
balloon_alert(user, "You can't use \the [src] to apply a splint there!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you can't use \the [src] to apply a splint there!") // CHOMPEdit - Balloon Alerts
return
if(affecting.splinted)
balloon_alert(user, "[M]'s [limb] is already splinted!") // CHOMPEdit - Balloon Alerts
return
if (M != user)
user.balloon_alert_visible("[user] starts to apply \the [src] to [M]'s [limb].", "Applying \the [src] to [M]'s [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("[user] starts to apply \the [src] to [M]'s [limb].", "applying \the [src] to [M]'s [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
else
if(( !user.hand && (affecting.organ_tag in list(BP_R_ARM, BP_R_HAND)) || \
user.hand && (affecting.organ_tag in list(BP_L_ARM, BP_L_HAND)) ))
balloon_alert(user, "You can't apply a splint to the arm you're using!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you can't apply a splint to the arm you're using!") // CHOMPEdit - Balloon Alerts
return
user.balloon_alert_visible("[user] starts to apply \the [src] to their [limb].", "Applying \the [src] to your [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("[user] starts to apply \the [src] to their [limb].", "applying \the [src] to your [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
if(do_after(user, 50, M, exclusive = TASK_USER_EXCLUSIVE))
if(affecting.splinted)
balloon_alert(user, "[M]'s [limb] is already splinted!") // CHOMPEdit - Balloon Alerts
return
if(M == user && prob(75))
user.balloon_alert_visible("\The [user] fumbles [src].", "Fumbling [src].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] fumbles [src].", "fumbling [src].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
return
if(ishuman(user))
var/obj/item/stack/medical/splint/S = split(1)
@@ -426,9 +426,9 @@
if(affecting.apply_splint(S))
S.forceMove(affecting)
if (M != user)
user.balloon_alert_visible("\The [user] finishes applying [src] to [M]'s [limb].", "Finished applying \the [src] to [M]'s [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] finishes applying [src] to [M]'s [limb].", "finished applying \the [src] to [M]'s [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
else
user.balloon_alert_visible("\The [user] successfully applies [src] to their [limb].", "Successfully applied \the [src] to your [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] successfully applies [src] to their [limb].", "successfully applied \the [src] to your [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
return
S.dropInto(src.loc) //didn't get applied, so just drop it
if(isrobot(user))
@@ -436,10 +436,10 @@
if(B)
if(affecting.apply_splint(B))
B.forceMove(affecting)
user.balloon_alert_visible("\The [user] finishes applying [src] to [M]'s [limb].", "Finish applying \the [src] to [M]'s [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] finishes applying [src] to [M]'s [limb].", "finish applying \the [src] to [M]'s [limb].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
B.use(1)
return
user.balloon_alert_visible("\The [user] fails to apply [src].", "Failed to apply [src].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] fails to apply [src].", "failed to apply [src].", "You hear something being wrapped.") // CHOMPEdit - Balloon Alerts
return
+10 -10
View File
@@ -21,33 +21,33 @@
R.adjustFireLoss(-15)
R.updatehealth()
use(1)
user.balloon_alert_visible("\The [user] applied some [src] on [R]'s damaged areas.",\
"You apply some [src] at [R]'s damaged areas.") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] applied some [src] on [R]'s damaged areas.",\
"you apply some [src] at [R]'s damaged areas.") // CHOMPEdit - Balloon Alerts
else
balloon_alert(user, "All [R]'s systems are nominal.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "all [R]'s systems are nominal.") // CHOMPEdit - Balloon Alerts
if (ishuman(M)) //Repairing robolimbs
var/mob/living/carbon/human/H = M
var/obj/item/organ/external/S = H.get_organ(user.zone_sel.selecting)
if(!S)
balloon_alert(user, "No body part there to work on!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "no body part there to work on!") // CHOMPEdit - Balloon Alerts
return 1
if(S.organ_tag == BP_HEAD)
if(H.head && istype(H.head,/obj/item/clothing/head/helmet/space))
balloon_alert(user, "You can't apply [src] through [H.head]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you can't apply [src] through [H.head]!") // CHOMPEdit - Balloon Alerts
return 1
else
if(H.wear_suit && istype(H.wear_suit,/obj/item/clothing/suit/space))
balloon_alert(user, "You can't apply [src] through [H.wear_suit]!") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "you can't apply [src] through [H.wear_suit]!") // CHOMPEdit - Balloon Alerts
return 1
//VOREStation Edit Start
if (S && (S.robotic >= ORGAN_ROBOT))
if(!S.get_damage())
balloon_alert(user, "Nothing to fix here.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "nothing to fix here.") // CHOMPEdit - Balloon Alerts
else if((S.open < 2) && (S.brute_dam + S.burn_dam >= S.min_broken_damage) && !repair_external)
balloon_alert(user, "The damage is too extensive for this nanite swarm to handle.") // CHOMPEdit - Balloon Alerts
balloon_alert(user, "the damage is too extensive for this nanite swarm to handle.") // CHOMPEdit - Balloon Alerts
else if(can_use(1))
user.setClickCooldown(user.get_attack_speed(src))
if(S.open >= 2)
@@ -57,6 +57,6 @@
S.heal_damage(restoration_external,restoration_external, robo_repair =1)
H.updatehealth()
use(1)
user.balloon_alert_visible("\The [user] applies some nanite paste on [user != M ? "[M]'s [S.name]" : "[S]"] with [src].",\
"You apply some nanite paste on [user == M ? "your" : "[M]'s"] [S.name].") // CHOMPEdit - Balloon Alerts
user.balloon_alert_visible("\the [user] applies some nanite paste on [user != M ? "[M]'s [S.name]" : "[S]"] with [src].",\
"you apply some nanite paste on [user == M ? "your" : "[M]'s"] [S.name].") // CHOMPEdit - Balloon Alerts
//VOREStation Edit End
@@ -24,4 +24,4 @@
/obj/fiftyspawner/oracarpet
name = "stack of orange carpet"
type_to_spawn = /obj/item/stack/tile/carpet/oracarpet
type_to_spawn = /obj/item/stack/tile/carpet/oracarpet
@@ -102,19 +102,19 @@
desc = "A piece of orange carpet. It is the same size as a normal floor tile!"
icon_state = "tile-carpet"
default_type = MAT_CARPET_ORANGE
/obj/item/stack/tile/carpet/brncarpet
icon_state = "tile-carpet"
/obj/item/stack/tile/carpet/blucarpet2
icon_state = "tile-carpet"
/obj/item/stack/tile/carpet/greencarpet
icon_state = "tile-carpet"
/obj/item/stack/tile/carpet/purplecarpet
icon_state = "tile-carpet"
/obj/item/stack/tile/carpet/geo
icon_state = "tile-carpet-deco"
desc = "A piece of carpet with a gnarly geometric design. It is the same size as a normal floor tile!"
@@ -126,7 +126,7 @@
/obj/item/stack/tile/carpet/retro_red
icon_state = "tile-carpet-retro-red"
desc = "A piece of carpet with red-ical space patterns. It is the same size as a normal floor tile!"
/obj/item/stack/tile/carpet/happy
icon_state = "tile-carpet-happy"
desc = "A piece of carpet with happy patterns. It is the same size as a normal floor tile!"
@@ -18,4 +18,4 @@
icon_state = "tile-carpet"
/obj/item/stack/tile/carpet/oracarpet
name = "orange carpet"
icon_state = "tile-carpet"
icon_state = "tile-carpet"
+2 -2
View File
@@ -7,7 +7,7 @@
playsound(src,'sound/items/eatfood.ogg', rand(10,50), 1)
user.drop_item()
forceMove(H.vore_selected)
balloon_alert(H, "You can taste the flavor of garbage. Wait what?") // CHOMPEdit - Balloon alerts
balloon_alert(H, "you can taste the flavor of garbage. Wait what?") // CHOMPEdit - Balloon alerts
return
if(isrobot(M))
@@ -16,7 +16,7 @@
playsound(src,'sound/items/eatfood.ogg', rand(10,50), 1)
user.drop_item()
forceMove(R.vore_selected)
R.balloon_alert_visible("[user] feeds [R] with [src]!", "You feed [R] \the [src]!") // CHOMPEdit - Balloon alerts
R.balloon_alert_visible("[user] feeds [R] with [src]!", "you feed [R] \the [src]!") // CHOMPEdit - Balloon alerts
return
..()
@@ -21,4 +21,4 @@
</head>
<body>
<h1>((https://wiki.chompstation13.net/index.php?title=Guide_to_Chemistry))</h1>
"}
"}
@@ -36,4 +36,4 @@
force_divisor = initial(force_divisor)
icon_state = initial(icon_state)
item_state = initial(item_state)
..()
..()
@@ -97,4 +97,3 @@
/obj/item/material/twohanded/sledgehammer/mjollnir/update_icon() //Currently only here to fuck with the on-mob icons.
icon_state = "mjollnir[wielded]"
return
@@ -4,4 +4,4 @@
/obj/item/storage/fancy/cigar/havana
name = "havanian cigar case"
starts_with = list(/obj/item/clothing/mask/smokable/cigarette/cigar/havana = 7)
starts_with = list(/obj/item/clothing/mask/smokable/cigarette/cigar/havana = 7)
@@ -6,4 +6,4 @@
desc = "A packet of 6 f13 brand cigarettes, they somehow have a faint flavor of gunpowder... And mustard gas."
description_fluff = "f13 is a side brand of the Mauser family. The Mauser brand is an old earth, German company that has managed to stay afloat throughout the years, they mainly produce projectile weapons that are known to be extremely efficient and powerful. They are also known for their Gorilla class mech which is a force to be reckoned with. They have a wide range of other branded products, including this cigarette packet."
icon_state = "MauserPacket"
brand = "\improper Mauser"
brand = "\improper Mauser"
+1 -1
View File
@@ -459,4 +459,4 @@ var/global/list/micro_tunnels = list()
var/obj/structure/micro_tunnel/tunnel = new (get_turf(src.loc))
tunnel.set_dir(dir)
qdel(src)
qdel(src)
@@ -41,4 +41,4 @@
extra_decals = list(
"stripe_vertical_mid_partial" = COLOR_WARM_YELLOW,
"hop" = COLOR_WARM_YELLOW
)
)
@@ -21,4 +21,4 @@
new /obj/item/am_containment(src)
new /obj/item/stack/cable_coil/yellow(src)
new /obj/item/stack/cable_coil(src)
return
return
+1 -1
View File
@@ -22,4 +22,4 @@
if(!src) return
to_chat(user, span_notice("You dissasembled \the [src]!"))
new /obj/item/stack/material/steel(src.loc, 1)
qdel(src)
qdel(src)
+1 -1
View File
@@ -2,4 +2,4 @@
name = "\improper Coffee Shop and Library"
desc = "A sign that perfectly depicts that there is, in fact, both a coffee shop and a library in this direction."
icon = 'icons/obj/coffee.dmi'
icon_state = "coffee_sign"
icon_state = "coffee_sign"
@@ -306,4 +306,4 @@
<B>SWITCHING MODE TO : <U>ENERGY-SAVING MODE.</U></B>
"}
//CHOMPADD end
//CHOMPADD end
@@ -16,7 +16,7 @@
/obj/structure/bed/chair/sofa/corner
base_icon = "sofacorner"
icon_state = "sofacorner" //CHOMPstation edit: preview in map maker
/obj/structure/bed/chair/modern_chair
name = "modern chair"
desc = "It's like sitting in an egg."