mirror of
https://github.com/redstrate/Kawari.git
synced 2025-05-12 14:47:46 +00:00
"Implement" the Crystal Bell
Like the Unending Journey, just tell the player they aren't authorized to summon him.
This commit is contained in:
parent
ed44de8956
commit
7c96edc9a4
3 changed files with 13 additions and 4 deletions
|
@ -27,6 +27,7 @@ registerAction(6221, "items/Fantasia.lua")
|
|||
|
||||
-- Events
|
||||
registerEvent(721028, "tosort/UnendingJourney.lua")
|
||||
registerEvent(721044, "tosort/CrystalBell.lua")
|
||||
registerEvent(131079, "warp/WarpInnLimsaLominsa.lua")
|
||||
registerEvent(131080, "warp/WarpInnGridania.lua")
|
||||
registerEvent(131081, "warp/WarpInnUldah.lua")
|
||||
|
|
10
resources/scripts/tosort/CrystalBell.lua
Normal file
10
resources/scripts/tosort/CrystalBell.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
-- TODO: actually implement this menu
|
||||
|
||||
function onTalk(target, player)
|
||||
-- you are not authorized to summon the aesthetician
|
||||
player:play_scene(target, EVENT_ID, 00000, 8192, 0)
|
||||
end
|
||||
|
||||
function onReturn(scene, results, player)
|
||||
player:finish_event(EVENT_ID)
|
||||
end
|
|
@ -1,10 +1,8 @@
|
|||
use crate::{
|
||||
common::{CustomizeData, ObjectId, ObjectTypeId, timestamp_secs},
|
||||
config::get_config,
|
||||
ipc::zone::{
|
||||
ActorControl, ActorControlCategory, BattleNpcSubKind, ChatMessage, CommonSpawn,
|
||||
DisplayFlag, EventStart, NpcSpawn, ObjectKind, OnlineStatus, PlayerSpawn, PlayerSubKind,
|
||||
ServerZoneIpcData, ServerZoneIpcSegment,
|
||||
ActorControl, ActorControlCategory, BattleNpcSubKind, ChatMessage, CommonSpawn, EventStart,
|
||||
NpcSpawn, ObjectKind, OnlineStatus, ServerZoneIpcData, ServerZoneIpcSegment,
|
||||
},
|
||||
opcodes::ServerZoneIpcType,
|
||||
packet::{PacketSegment, SegmentData, SegmentType},
|
||||
|
|
Loading…
Add table
Reference in a new issue