mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
defines race restrictions
This commit is contained in:
@@ -30,7 +30,7 @@ proc/kpcode_race_getlist(var/restrict=0)
|
|||||||
if(!R.restricted||R.restricted==restrict)
|
if(!R.restricted||R.restricted==restrict)
|
||||||
race_options[r_id]=kpcode_race_get(r_id)
|
race_options[r_id]=kpcode_race_get(r_id)
|
||||||
return race_options
|
return race_options
|
||||||
/*
|
|
||||||
proc/kpcode_race_get(var/name="human")
|
proc/kpcode_race_get(var/name="human")
|
||||||
name=kpcode_race_san(name)
|
name=kpcode_race_san(name)
|
||||||
if(!name||name=="") name="human"
|
if(!name||name=="") name="human"
|
||||||
@@ -40,7 +40,7 @@ proc/kpcode_race_get(var/name="human")
|
|||||||
return return_this
|
return return_this
|
||||||
else
|
else
|
||||||
return kpcode_race_get()
|
return kpcode_race_get()
|
||||||
|
/*
|
||||||
proc/kpcode_race_san(var/input)
|
proc/kpcode_race_san(var/input)
|
||||||
if(!input)input="human"
|
if(!input)input="human"
|
||||||
if(istype(input,/datum/species))
|
if(istype(input,/datum/species))
|
||||||
|
|||||||
@@ -56,9 +56,9 @@
|
|||||||
var/siemens_coeff = 1 //base electrocution coefficient
|
var/siemens_coeff = 1 //base electrocution coefficient
|
||||||
var/exotic_damage_overlay = ""
|
var/exotic_damage_overlay = ""
|
||||||
var/fixed_mut_color = "" //to use MUTCOLOR with a fixed color that's independent of dna.feature["mcolor"]
|
var/fixed_mut_color = "" //to use MUTCOLOR with a fixed color that's independent of dna.feature["mcolor"]
|
||||||
// var/generic="something"
|
var/generic="something"
|
||||||
// var/adjective="unknown"
|
var/adjective="unknown"
|
||||||
// var/restricted=0 //Set to 1 to not allow anyone to choose it, 2 to hide it from the DNA scanner, and text to restrict it to one person
|
var/restricted=0 //Set to 1 to not allow anyone to choose it, 2 to hide it from the DNA scanner, and text to restrict it to one person
|
||||||
// var/tail=0
|
// var/tail=0
|
||||||
// var/taur=0
|
// var/taur=0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user