--ネタ看板イベントデータ-- --看板その1-- function signboardc1_180() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(209)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(209,1); --209番のフラグがオン --カンバン1を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnIt’s a sign. As you can/rsee, it’s not important./r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その2-- function signboardc1_181() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(214)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(214,1); --214番のフラグがオン --カンバン6を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnEver heard of HDR?/r/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その3-- function signboardc1_182() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(211)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(211,1); --211番のフラグがオン --カンバン3を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnFor every hour you play,/rtake a 15 minute break!/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その4-- function signboardc1_183() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(212)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(212,1); --212番のフラグがオン --カンバン4を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnFollow your own path!/rThis sign supports you!/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その5-- function signboardc1_184() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(213)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(213,1); --213番のフラグがオン --カンバン5を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnD3sidlroweht./r/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その6-- function signboardc1_185() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(267)==0) --バキューラ岩を壊したか then Event:Print("/vnBacura Rock/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; else if(Event:GetEventFlag(210)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(210,1); --210番のフラグがオン --カンバン2を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnDon’t take any rocks/rtoo seriously./r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end end --看板その7-- function signboardc1_186() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(215)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(215,1); --215番のフラグがオン --カンバン7を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnLong live signs!/r/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その8-- function signboardc1_187() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(216)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(216,1); --216番のフラグがオン --カンバン8を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnThis is my land./r/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その9-- function signboardc1_188() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(217)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(217,1); --217番のフラグがオン --カンバン9を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnDon’t look on the back/rof this sign!/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その10-- function signboardc1_189() local Event=EventClass.Event; Event:Pause(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(218)==0) --このカンバンを初めて見た場合 then Event:SetEventFlag(218,1); --218番のフラグがオン --カンバン10を見たフラグ Event:SetEventFlag(145,Event:GetEventFlag(145)+1); --カンバンを一つ見たフラグ if(Event:GetEventFlag(145)>9) --このカンバンを初めて見た場合 then Event:SetEventFlag(145,10); --カンバンを10個全て見ている場合f145を10に固定する。 end end Event:Print("/vnYou found this sign?/rYou’re good!/r*Sir Signe/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:Play(); return; end --看板その11-- function signboardc1_190() local Event=EventClass.Event; Event:LockPlayer(); Event:PauseNpc(); coroutine.yield(); Event:BackupCamera(); setcamera() coroutine.yield(); if(Event:GetEventFlag(233)==1) --初めて自分の名が刻まれたカンバンを見たフラグ then Event:Print("/vnA true hero appears in/rDotnia by the name of/r"..Event:GetPlayerName().."!/b/co"); else Event:Print("/vnA true hero appears in/rDotnia by the name of/r"..Event:GetPlayerName().."!/b/cl"); Event:Print("/vn> Something is taped to/rthe back of the sign./b/cl"); Event:Print("/vnTake it?/co"); Event:WaitContinue(); coroutine.yield(); Event:Select(); coroutine.yield(); if(Event:GetSelect()==0) then Event:SetEventFlag(233,1); --233番のフラグがオン --カンバン11を見たフラグ Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:Wait(0.5); coroutine.yield(); getspecialitem3(41) --すごいカギを入手 Event:Print("/cl> Got the Super Key!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); endgetspecialitem3() Event:Wait(0.5); coroutine.yield(); Event:Print("This reusable key can/ropen red, blue, and/rgreen doors! Super!/b/co"); Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; else Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; end end Event:WaitContinue(); coroutine.yield(); Event:CloseMessage(); coroutine.yield(); Event:RestoreCamera(); Event:PlayNpc(); Event:UnlockPlayer(); return; end