[MIRROR] Prot rig up port (#9585)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-09 14:51:31 -07:00
committed by GitHub
parent ce12ae569f
commit 9d1fa79b33
101 changed files with 1904 additions and 3547 deletions

View File

@@ -6,78 +6,3 @@ GLOBAL_LIST_EMPTY(latejoin_gatewaystation)
GLOBAL_LIST_EMPTY(latejoin_plainspath)
GLOBAL_LIST_EMPTY(latejoin_fueldepot)
GLOBAL_LIST_EMPTY(latejoin_tyrvillage)
var/list/talk_sound_map = rlist(
list(
"beep-boop",
"goon speak 1",
"goon speak 2",
"goon speak 3",
"goon speak 4",
"goon speak blub",
"goon speak bottalk",
"goon speak buwoo",
"goon speak cow",
"goon speak lizard",
"goon speak pug",
"goon speak pugg",
"goon speak roach",
"goon speak skelly",
"xeno speak" // CHOMPedit
),
list(
talk_sound,
goon_speak_one_sound,
goon_speak_two_sound,
goon_speak_three_sound,
goon_speak_four_sound,
goon_speak_blub_sound,
goon_speak_bottalk_sound,
goon_speak_buwoo_sound,
goon_speak_cow_sound,
goon_speak_lizard_sound,
goon_speak_pug_sound,
goon_speak_pugg_sound,
goon_speak_roach_sound,
goon_speak_skelly_sound,
xeno_speak_sound // CHOMPedit
)
)
/proc/get_talk_sound(var/voice_sound)
if(!voice_sound)
return talk_sound_map[1]
return talk_sound_map[2][voice_sound]
/proc/rlist(var/list/keys,var/list/values) //short for reversible list generator
var/list/rlist = list(list(),list(),FALSE,0)
var/i = 0
for(i = 1, i <= LAZYLEN(keys), i++)
to_chat(world,keys[i])
rlist[1] += keys[i]
rlist[2][keys[i]] = values[i]
rlist += TRUE
rlist += i
return rlist
/proc/arlist(var/list/altlist)
var/list/rlist = list(list(),list(),FALSE,0)
var/i = 0
for(i = 1, i <= LAZYLEN(altlist), i++)
rlist[(i % 2) +1] += altlist[i]
rlist += TRUE
rlist += i/2
return rlist
/*RLIST standard
/proc/read_rlist(var/list/rlist)
//Length
rlist[4]
//valid?
rlist[3]
//keys
rlist[1]
//Values
rlist[2]
*/