mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Cleaned up scripts directory
Made scripts runnable at startup Added printing functions and remapped default Lua printing
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
{
|
||||
level1_string = "music1",
|
||||
level1_integer = 2332,
|
||||
level1_dictionary =
|
||||
{
|
||||
level2_string = "stuff",
|
||||
level2_integer = 32,
|
||||
level2_dictionary = {
|
||||
level3_string = "levels",
|
||||
level3_integer = 323232
|
||||
}
|
||||
},
|
||||
level2_double = 3.4,
|
||||
level2_boolean = true
|
||||
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
musicname = "music2"
|
||||
lyrics = "This is not, the greatest lyrics in the world. This is just a tribute"
|
||||
|
||||
config =
|
||||
{
|
||||
level1_string = musicname,
|
||||
level1_lyrics = lyrics,
|
||||
level1_secrets =
|
||||
{
|
||||
secret_stuff1 = "Password",
|
||||
secret_stuff2 = "123456",
|
||||
},
|
||||
level2_double = 4.3
|
||||
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
setting1 = 1,
|
||||
setting2 = 2,
|
||||
t = {s = 1, t = 2, u = 3}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
setting2 = 4,
|
||||
setting3 = 1,
|
||||
t = { s = 2, v = 0},
|
||||
tt = { t = { a = "a", b = "b", ff="2" }, u = { a = "a", b = "b" } }
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
BasePathOffset = "../../.."
|
||||
|
||||
}
|
||||
1
scripts/default_startup.lua
Normal file
1
scripts/default_startup.lua
Normal file
@@ -0,0 +1 @@
|
||||
print "foo"
|
||||
Reference in New Issue
Block a user