Changes all instances of pick(list(....)) to pick(....) (#25017)

* That's a lot of files

* More changes

* Removes mention

* Thanks to Funny for helping with the text
This commit is contained in:
DGamerL
2024-04-12 11:54:33 +00:00
committed by GitHub
parent bb469c41ab
commit b2275d1ce8
18 changed files with 212 additions and 195 deletions
@@ -60,7 +60,7 @@
plane = GAME_PLANE
if(basecolor == "rainbow")
basecolor = "#[pick(list("FF0000","FF7F00","FFFF00","00FF00","0000FF","4B0082","8F00FF"))]"
basecolor = "#[pick("FF0000","FF7F00","FFFF00","00FF00","0000FF","4B0082","8F00FF")]"
color = basecolor
@@ -271,7 +271,7 @@
return
giblets = new(base_icon, "[icon_state]_flesh", dir)
if(!fleshcolor || fleshcolor == "rainbow")
fleshcolor = "#[pick(list("FF0000","FF7F00","FFFF00","00FF00","0000FF","4B0082","8F00FF"))]"
fleshcolor = "#[pick("FF0000","FF7F00","FFFF00","00FF00","0000FF","4B0082","8F00FF")]"
giblets.color = fleshcolor
var/icon/blood = new(base_icon,"[icon_state]",dir)
icon = blood
+1 -1
View File
@@ -200,7 +200,7 @@
colourName = "purple"
/obj/item/toy/crayon/random/New()
icon_state = pick(list("crayonred", "crayonorange", "crayonyellow", "crayongreen", "crayonblue", "crayonpurple"))
icon_state = pick("crayonred", "crayonorange", "crayonyellow", "crayongreen", "crayonblue", "crayonpurple")
switch(icon_state)
if("crayonred")
name = "red crayon"
+1 -1
View File
@@ -116,7 +116,7 @@
var/obj/item/organ/external/affecting
switch(pick(list("ankle","wrist","head","knee","elbow")))
switch(pick("ankle","wrist","head","knee","elbow"))
if("ankle")
affecting = H.get_organ(pick("l_foot", "r_foot"))
if("knee")