Start preparing script texts for upcoming changes to the way script texts will be handled. Be sure to reapply world_script_texts.sql from the FULL directory. This update will remove the entire table script_texts and recreate it, if you have custom script texts, back them up (data only) before applying the update.
--HG-- branch : trunk
This commit is contained in:
+2021
-2017
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,7 @@
|
||||
-- Up to TC2 5408
|
||||
|
||||
-- This file contains all waypoints used by escortAI scripts
|
||||
/*
|
||||
DROP TABLE IF EXISTS script_waypoint;
|
||||
CREATE TABLE script_waypoint (
|
||||
entry mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template entry',
|
||||
@@ -12,6 +13,7 @@ CREATE TABLE script_waypoint (
|
||||
point_comment text,
|
||||
PRIMARY KEY (entry, pointid)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints';
|
||||
*/
|
||||
|
||||
DELETE FROM script_waypoint WHERE entry = 24156;
|
||||
INSERT INTO script_waypoint VALUES
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
DROP TABLE IF EXISTS `script_texts`;
|
||||
CREATE TABLE `script_texts` (
|
||||
`npc_entry` mediumint(8) NOT NULL default '0' COMMENT 'creature_template entry',
|
||||
`entry` mediumint(8) NOT NULL,
|
||||
`content_default` text NOT NULL,
|
||||
`content_loc1` text,
|
||||
`content_loc2` text,
|
||||
`content_loc3` text,
|
||||
`content_loc4` text,
|
||||
`content_loc5` text,
|
||||
`content_loc6` text,
|
||||
`content_loc7` text,
|
||||
`content_loc8` text,
|
||||
`sound` mediumint(8) unsigned NOT NULL default '0',
|
||||
`type` tinyint(3) unsigned NOT NULL default '0',
|
||||
`language` tinyint(3) unsigned NOT NULL default '0',
|
||||
`emote` smallint(5) unsigned NOT NULL default '0',
|
||||
`comment` text,
|
||||
PRIMARY KEY (`npc_entry`,`entry`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Texts';
|
||||
|
||||
@@ -31,6 +31,7 @@ EndContentData */
|
||||
## npc_narm_faulk
|
||||
######*/
|
||||
|
||||
// signed for 6172
|
||||
#define SAY_HEAL -1000280
|
||||
|
||||
struct TRINITY_DLL_DECL npc_narm_faulkAI : public ScriptedAI
|
||||
|
||||
@@ -139,6 +139,7 @@ bool GossipSelect_npc_prospector_anvilward(Player* pPlayer, Creature* pCreature,
|
||||
#define FACTION_HOSTILE 45
|
||||
#define FACTION_FRIENDLY 7
|
||||
|
||||
// missing from db
|
||||
#define TEXT_SECOND_TRIAL_1 -1645006
|
||||
#define TEXT_SECOND_TRIAL_2 -1645007
|
||||
#define TEXT_SECOND_TRIAL_3 -1645008
|
||||
|
||||
@@ -146,10 +146,10 @@ CreatureAI* GetAI_npc_00x09hl(Creature* pCreature)
|
||||
|
||||
enum
|
||||
{
|
||||
SAY_RIN_FREE = -1000403,
|
||||
SAY_RIN_FREE = -1000403, //from here
|
||||
SAY_RIN_BY_OUTRUNNER = -1000404,
|
||||
SAY_RIN_HELP_1 = -1000405,
|
||||
SAY_RIN_HELP_2 = -1000406,
|
||||
SAY_RIN_HELP_2 = -1000406, //to here, are used also by 6182 but this is wrong...
|
||||
SAY_RIN_COMPLETE = -1000407,
|
||||
SAY_RIN_PROGRESS_1 = -1000408,
|
||||
SAY_RIN_PROGRESS_2 = -1000409,
|
||||
|
||||
@@ -44,6 +44,7 @@ enum
|
||||
#define EVENT_BLOOD_STRIKE 3
|
||||
#define EVENT_DEATH_COIL 4
|
||||
|
||||
//used by 29519,29520,29565,29566,29567 but signed for 29519
|
||||
int32 say_event_start[8] =
|
||||
{
|
||||
-1609000,-1609001,-1609002,-1609003,
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "escort_ai.h"
|
||||
|
||||
//How to win friends and influence enemies
|
||||
// texts signed for creature 28939 but used for 28939,28940,28610
|
||||
enum win_friends
|
||||
{
|
||||
SAY_PERSUADE1 = -1609501,
|
||||
@@ -511,7 +512,7 @@ CreatureAI* GetAI_mob_high_inquisitor_valroth(Creature* pCreature)
|
||||
/*######
|
||||
## npc_a_special_surprise
|
||||
######*/
|
||||
|
||||
//used by 29032,29061,29065,29067,29068,29070,29074,29072,29073,29071 but signed for 29032
|
||||
enum SpecialSurprise
|
||||
{
|
||||
SAY_EXEC_START_1 = -1609025, // speech for all
|
||||
|
||||
+1
@@ -25,6 +25,7 @@ EndScriptData */
|
||||
#include "SpellMgr.h"
|
||||
#include "def_scarlet_monastery.h"
|
||||
|
||||
//this texts are already used by 3975 and 3976
|
||||
#define SAY_ENTRANCE -1189001
|
||||
#define SAY_REJOINED -1189002
|
||||
#define SAY_LOST_HEAD -1189003
|
||||
|
||||
Reference in New Issue
Block a user