84 lines
2.3 KiB
GDScript
84 lines
2.3 KiB
GDScript
extends Node
|
|
|
|
var strings = [
|
|
"Someone asks where to find an unreleased song",
|
|
"Akira gets aggro at someone in chat on stream-mods",
|
|
"Darkwing_j makes an appearance",
|
|
"Lopar makes a poll",
|
|
"Inquiry about how to join the non-existent Discord server",
|
|
"Mods get distracted by stream-mod chat",
|
|
"Annoying Jojo reference",
|
|
"Akira beats everyone else to something",
|
|
"Someone makes a business request in chat",
|
|
"Sub Bomb of 20+",
|
|
"AutoMod catches a perfectly normal message",
|
|
"Insomniac_Rap Raid",
|
|
"Jirard Raid",
|
|
"We timeout someone",
|
|
"We ban someone",
|
|
"We delete a message",
|
|
"Hugspam",
|
|
"Broken Shigi",
|
|
"Mood Flip",
|
|
"Someone asks who made Saitou's graphics",
|
|
"AutoMod catches an actual bad message",
|
|
"Tax Cheer",
|
|
"Fireworks Cheer",
|
|
"Star Cheer",
|
|
"Hype Train",
|
|
"Raid right at the end of the stream",
|
|
"We add a new word to the AutoMod block list",
|
|
"DSKoopa Raid",
|
|
"Someone just finished Rakuen",
|
|
"Someone spams a request in chat",
|
|
"Someone asks for personal information",
|
|
"We ask someone to stop spamming",
|
|
"Someone asks about effects/echo",
|
|
"Widetou appears",
|
|
"Oddtou appears",
|
|
"Saitou is Missing",
|
|
"Rapid-Fire Requests",
|
|
"Hype Train reaches max level",
|
|
"We DM someone",
|
|
"Someone asks about musical equipment",
|
|
"Someone asks for piano tutorials",
|
|
"Someone tries to post a link in chat",
|
|
"Buck Bumble",
|
|
"We need Google Translate's assistance",
|
|
"Someone claims a song sounds like something else",
|
|
"BWA HA HA",
|
|
"Overuse of the @supershigi tag",
|
|
"Hello from AN ENTIRE COUNTRY!",
|
|
"Akira and someone else say the same thing simultaneously",
|
|
"A dimpy person turns out to be cool",
|
|
"Live Learn",
|
|
"Someone needs to read the room",
|
|
"DJ Oddtou",
|
|
"Anime song request",
|
|
"Someone else sees/hears before us",
|
|
"Self-advertising",
|
|
"DEEP DREAM",
|
|
"TIMING"
|
|
]
|
|
|
|
func _ready():
|
|
randomize()
|
|
var rng = RandomNumberGenerator.new()
|
|
rng.randomize()
|
|
var randseed = rng.get_seed()
|
|
seed(randseed)
|
|
print(randseed)
|
|
$Seed.text = "Seed: " + str(randseed)
|
|
strings.shuffle()
|
|
|
|
for i in range(24):
|
|
var j = i + 1
|
|
get_node("squares/%s/Label" % j).set_text(strings[i])
|
|
get_node("squares/%s/Marker" % j).set_frame(rng.randi_range(0,3))
|
|
get_node("squares/%s/Marker" % j).modulate = Color(1,1,1,0.5)
|
|
|
|
func _been_clicked(what):
|
|
var button = get_node("squares/%s/Marker" % what)
|
|
button.visible = !button.visible
|
|
pass # Replace with function body.
|