adds misery mychar courtesy of hiino

This commit is contained in:
duncathan 2020-03-14 00:06:46 -06:00
parent f8eedf4e28
commit 2c5ad7dafb
4 changed files with 5 additions and 2 deletions

BIN
src/assets/icon/Misery.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -41,7 +41,7 @@ settings.randoButton:onPress(function()
Screen:loadObjective(love.math.random(4)-1) Screen:loadObjective(love.math.random(4)-1)
settings.seedselect.value = false settings.seedselect.value = false
settings.seedrandom.value = true settings.seedrandom.value = true
Screen:loadMyChar(love.math.random(7)) Screen:loadMyChar(love.math.random(8))
Screen:loadSpawn(love.math.random(3)-1) Screen:loadSpawn(love.math.random(3)-1)
Screen:loadSeqSettings(fifty(), { Screen:loadSeqSettings(fifty(), {
cthulhu = fifty(), cthulhu = fifty(),
@ -98,8 +98,10 @@ function C:loadMyChar(mychar)
settings.mychar.index = 5 settings.mychar.index = 5
elseif mychar == "assets/myChar/Kanpachi.bmp" then elseif mychar == "assets/myChar/Kanpachi.bmp" then
settings.mychar.index = 6 settings.mychar.index = 6
elseif mychar == "assets/myChar/Frog.bmp" then elseif mychar == "assets/myChar/Misery.bmp" then
settings.mychar.index = 7 settings.mychar.index = 7
elseif mychar == "assets/myChar/Frog.bmp" then
settings.mychar.index = 8
end end
settings.mychar.value = "override" settings.mychar.value = "override"
end end

View file

@ -44,6 +44,7 @@ return { style = 'dialog',
{ text = " Toroko", value = "assets/myChar/Toroko.bmp", icon = "assets/icon/Toroko.png" }, { text = " Toroko", value = "assets/myChar/Toroko.bmp", icon = "assets/icon/Toroko.png" },
{ text = " King", value = "assets/myChar/King.bmp", icon = "assets/icon/King.png" }, { text = " King", value = "assets/myChar/King.bmp", icon = "assets/icon/King.png" },
{ text = " Kanpachi", value = "assets/myChar/Kanpachi.bmp", icon = "assets/icon/Kanpachi.png" }, { text = " Kanpachi", value = "assets/myChar/Kanpachi.bmp", icon = "assets/icon/Kanpachi.png" },
{ text = " Misery", value = "assets/myChar/Misery.bmp", icon = "assets/icon/Misery.png" },
{ text = " Frog", value = "assets/myChar/Frog.bmp", icon = "assets/icon/Frog.png" } { text = " Frog", value = "assets/myChar/Frog.bmp", icon = "assets/icon/Frog.png" }
}, },
{ type = 'label', text = 'Spawn Location', minheight = 32 }, { type = 'label', text = 'Spawn Location', minheight = 32 },