summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-22 19:57:23 +0200
committerAki <nthirtyone@gmail.com>2017-09-22 19:57:23 +0200
commitbad3e12962e2c7040090ec678d3ed6cfd5586288 (patch)
treeef78e813f61a1265b717de5b72e82180f0bf9431
parent6d530ace4d6a445d3136cca180f54f8add3d81fc (diff)
downloadroflnauts-bad3e12962e2c7040090ec678d3ed6cfd5586288.zip
roflnauts-bad3e12962e2c7040090ec678d3ed6cfd5586288.tar.gz
roflnauts-bad3e12962e2c7040090ec678d3ed6cfd5586288.tar.bz2
Allow all nauts to be selected in debug mode
-rw-r--r--config/menus/select.lua2
-rw-r--r--config/nauts/joystick.lua2
-rw-r--r--config/nauts/swarm.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/config/menus/select.lua b/config/menus/select.lua
index 6dc9d01..d101472 100644
--- a/config/menus/select.lua
+++ b/config/menus/select.lua
@@ -34,7 +34,7 @@ end
-- TODO: Clean-up menus/select, menus/host and Hero after portraits split.
local group, get
do
- local nauts, icons = loadConfigs("config/nauts", function (naut) return naut.available end)
+ local nauts, icons = loadConfigs("config/nauts", function (naut) return naut.available or debug end)
-- TODO: Find a better way to add empty and random entries to naut Selector.
table.insert(icons, 1, false)
diff --git a/config/nauts/joystick.lua b/config/nauts/joystick.lua
index 44e8adb..97aeb6d 100644
--- a/config/nauts/joystick.lua
+++ b/config/nauts/joystick.lua
@@ -3,6 +3,6 @@ return
{
name = "joystick",
image = "assets/nauts/joystick.png",
- portrait = 38,
+ portrait = "assets/portraits/joystick.png",
available = false
}
diff --git a/config/nauts/swarm.lua b/config/nauts/swarm.lua
index 575478b..09a9540 100644
--- a/config/nauts/swarm.lua
+++ b/config/nauts/swarm.lua
@@ -3,6 +3,6 @@ return
{
name = "swarm",
image = "assets/nauts/swarm.png",
- portrait = 36,
+ portrait = "assets/portraits/swarm.png",
available = false
}