2023-05-24 01:22:29 +02:00
|
|
|
|
2023-07-22 15:56:57 +02:00
|
|
|
# Test comment.
|
2023-07-30 15:34:19 +02:00
|
|
|
|
2023-08-13 15:27:03 +02:00
|
|
|
pos = @vec3(10, 20, 0.3)
|
2023-08-20 03:35:53 +02:00
|
|
|
coord = pos.xz
|
2023-08-13 03:03:43 +02:00
|
|
|
|
2023-08-12 13:57:50 +02:00
|
|
|
options = {
|
2023-07-23 04:12:45 +02:00
|
|
|
.title = "Afterglow",
|
|
|
|
.width = 1280,
|
|
|
|
.height = 800,
|
|
|
|
.tick_rate = 60,
|
2023-08-12 15:53:27 +02:00
|
|
|
|
|
|
|
["foo"] = "bar",
|
2023-08-12 16:10:46 +02:00
|
|
|
[42] = "42",
|
2023-05-24 01:22:29 +02:00
|
|
|
}
|
2023-08-12 13:57:50 +02:00
|
|
|
|
2023-08-20 18:41:57 +02:00
|
|
|
if pos.y > 0 do
|
|
|
|
options["foo"] = "rab"
|
|
|
|
options[42] = "24"
|
|
|
|
|
|
|
|
@print("Conditional hit!")
|
|
|
|
end
|
2023-08-12 16:10:46 +02:00
|
|
|
|
2023-08-13 02:14:08 +02:00
|
|
|
@print(options.title)
|
|
|
|
@print(options["foo"])
|
|
|
|
@print(options[42])
|
2023-08-12 13:57:50 +02:00
|
|
|
|
|
|
|
return options
|