diff --git a/src/servers/Scripts/common/CmnDefWeatherForeCast.cpp b/src/servers/Scripts/common/CmnDefWeatherForeCast.cpp new file mode 100644 index 00000000..7676b46c --- /dev/null +++ b/src/servers/Scripts/common/CmnDefWeatherForeCast.cpp @@ -0,0 +1,22 @@ +#include +#include + +class CmnDefWeatherForeCast : public EventScript +{ +public: + CmnDefWeatherForeCast() : EventScript( 721100 ) + {} + + void Scene00000( Entity::Player& player ) + { + player.playScene( getId(), 0, HIDE_HOTBAR, + [&]( Entity::Player& player, const Event::SceneResult& result ) + { + } ); + } + + void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override + { + Scene00000( player ); + } +}; \ No newline at end of file