1 Star 1 Fork 1

游戏程序龙之介/黑帝斯源码拆解学习

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ObjectiveData.lua 14.13 KB
一键复制 编辑 原始数据 按行查看 历史
赵元恺 提交于 2023-03-08 16:11 . feat: 新增TraitScript相关注释
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
ObjectiveData =
{
-- most of this is auto-populated from WeaponData
EXMove = { Description = "Objective_EXMove" },
SuperMove = { Description = "Objective_SuperMove"},
BuildSuper = { Description = "Objective_BuildMeter"},
Mythmaker = { Description = "Objective_Mythmaker"},
KillRequiredEnemies = { Description = "Objective_KillRequiredEnemies"},
PickUpLoot = { Description = "Objective_PickUpLoot"},
GiftPrompt = { Description = "Objective_GiveGift" },
FishPrompt = { Description = "Objective_SellFish" },
MetaPrompt = { Description = "Objective_MetaSpend" },
ShopPrompt = { Description = "Objective_ShopSpend" },
BedPrompt = { Description = "Objective_UseBed" },
EasyModePrompt = { Description = "Objective_UseGodMode" },
UnlockWeapon = { Description = "Objective_UnlockWeapon" },
UnlockMetaUpgrade = { Description = "Objective_UnlockMetaUpgrade" },
GiftRackPrompt = { Description = "Objective_UseGiftRack" },
AdvancedTooltipPrompt = { Description = "Objective_AdvancedTooltip" },
AchillesBedroomPrompt = { Description = "Objective_EnterBedroomHades" },
AspectsRevealPrompt = { Description = "Objective_OpenWeaponUpgradeScreen" },
Fishing = { Description = "Objective_Fishing" },
TimeChallenge = { Description = "Objective_TimeChallenge" },
TimeChallengeValue = { Description = "ChallengeSwitch_Value", LuaKey = "RemainingSeconds", StartingLuaValue = "-" },
TimeChallengeReward = { Description = "Objective_TimeChallengeReward" },
ThanatosKills = { Description = "Objective_ThanatosKills", LuaKey = "ThanatosKills", StartingLuaValue = "0" },
PlayerKills = { Description = "Objective_PlayerKills", LuaKey = "PlayerKills", StartingLuaValue = "0" },
SurvivalChallenge = { Description = "Objective_SurvivalTimer", LuaKey = "RemainingSeconds", StartingLuaValue = "-" },
PerfectClear = { Description = "Objective_PerfectClear" },
PerfectClearCleanup = { Description = "Objective_PerfectClearCleanup" },
SpearThrowRegularRetrieve = { Description = "Objective_SpearWeaponThrowTeleport_StandardRecall" },
SpearWeaponThrowTeleport = { Description = "Objective_SpearWeaponThrowTeleport" },
SpearWeaponThrowSingle = { Description = "Objective_SpearWeaponThrowSingle"},
SpearWeaponSpinRanged = { Description = "Objective_SpearWeaponSpinRanged" },
ShieldGrind = { Description = "Objective_ShieldGrind" },
ShieldRushAndThrow = { Description = "Objective_ShieldRushAndThrow" },
ManualReload = { Description = "Objective_ManualReload" },
GunEmpower = {Description = "Objective_GunEmpower"},
ModifiedRush = { Description = "Objective_ModifiedRush"},
ModifiedRanged = { Description = "Objective_ModifiedRanged"},
PerfectCharge = { Description = "Objective_PerfectCharge"},
GunWeaponActiveReload = { Description = "Objective_GunWeaponActiveReload"},
GunWeaponManualReload = { Description = "Objective_GunWeaponManualReload"},
FistWeaponFistWeave = { Description = "Objective_FistWeaponFistWeave"},
FistSpecialVacuum = { Description = "Objective_FistSpecialVacuum"},
FistWeaponGilgamesh = { Description = "Objective_GilgameshAttack" },
RushWeaponGilgamesh = { Description = "Objective_GilgameshDash" },
BeowulfAttack = { Description = "Objective_BeowulfAttack"},
BeowulfSpecial = { Description = "Objective_BeowulfSpecial"},
BeowulfTackle = { Description = "Objective_BeowulfTackle"},
SwordWeaponArthur = { Description = "Objective_SwordAttackArthur"},
ConsecrationField = { Description = "Objective_ConsecrationField"},
GunGrenadeLucifer = { Description = "Objective_GunGrenadeLucifer"},
GunGrenadeLuciferBlast = { Description = "Objective_GunGrenadeLuciferBlast"},
}
ObjectiveSetData =
{
-- turning these off temporarily
--[[
BasicTutorial =
{
RequiredRoom = "RoomOpening",
RequiredMainWeapon = "SwordWeapon",
Objectives =
{
{"SwordWeapon"},
{"RushWeapon"},
{"RangedWeapon"},
},
StartDelay = 3,
},
RoomStructureTutorial =
{
RequiredRoom = "RoomSimple01",
RequiredEncounters = {"EnemyIntroFight01"},
Objectives =
{
{"KillRequiredEnemies"},
{"PickUpLoot"},
},
StartDelay = 30,
},
MythmakerTutorial =
{
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredEncounters = { "FirstMythPoint" },
RequiredRoom = "RoomSimple03",
Objectives =
{
{"Mythmaker"}
},
},
LimitTutorial =
{
--RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredEncounters = { "MeterIntroduction" },
RequiredRoom = "RoomSimple03",
Objectives =
{
{"BuildSuper", "EXMove", "SuperMove"}
},
},
ModifierTutorial =
{
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredEncounters = { "ModifierIntroduction" },
RequiredRoom = "RoomSimple03",
Objectives =
{
{"ModifiedRush", "ModifiedRanged"}
},
},
]]--
SwordTutorial =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "SwordWeapon",
RequiredFalseTraits = { "SwordConsecrationTrait" },
Objectives =
{
{"SwordWeapon", "SwordParry", "SwordWeaponDash"}
},
},
SwordTutorial_Arthur =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "SwordWeapon",
RequiredTrait = "SwordConsecrationTrait",
Objectives =
{
{"SwordWeaponArthur", "ConsecrationField", "SwordWeaponDash"}
},
},
ShieldTutorial =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "ShieldWeapon",
RequiredFalseTraits = { "ShieldTwoShieldTrait", "ShieldRushBonusProjectileTrait", "ShieldLoadAmmoTrait" },
Objectives =
{
{"ShieldWeapon", "ShieldWeaponRush", "ShieldThrow", "ShieldWeaponDash"}
},
},
ShieldTutorial_Grind =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "ShieldWeapon",
RequiredTrait = "ShieldTwoShieldTrait",
Objectives =
{
{"ShieldWeapon", "ShieldWeaponRush", "ShieldGrind", "ShieldWeaponDash"}
},
},
ShieldTutorial_BonusProjectile =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "ShieldWeapon",
RequiredTrait = "ShieldRushBonusProjectileTrait",
Objectives =
{
{"ShieldWeapon", "ShieldWeaponRush", "ShieldRushAndThrow", "ShieldWeaponDash" }
},
},
ShieldTutorial_Beowulf =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "ShieldWeapon",
RequiredTrait = "ShieldLoadAmmoTrait",
Objectives =
{
{"BeowulfAttack", "ShieldWeaponRush", "BeowulfTackle", "BeowulfSpecial", "ShieldWeaponDash"}
},
},
SpearTutorial =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "SpearWeapon",
RequiredFalseTraits = { "SpearTeleportTrait", "SpearSpinTravel" },
Objectives =
{
{"SpearWeapon", "SpearWeaponSpin", "SpearWeaponThrow", "SpearWeaponDash"}
},
},
SpearTutorial_Teleport =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "SpearWeapon",
RequiredTrait = "SpearTeleportTrait",
Objectives =
{
{"SpearWeapon", "SpearWeaponSpin", "SpearWeaponThrowTeleport", "SpearThrowRegularRetrieve", "SpearWeaponDash" }
},
},
SpearTutorial_SpinTravel =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "SpearWeapon",
RequiredTrait = "SpearSpinTravel",
Objectives =
{
{"SpearWeapon", "SpearWeaponSpinRanged", "SpearWeaponThrowSingle", "SpearWeaponDash" }
},
},
BowTutorial =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "BowWeapon",
RequiredFalseTraits = { "BowLoadAmmoTrait" },
Objectives =
{
{"BowWeapon", "BowSplitShot", "PerfectCharge", "BowWeaponDash"}
},
},
BowTutorialLoad =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "BowWeapon",
RequiredTrait = "BowLoadAmmoTrait",
Objectives =
{
{"BowWeapon", "BowSplitShot", "PerfectCharge", "LoadAmmoApplicator", "BowWeaponDash" }
},
},
GunTutorial =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "GunWeapon",
RequiredFalseTraits = { "GunGrenadeSelfEmpowerTrait", "GunManualReloadTrait", "GunLoadedGrenadeTrait" },
Objectives =
{
{"GunWeapon", "GunWeaponManualReload", "GunGrenadeToss", "GunWeaponDash" }
},
},
GunTutorial_ManualReload =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "GunWeapon",
RequiredTrait = "GunManualReloadTrait",
Objectives =
{
{"GunWeapon", "ManualReload", "GunGrenadeToss", "GunWeaponDash" }
},
},
GunTutorial_SelfEmpower =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "GunWeapon",
RequiredTrait = "GunGrenadeSelfEmpowerTrait",
Objectives =
{
{"GunWeapon", "GunWeaponManualReload", "GunGrenadeToss", "GunEmpower", "GunWeaponDash" }
},
},
GunTutorial_Lucifer =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "GunWeapon",
RequiredTrait = "GunLoadedGrenadeTrait",
Objectives =
{
{"GunWeapon", "GunWeaponManualReload", "GunGrenadeLucifer", "GunGrenadeLuciferBlast" }
},
},
FistTutorial =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "FistWeapon",
RequiredFalseTraits = { "FistWeaveTrait", "FistVacuumTrait", "FistDetonateTrait" },
Objectives =
{
{ "FistWeapon", "FistWeaponSpecial", "FistWeaponDash", "FistWeaponSpecialDash" }
},
},
FistTutorial_FistWeave =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "FistWeapon",
RequiredTrait = "FistWeaveTrait",
Objectives =
{
{ "FistWeapon", "FistWeaponSpecial", "FistWeaponDash", "FistWeaponSpecialDash", "FistWeaponFistWeave" }
},
},
FistTutorial_Vacuum =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "FistWeapon",
RequiredTrait = "FistVacuumTrait",
Objectives =
{
{ "FistWeapon", "FistSpecialVacuum", "FistWeaponDash", "FistWeaponSpecialDash" }
},
},
FistTutorial_Gilgamesh =
{
AllowRepeat = true,
OverrideExistingObjective = false,
RequiredFalseObjectiveTriggers = { "RoomStart" },
RequiredMainWeapon = "FistWeapon",
RequiredTrait = "FistDetonateTrait",
Objectives =
{
{ "FistWeaponGilgamesh", "FistWeaponSpecial", "RushWeaponGilgamesh", "FistWeaponDash", "FistDetonationWeapon" },
},
},
TimeChallenge =
{
AllowRepeat = true,
ManualActivationOnly = true,
Objectives =
{
{ "TimeChallenge" },
{ "TimeChallengeReward" },
},
},
SurvivalChallenge =
{
AllowRepeat = true,
ManualActivationOnly = true,
Objectives =
{
{ "SurvivalChallenge" }
},
},
PerfectClear =
{
AllowRepeat = true,
ManualActivationOnly = true,
HoldUntilEncounterOver = true,
Objectives =
{
{ "PerfectClear" },
},
},
ThanatosChallenge =
{
AllowRepeat = true,
ManualActivationOnly = true,
OverrideExistingObjective = true,
Objectives =
{
{ "ThanatosKills", "PlayerKills" },
},
},
Fishing =
{
AllowRepeat = true,
ManualActivationOnly = true,
RequiredMaxTotalCaughtFish = 0,
Objectives =
{
{ "Fishing" }
},
},
GiftPrompt =
{
AllowRepeat = false,
RequiredRoom = "DeathArea",
RequiredResourcesMin = { GiftPoints = 1, },
RequiredFalseFlags = { "InFlashback", },
Objectives =
{
{ "GiftPrompt" }
},
StartDelay = 5.75,
},
FishPrompt =
{
AllowRepeat = false,
RequiredRoom = "DeathArea",
RequiredHasFish = true,
RequiredFalseFlags = { "InFlashback", },
Objectives =
{
{ "FishPrompt" }
},
StartDelay = 5.75,
},
AdvancedTooltipPrompt =
{
AllowRepeat = false,
ManualActivationOnly = true,
RequiredTraitCount = 3,
Objectives =
{
{ "AdvancedTooltipPrompt" }
},
},
MetaPrompt =
{
ManualActivationOnly = true,
AllowRepeat = false,
RequiredRoom = "DeathAreaBedroom",
Objectives =
{
{ "MetaPrompt" }
},
StartDelay = 2.25,
},
BedPrompt =
{
ManualActivationOnly = true,
AllowRepeat = true,
RequiredTextLines = { "HadesFirstMeeting" },
RequiredTrueFlags = { "AllowFlashback" },
RequiredRoom = "DeathAreaBedroom",
RequiredFalseTextLinesThisRun = { "Flashback_Mother_01", },
Objectives =
{
{ "BedPrompt" }
},
StartDelay = 2.25,
},
EasyModePrompt =
{
AllowRepeat = true,
ManualActivationOnly = true,
Objectives =
{
{ "EasyModePrompt" }
},
StartDelay = 1.25,
},
--[[ShopPrompt =
{
AllowRepeat = false,
RequiredRoom = "A_Shop01",
Objectives =
{
{ "ShopPrompt" }
},
StartDelay = 3,
},]]--
AchillesBedroomPrompt =
{
AllowRepeat = false,
ManualActivationOnly = true,
OverrideExistingObjective = true,
Objectives =
{
{ "AchillesBedroomPrompt" }
},
RequiredTextLines = { "PersephoneMeeting08", },
RequiredFalseTextLines = { "AchillesAboutHadesBedroom01", "Ending01" },
},
AspectsRevealPrompt =
{
AllowRepeat = false,
ManualActivationOnly = true,
Objectives =
{
{ "AspectsRevealPrompt" }
},
RequiredTrueFlags = { "AspectsUnlocked" },
RequiredScreenViewedFalse = "WeaponUpgradeScreen",
},
UnlockWeapon =
{
AllowRepeat = false,
PriorityLevel = 1,
RequiredRoom = "RoomPreRun",
RequiredResourcesMin = { LockKeys = 1, },
Objectives =
{
{ "UnlockWeapon" }
},
},
GiftRackPrompt =
{
AllowRepeat = false,
PriorityLevel = 2,
OverrideExistingObjective = false,
RequiredRoom = "RoomPreRun",
RequireNewTraits = true,
Objectives =
{
{ "GiftRackPrompt" }
},
},
UnlockMetaUpgrade =
{
ManualActivationOnly = true,
AllowRepeat = false,
Objectives =
{
{ "UnlockMetaUpgrade" }
},
},
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/NoGameNoLife1234_admin/HadesSource.git
[email protected]:NoGameNoLife1234_admin/HadesSource.git
NoGameNoLife1234_admin
HadesSource
黑帝斯源码拆解学习
master

搜索帮助