mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user