Re-implement lizard hissing

Note that this reverts #13656, due to this bug (http://www.byond.com/forum/?post=2027070)
This commit is contained in:
Bjorn Neergaard
2016-02-04 17:19:44 -06:00
parent 1c11ca778e
commit 2500e241ca
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -428,7 +428,7 @@ var/datum/subsystem/job/SSjob
/datum/subsystem/job/proc/LoadJobs()
var/jobstext = return_file_text("config/jobs.txt")
for(var/datum/job/J in occupations)
var/regex/jobs = regex("[J.title]=(-1|\\d+),(-1|\\d+)")
var/regex/jobs = new("[J.title]=(-1|\\d+),(-1|\\d+)")
jobs.Find(jobstext)
J.total_positions = text2num(jobs.group[2])
J.spawn_positions = text2num(jobs.group[3])
@@ -74,10 +74,11 @@ datum/species/human/spec_death(gibbed, mob/living/carbon/human/H)
return randname
/datum/species/lizard/qualifies_for_rank(rank, list/features)
if(rank in command_positions)
return 0
return 1
/datum/species/lizard/handle_speech(message)
if(copytext(message, 1, 2) != "*")
message = replacetextEx(message, "s", "sss")
message = replacetextEx(message, "S", "SSS")
return message
//I wag in death
/datum/species/lizard/spec_death(gibbed, mob/living/carbon/human/H)