Alien Medal and Clay Figure Medal are now randomized.

This commit is contained in:
shru 2018-12-20 20:29:05 -05:00
parent 3e38ff4a36
commit 0bba6c8eae
3 changed files with 28 additions and 0 deletions

View file

@ -12,6 +12,7 @@ Todo
Issues Issues
------ ------
- Random Mimiga in top left of Plantation seemingly gave +3? Probably a substition error with Life Capsule.
- Collecting the Super Missile Launcher increases your maximum missiles by 5. This does not normally happen. - Collecting the Super Missile Launcher increases your maximum missiles by 5. This does not normally happen.
- 3 Life Capsules can not be replaced because they appear on maps with 2 capsules. Need label-aware replace. - 3 Life Capsules can not be replaced because they appear on maps with 2 capsules. Need label-aware replace.
- Hell Missile Upgrade uses a unique script and won't be easy to replace. - Hell Missile Upgrade uses a unique script and won't be easy to replace.

View file

@ -64,9 +64,11 @@ function item(t)
table.insert(getText, ("Got =%s=!<WAI0160<NOD"):format(name)) -- Replacement table.insert(getText, ("Got =%s=!<WAI0160<NOD"):format(name)) -- Replacement
table.insert(getText, ("Got a =%s=!<WAI0160<NOD"):format(name)) -- Life Pot table.insert(getText, ("Got a =%s=!<WAI0160<NOD"):format(name)) -- Life Pot
table.insert(getText, ("Found =%s=.<NOD"):format(name)) -- Curly's Panties table.insert(getText, ("Found =%s=.<NOD"):format(name)) -- Curly's Panties
table.insert(getText, ("Got the =%s=.<WAI0160<NOD"):format(name)) -- Clay Figure Medal
table.insert(getText, ".....") -- Chako's Rouge table.insert(getText, ".....") -- Chako's Rouge
-- Cave Story+ -- Cave Story+
table.insert(getText, ("Found %s.<NOD"):format(name)) -- Curly's Panties table.insert(getText, ("Found %s.<NOD"):format(name)) -- Curly's Panties
table.insert(getText, ("Obtained the %s.<WAI0160<NOD"):format(name)) -- Clay Figure Medal
end end
return { return {
name = names[1], name = names[1],
@ -260,6 +262,30 @@ local data = {
id = "15", id = "15",
label = "0450", label = "0450",
}), }),
iAlienMedal = item({
name = "Alien Medal",
map = "Stream",
id = "36",
label = "1011",
replaceBefore = {
["<IT+0036"] = "<CMU0010<GIT1036Got =Alien Medal=!<WAI0160<NOD<RMU<IT+0036<END",
}
}),
iClayFigureMedal = item({
name = {
"Clay Figure Medal",
"Medal of the Red Ogre",
},
map = "Priso2",
id = "31",
label = "0251",
replaceBefore = {
-- Remove achievement trigger which appears in Cave Story+.
["<ACH0041"] = "",
}
}),
------------------- -------------------
-- LIFE CAPSULES -- -- LIFE CAPSULES --

View file

@ -126,6 +126,7 @@ function C:_shuffleItems(tscFiles)
{'Chako.tsc', 'iChakosRouge'}, {'Chako.tsc', 'iChakosRouge'},
{'MazeA.tsc', 'eTurbocharge'}, {'MazeA.tsc', 'eTurbocharge'},
{'MazeA.tsc', 'eWhimsicalStar'}, {'MazeA.tsc', 'eWhimsicalStar'},
{'Stream.tsc', 'iAlienMedal'},
{'Cent.tsc', 'lPlantationA'}, {'Cent.tsc', 'lPlantationA'},
{'Cent.tsc', 'iLifePot'}, {'Cent.tsc', 'iLifePot'},
} }