mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-21 12:56:10 +01:00
BayMerge DLC Pack (#1355)
Ports totally; https://github.com/Baystation12/Baystation12/pull/12389/files Baystation12#14599 Ports partially; Baystation12#14216 (only blob-related functions) All the failure messages have been replaced with failure events in industrial drills, that range from probably lethal to certainly lethal and in one case just moderately annoying.
This commit is contained in:
@@ -217,7 +217,15 @@
|
||||
if(say_understands(speaker, language))
|
||||
message = "<B>[speaker]</B> [verb], \"[message]\""
|
||||
else
|
||||
message = "<B>[speaker]</B> [verb]."
|
||||
var/adverb
|
||||
var/length = length(message) * pick(0.8, 0.9, 1.0, 1.1, 1.2) //Inserts a little fuzziness.
|
||||
switch(length)
|
||||
if(0 to 12) adverb = " briefly"
|
||||
if(12 to 30) adverb = " a short message"
|
||||
if(30 to 48) adverb = " a message"
|
||||
if(48 to 90) adverb = " a lengthy message"
|
||||
else adverb = " a very lengthy message"
|
||||
message = "<B>[speaker]</B> [verb][adverb]."
|
||||
|
||||
if(src.status_flags & PASSEMOTES)
|
||||
for(var/obj/item/weapon/holder/H in src.contents)
|
||||
|
||||
@@ -908,24 +908,8 @@
|
||||
sleep(20)
|
||||
playsound(loc, 'sound/effects/alert.ogg', 125, 1)
|
||||
sleep(10)
|
||||
var/turf/O = get_turf(src)
|
||||
var/fragger = rand(50,100)
|
||||
density = 0
|
||||
explosion(O, -1, -1, 2)
|
||||
var/list/target_turfs = getcircle(O, 7)
|
||||
var/fragments_per_projectile = round(fragger/target_turfs.len)
|
||||
|
||||
for(var/turf/T in target_turfs)
|
||||
sleep(0)
|
||||
var/obj/item/projectile/bullet/pellet/fragment/P = new (O)
|
||||
|
||||
P.damage = 5
|
||||
P.pellets = fragments_per_projectile
|
||||
P.range_step = 1
|
||||
P.shot_from = src.name
|
||||
P.name = "[src]'s shrapnel"
|
||||
|
||||
P.launch(T)
|
||||
fragem(src,50,100,2,1,5,1,0)
|
||||
gib()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user