initial setup for objectives

This commit is contained in:
duncathan 2020-02-26 01:22:50 -06:00
parent afd6e3405b
commit 09e4883acf
4 changed files with 99 additions and 16 deletions

View file

@ -1 +1 @@
S``i`=:l{u瑛v|]aai`lv|]aaialv|[aaibl}~qls}<7D>`c`lvqy````lu~t=:S``ia=:l{u瑛v|[aai`lv|]aaialv|]aaibl}~qls}<7D>`c`lvqy```alu~t=:S``ib=:l{u瑛}~qls}<7D>`c`lvqy```blu~t=:S``ic=:l{u瑛}~qls}<7D>`c`lvqy```clu~t=:S``id=:l{u瑛v|]aai`lv|[aaialv|]aaibl}~qls}<7D>`c`lvqy```dlu~t=:S``ie=:l{u瑛vqy```dlu~t=:S`a``=:l{u瑛<75><EFBFBD>`aalq~€`a``j````j```blvq```c=:lyй``bcj`a`alрq``fcj``icj```ij```d=:S`a`a=:l{u瑛рq``fgj``icj```ij```d=:S`aa`=:l€lvq```blрq``fdj``ibj```aj``aa=:S`ab`=:l{u瑛q~€`ab`j````j```bl<62><EFBFBD>`aalvq```dlрq``ffj``idj``a`j```h=:S`ac`=:l€l}ヘ<>劵P擂」、P瀦P、<50>P<EFBFBD>恙董<E68199>、覆=:Η姫憎捻、<E68DBB>P洟<50>「」P淘摯P辨P沾^^^l~tlu~t=:S`aii=:l€l}ヘ~剴姫圈耽l~tlu~t=:=:S`b``=:l{u瑛}液````lt~€0b``l㎞ネ}ヘq棠P箕「、<EFBDA2>「P憎捻ゥ衍W「<57>=:痢辨猶、蘖桝惧Ql~tlu~t=:S`b`a=:l€l}ヘlу<6C>=:PPPPPPPPPPPPзqЦケq||\Pv|{ゲl~tlu~t=:S`ba`=:l€lv|zaaiaj`baalv|zaaibj`bab=:l€lvq```dl}液```bl㎞y``e`lрq``fbj``iej```gj``gd=:S`baa=:l€lvq```dl}液```bl㎞y``e`lрq``fbj``iej``gij``gc=:S`bab=:l€lvq```dl}液````l㎞y``e`lрq``fbj``iej`aagj``fb=:S`bii=:lt~€`biilv|zbiiij````lu<6C>`c``=:S`c``=:lyй``cij`c`alu<6C>`c`c=:S`c`a=:lv|zbh``j`c`blu<6C>`c`c=:S`c`b=:lv|qlt~q``aclt~€`biilt~€`c``l<><EFBFBD>`celu~t=:S`c`c=:l{u瑛v~`c``j``afl}詠```bl}ヘlvqs``balwy<77>`cilу「辨猶摯PΗ姫未沱P、<50>Pu覧=:s泙「剩泙P促Pァ復弃促P、<50>P=:my「沾Pr沾芭Ql~tls|<7C>棡ゥP、<50>霸ァ劈弃yP弔舞娜、<E5A89C>」=:酎「「剳「^l~tlv}```hlu~t
0==F=IXRfISY:>>F=ISY:>>F>ISY8>>F?IZ[NIPZb==@=ISNV====IR[Q0==F>IXRfISY8>>F=ISY:>>F>ISY:>>F?IZ[NIPZb==@=ISNV===>IR[Q0==F?IXRfIZ[NIPZb==@=ISNV===?IR[Q0==F@IXRfIZ[NIPZb==@=ISNV===@IR[Q0==FAIXRfISY:>>F=ISY8>>F>ISY:>>F?IZ[NIPZb==@=ISNV===AIR[Q0==FBIXRfISNV===AIR[Q0=>==IXRfI`\b==>>IN[]=>==G====G===?ISN\===@IVaW==?@G=>=>Ia_N==C@G==F@G===FG===A0=>=>IXRfIa_N==CDG==F@G===FG===A0=>>=I]_VISN\===?Ia_N==CAG==F?G===>G==>>0=>?=IXRfIN[]=>?=G====G===?I`\b==>>ISN\===AIa_N==CCG==FAG==>=G===E0=>@=I]_VIZ`Tauv€-z<E2809A>-or-<2D>ur-uryvp|}<7D>r`r-n{q-<2D>ur-|<7C>ur€-pnzr-v{-|{;;;I[\QIR[Q0=>FFI]_VIZ`T[vpr-w|o;I[\QIR[Q0=?==IXRfIZfQ====IQ[]=?==IdN`IZ`TN{†-s<E2809A>ur-n{q-†|4rt|v{t-<2D>|-snyy.I[\QIR[Q0=?=>I]_VIZ`TIab_------------aUNa4`-NYY9-S\YX`.I[\QIR[Q0=?>=I]_VISYW>>F>G=?>>ISYW>>F?G=?>?I]_VISN\===AIZfQ===?IdNV==B=Ia_N==C?G==FBG===DG==DA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cR=B>A0=B>?ISYWC>>>G=B>@IRcR=B>A0=B>@IRcR=C==0=B>AIXRfIS\[=@==G==>CIZfO===?IZ`TISNP==?>Iab_f|-z<E2809A>-qrsrn<72>-nyy-|s-z†o|€€-z|{€<>r€-ors|r-snpv{tzr-urr9-n{qGI[\QIPY_Ov{t-zr-`r-s|z-<2D>ur-RttP|vq|9-<2D>ur-JV|{-O|{qJ9n{q-<2D>ur-JO||€<>r-?;=J.I[\QIPY_\{y†-<2D>ur{-„vyy-V-ornx-<2D>uv€onvr;I[\QIS\Z===EIR[Q0=C==ISYNIQ[N==>@IQ[]=?FFIQ[]=@==I`\b==@BIR[Q

View file

@ -55,16 +55,74 @@ going to fall!<NOD<END
#0299
<DNP0299<FLJ2999:0000<EVE0300
#0300
<ITJ0039:0301<EVE0303
<FLJ6000:0301<FLJ6001:0301<FLJ6002:0301
<KEY<FON0300:0016<MYB0002<MSG<FAC0021<TURThere is nothing for you
here!<NOD<CLRFlee the island while
you still can...<NOD<FOM0008<END
Normal ending, flag 6000
#0301
<FLJ2800:0302<EVE0303
<FLJ2800:0302<EVE0303 Check for Sue being saved
#0302
<FLA<DNA0013<DNP0299<DNP0300<SOU0035<END
<FLJ6001:0401<FLJ6002:0401<EVE0600 Keep checking if it's best end or all bosses
#0303
<FLJ6001:0403<FLJ6002:0514
<KEY<FON0300:0016<MYB0002<MSG<FAC0021<GIT1039<TURBring me Sue from the Egg
Corridor as well as the
=Iron Bond=!<NOD<CLROnly then will I break this
Corridor!<NOD<CLROnly then will I break this
barrier.<NOD<FOM0008<END
Best ending, flag 6001
#0401
<ITJ0039:0402<EVE0403 Check for Iron Bond
#0402
<FLJ6002:0501<EVE0600 Keep checking if it's all bosses
#0403
<FLJ6002:0514
<KEY<FON0300:0016<MYB0002<MSG<FAC0021<TURBring me Sue from the Egg
Corridor, the =Iron Bond=,
and the =Booster 2.0=!<NOD<CLROnly then will I break this
barrier.<NOD<FOM0008<END
All bosses, flag 6002
#0501
<FLJ6100:0502<EVE0514 Balrog 1
#0502
<FLJ6101:0503<EVE0514 Igor
#0503
<FLJ6102:0504<EVE0514 Balrog 2
#0504
<FLJ6103:0505<EVE0514 Balfrog
#0505
<FLJ6104:0506<EVE0514 Omega
#0506
<FLJ6105:0507<EVE0514 Toroko+
#0507
<FLJ6106:0508<EVE0514 Monster X
#0508
<FLJ6107:0509<EVE0514 Balrog 3
#0509
<FLJ6108:0510<EVE0514 The Core
#0510
<FLJ6109:0511<EVE0514 Ironhead
#0511
<FLJ6110:0512<EVE0514 The Sisters
#0512
<FLJ6111:0513<EVE0514 Red Demon
#0513
<EVE0600
#0514
<KEY<FON0300:0016<MYB0002
<MSG<FAC0021<TURYou must defeat all of my
boss monsters before facing
me here, and:<NOD<CLR
Bring me Sue from the Egg
Corridor, the =Iron Bond=,
and the =Booster 2.0=!<NOD<CLROnly then will I break this
barrier.<NOD<FOM0008<END
#0600
<FLA<DNA0013<DNP0299<DNP0300<SOU0035<END

View file

@ -36,6 +36,14 @@ local function event(n)
}
end
local function gameMode(n, eve)
return {
name = "Game Mode: " .. n,
attributes = {"gamemode"},
placed = true,
script = eve
}
local function _itemData()
local data = {
-------------
@ -345,7 +353,15 @@ local function _itemData()
eventToroko = event("Defeated Toroko+"),
eventCore = event("Defeated the Core"),
eventCurly = event("Saved Curly"),
eventRocket = event("Built Rocket")
eventRocket = event("Built Rocket"),
----------------
-- GAME MODES --
----------------
gameBadEnd = gameMode("Bad Ending", "<FL+6003<EVE0091"),
gameNormalEnd = gameMode("Normal Ending", "<FL+6000<EVE0091"),
gameBestEnd = gameMode("Best Ending", "<FL+6001<EVE0091"),
gameAllBosses = gameMode("All Bosses", "<FL+6002<EVE0091")
}
local array = {}

View file

@ -1,14 +1,23 @@
return { style = 'dialog',
{ style = 'dialogHead', text = 'Settings' },
{ style = 'dialogBody', padding = 24,
{ type = 'label', text = 'Seed' },
{ style = 'dialogBody', padding = 24, flow = 'x',
{
{ type = 'radio', group = 'seed', text = 'Use random seed', value = true },
{ flow = 'y', { type = 'radio', group = 'seed', text = 'Use custom seed', id = 'seedselect'}, { type = 'text', id = 'customseed', width = 150 }, {height = false} }
{ type = 'label', text = 'Seed' },
{
{ type = 'radio', group = 'seed', text = 'Use random seed', value = true },
{ flow = 'y', { type = 'radio', group = 'seed', text = 'Use custom seed', id = 'seedselect'}, { type = 'text', id = 'customseed', width = 150 }, {height = false} }
},
{ type = 'label', text = 'Randomization Options' },
{ type = 'check', value = false, id = 'puppy', text = "Puppysanity"},
{ height = false },
},
{
{ type = 'label', text = 'Objective' },
{ type = 'radio', group = 'objective', text = 'Bad ending' },
{ type = 'radio', group = 'objective', text = 'Normal ending' },
{ type = 'radio', group = 'objective', text = 'Best ending', value = true },
{ type = 'radio', group = 'objective', text = 'All bosses' },
},
{ type = 'label', text = 'Randomization Options' },
{ type = 'check', value = false, id = 'puppy', text = "Puppysanity"},
{ height = false },
},
{ style = 'dialogFoot',
{},