|
|
|
@@ -189,19 +189,19 @@
|
|
|
|
|
listeners = list(L) //Devil names are unique.
|
|
|
|
|
power_multiplier *= 5 //if you're a devil and god himself addressed you, you fucked up
|
|
|
|
|
//Cut out the name so it doesn't trigger commands
|
|
|
|
|
message = copytext(message, 0, start)+copytext(message, start + length(devilinfo.truename), length(message) + 1)
|
|
|
|
|
message = copytext(message, 1, start) + copytext(message, start + length(devilinfo.truename))
|
|
|
|
|
break
|
|
|
|
|
else if(dd_hasprefix(message, L.real_name))
|
|
|
|
|
else if(findtext(message, L.real_name, 1, length(L.real_name) + 1))
|
|
|
|
|
specific_listeners += L //focus on those with the specified name
|
|
|
|
|
//Cut out the name so it doesn't trigger commands
|
|
|
|
|
found_string = L.real_name
|
|
|
|
|
|
|
|
|
|
else if(dd_hasprefix(message, L.first_name()))
|
|
|
|
|
else if(findtext(message, L.first_name(), 1, length(L.first_name()) + 1))
|
|
|
|
|
specific_listeners += L //focus on those with the specified name
|
|
|
|
|
//Cut out the name so it doesn't trigger commands
|
|
|
|
|
found_string = L.first_name()
|
|
|
|
|
|
|
|
|
|
else if(L.mind && L.mind.assigned_role && dd_hasprefix(message, L.mind.assigned_role))
|
|
|
|
|
else if(L.mind && L.mind.assigned_role && findtext(message, L.mind.assigned_role, 1, length(L.mind.assigned_role) + 1))
|
|
|
|
|
specific_listeners += L //focus on those with the specified job
|
|
|
|
|
//Cut out the job so it doesn't trigger commands
|
|
|
|
|
found_string = L.mind.assigned_role
|
|
|
|
@@ -209,7 +209,7 @@
|
|
|
|
|
if(specific_listeners.len)
|
|
|
|
|
listeners = specific_listeners
|
|
|
|
|
power_multiplier *= (1 + (1/specific_listeners.len)) //2x on a single guy, 1.5x on two and so on
|
|
|
|
|
message = copytext(message, 0, 1)+copytext(message, 1 + length(found_string), length(message) + 1)
|
|
|
|
|
message = copytext(message, length(found_string) + 1)
|
|
|
|
|
|
|
|
|
|
var/static/regex/stun_words = regex("stop|wait|stand still|hold on|halt")
|
|
|
|
|
var/static/regex/knockdown_words = regex("drop|fall|trip|knockdown")
|
|
|
|
@@ -578,7 +578,7 @@
|
|
|
|
|
cooldown = COOLDOWN_MEME
|
|
|
|
|
for(var/V in listeners)
|
|
|
|
|
var/mob/living/carbon/human/H = V
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(H.client && H.client.prefs && H.client.prefs.cit_toggles & HYPNO) // probably a redundant check but for good measure
|
|
|
|
|
H.mob_climax(forced_climax=TRUE)
|
|
|
|
|
|
|
|
|
@@ -719,19 +719,19 @@
|
|
|
|
|
|
|
|
|
|
for(var/V in listeners)
|
|
|
|
|
var/mob/living/L = V
|
|
|
|
|
if(dd_hasprefix(message, L.real_name))
|
|
|
|
|
if(findtext(message, L.real_name, 1, length(L.real_name) + 1))
|
|
|
|
|
specific_listeners += L //focus on those with the specified name
|
|
|
|
|
//Cut out the name so it doesn't trigger commands
|
|
|
|
|
found_string = L.real_name
|
|
|
|
|
power_multiplier += 0.5
|
|
|
|
|
|
|
|
|
|
else if(dd_hasprefix(message, L.first_name()))
|
|
|
|
|
else if(findtext(message, L.first_name(), 1, length(L.first_name()) + 1))
|
|
|
|
|
specific_listeners += L //focus on those with the specified name
|
|
|
|
|
//Cut out the name so it doesn't trigger commands
|
|
|
|
|
found_string = L.first_name()
|
|
|
|
|
power_multiplier += 0.5
|
|
|
|
|
|
|
|
|
|
else if(L.mind && L.mind.assigned_role && dd_hasprefix(message, L.mind.assigned_role))
|
|
|
|
|
else if(L.mind && L.mind.assigned_role && findtext(message, L.mind.assigned_role, 1, length(L.mind.assigned_role) + 1))
|
|
|
|
|
specific_listeners += L //focus on those with the specified job
|
|
|
|
|
//Cut out the job so it doesn't trigger commands
|
|
|
|
|
found_string = L.mind.assigned_role
|
|
|
|
@@ -740,7 +740,7 @@
|
|
|
|
|
if(specific_listeners.len)
|
|
|
|
|
listeners = specific_listeners
|
|
|
|
|
//power_multiplier *= (1 + (1/specific_listeners.len)) //Put this is if it becomes OP, power is judged internally on a thrall, so shouldn't be nessicary.
|
|
|
|
|
message = copytext(message, 0, 1)+copytext(message, 1 + length(found_string), length(message) + 1)//I have no idea what this does
|
|
|
|
|
message = copytext(message, length(found_string) + 1)//I have no idea what this does
|
|
|
|
|
|
|
|
|
|
var/obj/item/organ/tongue/T = user.getorganslot(ORGAN_SLOT_TONGUE)
|
|
|
|
|
if (T.name == "fluffy tongue") //If you sound hillarious, it's hard to take you seriously. This is a way for other players to combat/reduce their effectiveness.
|
|
|
|
|