📄 missionscript02.lua
字号:
MisNeed(MIS_NEED_ITEM, 3967, 1, 10, 1)
MisResultTalk("<t>Ah… You're a good person… Thank you.")
MisHelpTalk("<t>Antidote… hurry… dying…")
MisResultCondition(HasMission, 207)
MisResultCondition(HasItem, 3967, 1 )
MisResultAction(TakeItem, 3967, 1 )
MisResultAction(ClearMission, 207)
MisResultAction(SetRecord, 207 )
MisResultAction(AddExp,250,250)
MisResultAction(AddMoney,1200,1200)
MisResultAction(AddExpAndType,2,875,875)
InitTrigger()
TriggerCondition( 1, IsItem, 3967)
TriggerAction( 1, AddNextFlag, 207, 10, 1 )
RegCurTrigger( 2071 )
-----------------------------------全体食物中毒
DefineMission( 214, "Food Poisoning", 207, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>Everyone has been Poisoned?! <n><t>Let me take a look… Wow, it looks too yummy to be poisonous doesn't it?")
MisResultCondition(NoRecord, 207)
MisResultCondition(NoFlag, 207, 1 )
MisResultCondition(HasMission, 207)
MisResultCondition(HasItem, 3966, 1) --唐德的信
MisResultAction(TakeItem, 3966, 1 )
MisResultAction(SetFlag, 207, 1 )
-------------------------------------------------解药原料
DefineMission( 215, "Quest for Antidote", 208 )
MisBeginTalk( "<t>I have analyzed the food, the problem lies with the Bubble Clam Meat. I am short of only 3 ingrediants to make the antidote.<n><t>3 <yCashmeres>, 3 <yPiglet Tails> and 3 <yHard Shells>. Could you help me gather them?" )
MisBeginCondition(NoRecord, 208)
MisBeginCondition(HasMission, 207)
MisBeginCondition(NoMission, 208)
MisBeginCondition(HasFlag, 207, 1)
MisBeginAction(AddMission, 208)
MisBeginAction(AddTrigger, 2081, TE_GETITEM, 1678, 3 ) --羊绒
MisBeginAction(AddTrigger, 2082, TE_GETITEM, 3968, 3 ) --小猪尾巴
MisBeginAction(AddTrigger, 2083, TE_GETITEM, 1614, 3 ) --坚硬的壳
MisCancelAction(ClearMission, 208)
MisNeed(MIS_NEED_ITEM, 1678, 3, 10, 3)
MisNeed(MIS_NEED_ITEM, 3968, 3, 20, 3)
MisNeed(MIS_NEED_ITEM, 1614, 3, 30, 3)
MisPrize(MIS_PRIZE_ITEM, 3967, 1, 4)
MisPrizeSelAll()
MisResultTalk("<t>Excellent! Please give me a moment to prepare the antidote.<n><t>This is it! Take it...")
MisHelpTalk("<t>I need 3 <yCashmere>, 3 <yPiglet Tail> and 3 <yHard Shell>. Found them?")
MisResultCondition(HasMission, 208)
MisResultCondition(HasItem, 1678, 3 )
MisResultCondition(HasItem, 3968, 3 )
MisResultCondition(HasItem, 1614, 3 )
MisResultAction(TakeItem, 1678, 3 )
MisResultAction(TakeItem, 3968, 3 )
MisResultAction(TakeItem, 1614, 3 )
MisResultAction(ClearMission, 208)
MisResultAction(SetRecord, 208 )
MisResultAction(AddExp,250,250)
MisResultAction(AddMoney,1200,1200)
MisResultAction(AddExpAndType,2,875,875)
MisResultBagNeed(1)
InitTrigger()
TriggerCondition( 1, IsItem, 1678)
TriggerAction( 1, AddNextFlag, 208, 10, 3 )
RegCurTrigger( 2081 )
InitTrigger()
TriggerCondition( 1, IsItem, 3968)
TriggerAction( 1, AddNextFlag, 208, 20, 3 )
RegCurTrigger( 2082 )
InitTrigger()
TriggerCondition( 1, IsItem, 1614)
TriggerAction( 1, AddNextFlag, 208, 30, 3 )
RegCurTrigger( 2083 )
----------------------------唐德的委托
DefineMission( 216, "Tommy's Request", 209 )
MisBeginTalk( "<t><bTommy>'s letter has confirmed that the sheeps that he saw were getting crazy and out of control more often than usual. We decided to call these changed creatures \"Feral\".<n><t>This is also happens to be one of the case that Salvier wanted you to investigate. I suggest you to talk to <bPhysician Ditto> at (2250, 2770) for more information." )
MisBeginCondition(NoRecord, 209)
MisBeginCondition(HasRecord, 207)
MisBeginCondition(NoMission, 209)
MisBeginAction(AddMission, 209)
MisCancelAction(ClearMission, 209)
MisNeed(MIS_NEED_DESP, "Ask Ditto at (2250, 2770) about the Whacky Lamb incident")
MisHelpTalk("<t>Have you spoken to Ditto regarding the Feral situation?")
MisResultCondition(AlwaysFailure )
-----------------------------------唐德的委托
DefineMission( 217, "Tommy's Request", 209, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>Like the posionous Bubble Clam, the Whacky Lamb syndrome, is just one of the biological mutations that are happening around us. Could it be Evolution? I need to investigate more on this issue.")
MisResultCondition(NoRecord, 209)
MisResultCondition(HasMission, 209)
MisResultAction(ClearMission, 209 )
MisResultAction(SetRecord, 209 )
MisResultAction(AddExp,280,280)
MisResultAction(AddMoney,1300,1300)
MisResultAction(AddExpAndType,2,875,875)
-------------------------------------------------疯狂的原因
DefineMission( 218, "A Crazy Reason", 210 )
MisBeginTalk( "<t>Ok, after some considerations, we should check on the <Whacky Lambs>.<n><t>Obtain 5 vials of <Whacky Lamb Saliva> from the <Whacky Lambs> found at (1968, 2697) so I can take a look what they have been eating." )
MisBeginCondition(NoRecord, 210)
MisBeginCondition(HasRecord, 209)
MisBeginCondition(NoMission, 210)
MisBeginAction(AddMission, 210)
MisBeginAction(AddTrigger, 2101, TE_GETITEM, 3969, 5 ) --残暴山羊的口水
MisCancelAction(ClearMission, 210)
MisNeed(MIS_NEED_ITEM, 3969, 5, 10, 5)
MisResultTalk("<t>These saliva should do the trick. I'll carry out more research on them to find out the cause of the Feral creatures.")
MisHelpTalk("<t>What's the matter? Why have you not collected 5 <ySaliva> yet?")
MisResultCondition(HasMission, 210)
MisResultCondition(HasItem, 3969, 5 )
MisResultAction(TakeItem, 3969, 5 )
MisResultAction(ClearMission, 210)
MisResultAction(SetRecord, 210 )
MisResultAction(AddExp,280,280)
MisResultAction(AddMoney,1300,1300)
MisResultAction(AddExpAndType,2,875,875)
InitTrigger()
TriggerCondition( 1, IsItem, 3969)
TriggerAction( 1, AddNextFlag, 210, 10, 5 )
RegCurTrigger( 2101 )
-------------------------------------------------深入调查
DefineMission( 219, "Thorough Investigation", 211 )
MisBeginTalk( "<t>After an indepth investigation, there is a certain strange element that exist in the sheep's diet.<n><t>I am not absolutely certain until you can bring me a strange <rGreat King Clam>'s Pearl. It resides in the north of <pArgent City> at (2048, 2514).<n><t>Make haste." )
MisBeginCondition(NoRecord, 211)
MisBeginCondition(HasRecord, 210)
MisBeginCondition(NoMission, 211)
MisBeginAction(AddMission, 211)
MisBeginAction(AddTrigger, 2111, TE_GETITEM, 3970, 1 ) --残暴山羊的口水
MisCancelAction(ClearMission, 211)
MisNeed(MIS_NEED_ITEM, 3970, 1, 10, 1)
MisResultTalk("<t> Good job! You've obtained the <yGreat King Clam's Pearl>. It's definitely a lot different from the other pearls, I might observe it carefully!")
MisHelpTalk("<t>Why? Afraid of <rGreat King Clam>? Bring some friends along then.")
MisResultCondition(HasMission, 211)
MisResultCondition(HasItem, 3970, 1 )
MisResultAction(TakeItem, 3970, 1 )
MisResultAction(ClearMission, 211)
MisResultAction(SetRecord, 211 )
MisResultAction(AddExp,1500,1500)
MisResultAction(AddMoney,6000,6000)
MisResultAction(AddExpAndType,2,875,875)
InitTrigger()
TriggerCondition( 1, IsItem, 3970)
TriggerAction( 1, AddNextFlag, 211, 10, 1 )
RegCurTrigger( 2111 )
----------------------------帝姆的报告书
DefineMission( 220, "Ditto's Report", 212 )
MisBeginTalk( "<t>This investigation will take me some time, I have written a preliminary <yReport>.<n><t>Please deliver it to Secretary <bSalvier> at (2219, 2749) to update him on our current situation." )
MisBeginCondition(NoRecord, 212)
MisBeginCondition(HasRecord, 211)
MisBeginCondition(NoMission, 212)
MisBeginAction(AddMission, 212)
MisBeginAction(GiveItem, 3971, 1, 4)
MisCancelAction(ClearMission, 212)
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Send the report to Argent Secretary at (2219, 2749)")
MisHelpTalk("<t>What is wrong? Go now!")
MisResultCondition(AlwaysFailure )
-----------------------------------帝姆的报告书
DefineMission( 221, "Ditto's Report", 212, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<tThe report from Physician Ditto has informed me of your progress. I am delighted with your good work.")
MisResultCondition(NoRecord, 212)
MisResultCondition(HasMission, 212)
MisResultCondition(HasItem, 3971, 1)
MisResultAction(TakeItem, 3971, 1 )
MisResultAction(ClearMission, 212 )
MisResultAction(SetRecord, 212 )
MisResultAction(AddExp,350,350)
MisResultAction(AddMoney,1500,1500)
MisResultAction(AddExpAndType,2,3400,3400)
----------------------------新任务
DefineMission( 222, "A New Task", 213 )
MisBeginTalk( "<t>Rumor has it that there are endless troubles at <pAbandoned Mine Haven>. Here, take this recommendation letter. Go to (1909, 2820) and report to <bSecurity Guard - Kal>. New task awaits you over there." )
MisBeginCondition(NoRecord, 213)
MisBeginCondition(HasRecord, 212)
MisBeginCondition(NoMission, 213)
MisBeginAction(AddMission, 213)
MisBeginAction(GiveItem, 3972, 1, 4)
MisCancelAction(ClearMission, 213)
MisBeginBagNeed(1)
MisNeed(MIS_NEED_DESP, "Hand the letter to Security - Kal at (1909, 2820)")
MisHelpTalk("<t>Go to the <pAbandoned Mine> immediately without delay!")
MisResultCondition(AlwaysFailure )
-----------------------------------新任务
DefineMission( 223, "A New Task", 213, COMPLETE_SHOW )
MisBeginCondition(AlwaysFailure )
MisResultTalk("<t>You're sent by Secretary Salvier? Pleased to meet you.")
MisResultCondition(NoRecord, 213)
MisResultCondition(HasMission, 213)
MisResultCondition(HasItem , 3972, 1)
MisResultAction(TakeItem , 3972, 1 )
MisResultAction(ClearMission, 213 )
MisResultAction(SetRecord, 213 )
MisResultAction(AddExp,400,400)
MisResultAction(AddMoney,1500,1500)
MisResultAction(AddExpAndType,2,3401,3401)
-------------------------------------------------寻找丢失的工具
DefineMission( 224, "The Lost Tool", 214 )
MisBeginTalk( "<t>Recently, our mining tools have gone missing. Could you look around the Abandoned Mine area for a tool chest? Our tools should be inside." )
MisBeginCondition(NoRecord, 214)
MisBeginCondition(HasRecord, 213)
MisBeginCondition(NoMission, 214)
MisBeginAction(AddMission, 214)
MisBeginAction(AddTrigger, 2141, TE_GETITEM, 3973, 5 ) --被盗的铁锹
MisBeginAction(AddTrigger, 2142, TE_GETITEM, 3974, 3 ) --被盗的安全帽
MisBeginAction(AddTrigger, 2143, TE_GETITEM, 3975, 5 ) --被盗的矿灯
MisCancelAction(ClearMission, 214)
MisNeed(MIS_NEED_ITEM, 3973, 5, 10, 5)
MisNeed(MIS_NEED_ITEM, 3974, 3, 20, 3)
MisNeed(MIS_NEED_ITEM, 3975, 5, 30, 5)
MisResultTalk("<t>This is great! With our tools returned, we can start work immediately!")
MisHelpTalk("<t>You haven't found our tools? Without them we are unable to carry on working. Please help us to retrieve them.")
MisResultCondition(HasMission, 214)
MisResultCondition(HasItem, 3973, 5 )
MisResultCondition(HasItem, 3974, 3 )
MisResultCondition(HasItem, 3975, 5 )
MisResultAction(TakeItem, 3973, 5 )
MisResultAction(TakeItem, 3974, 3 )
MisResultAction(TakeItem, 3975, 5 )
MisResultAction(ClearMission, 214)
MisResultAction(SetRecord, 214 )
MisResultAction(AddExp,450,450)
MisResultAction(AddMoney,1600,1600)
MisResultAction(AddExpAndType,2,3402,3402)
InitTrigger()
TriggerCondition( 1, IsItem, 3973)
TriggerAction( 1, AddNextFlag, 214, 10, 5 )
RegCurTrigger( 2141 )
InitTrigger()
TriggerCondition( 1, IsItem, 3974)
TriggerAction( 1, AddNextFlag, 214, 20, 3 )
RegCurTrigger( 2142 )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -