mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user