Non-servant humans can't understand clockwork mobs

This commit is contained in:
Joan Lung
2016-06-19 15:46:36 -04:00
parent 20860f2d6a
commit 321d7ce4be
6 changed files with 17 additions and 3 deletions
+1
View File
@@ -82,6 +82,7 @@
#define SLIME 16
#define DRONE 32
#define SWARMER 64
#define RATVAR 128
// Flags for reagents
#define REAGENT_NOREACT 1
@@ -92,6 +92,8 @@ This file's folder contains:
ticker.mode.servants_of_ratvar += M.mind
ticker.mode.update_servant_icons_added(M.mind)
M.mind.special_role = "Servant of Ratvar"
M.languages_spoken |= RATVAR
M.languages_understood |= RATVAR
all_clockwork_mobs += M
if(issilicon(M))
var/mob/living/silicon/S = M
@@ -120,6 +122,8 @@ This file's folder contains:
all_clockwork_mobs -= M
M.mind.memory = "" //Not sure if there's a better way to do this
M.mind.special_role = null
M.languages_spoken &= ~RATVAR
M.languages_understood &= ~RATVAR
for(var/datum/action/innate/function_call/F in M.actions) //Removes any bound Ratvarian spears
qdel(F)
if(issilicon(M))
@@ -5,6 +5,8 @@
unique_name = 1
minbodytemp = 0
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) //Robotic
languages_spoken = RATVAR
languages_understood = HUMAN|RATVAR
healable = FALSE
del_on_death = TRUE
bubble_icon = "clock"
+4
View File
@@ -100,6 +100,10 @@ var/list/freqtospan = list(
return "beeps rapidly."
else if(message_langs & DRONE)
return "chitters."
else if(message_langs & SWARMER)
return "hums."
else if(message_langs & RATVAR)
return "sounds like grinding cogs."
else
return "makes a strange sound."
@@ -94,8 +94,8 @@
icon_state = "drone_clock"
icon_living = "drone_clock"
picked = TRUE
languages_spoken = HUMAN
languages_understood = HUMAN
languages_spoken = RATVAR
languages_understood = HUMAN|RATVAR
health = 60
maxHealth = 60
hacked = 1
+4 -1
View File
@@ -10,7 +10,10 @@
/mob/verb/whisper(message as text)
set name = "Whisper"
set category = "IC"
return
if(say_disabled) //This is here to try to identify lag problems
usr << "<span class='danger'>Speech is currently admin-disabled.</span>"
return
say(message) //only carbons actually whisper, everything else just talks
/mob/verb/me_verb(message as text)
set name = "Me"