Removed unnecessary references and cleaned up scripts.

This commit is contained in:
PrisonCamp
2015-01-18 02:05:57 -08:00
parent d8883a6ea6
commit 6a9522ef94
3103 changed files with 5836 additions and 19197 deletions
@@ -103,6 +103,7 @@ void initializeScript()
if ( setHomeLoc )
aiSetHomeLocation(self, loc);
float ai_yaw = getYaw(self);
setWantSawAttackTriggers(self, aiIsAssist(self) || aiIsGuard(self));
@@ -112,6 +113,11 @@ void initializeScript()
setObjVar(self, "ai.defaultCalmBehavior", ai_lib.BEHAVIOR_LOITER);
}
if(!hasObjVar(self, "ai.yaw"))
{
setObjVar(self, "ai.yaw", ai_yaw);
}
ai_lib.resetAi();
}
@@ -237,6 +243,8 @@ void doDefaultCalmBehavior(obj_id npc)
//ai_combat.unequipWeapon(npc);
}
messageTo(npc, "redoYaw", null, 30, false);
// NOTE: uncomment this if we start using suspendMovement() for all movement and not just patrols
// if(hasSuspendedMovement(npc))
// {
@@ -1280,6 +1288,8 @@ messageHandler stopFleeing()
}
}
messageTo(self, "redoYaw", null, 30, false);
if(getBehavior(self) <= BEHAVIOR_CALM)
{
messageTo(self, "resumeDefaultCalmBehavior", null, 5, false);
@@ -3156,6 +3166,17 @@ messageHandler milkingCreatureStunRemoval()
return SCRIPT_CONTINUE;
}
messageHandler redoYaw()
{
obj_id target = params.getObjId("target");
if(hasObjVar(target, "ai.yaw"))
{
float yaw_ai = getFloatObjVar(target, "ai.yaw");
setYaw(target, yaw_ai);
}
return SCRIPT_CONTINUE;
}
boolean blog(string msg)
{
@@ -541,6 +541,7 @@ boolean fleeFromHouse( obj_id npc, obj_id target )
//ai_combat.fleeFromCombat( npc, target );
pathTo( npc, aiGetHomeLocation( npc ));
messageTo(npc, "redoYaw", null, 30, false);
setAttrib( npc, HEALTH, getUnmodifiedMaxAttrib( npc, HEALTH ) );
setAttrib( npc, ACTION, getUnmodifiedMaxAttrib( npc, ACTION ) );
@@ -473,6 +473,7 @@ void aiFlee(obj_id target, float distance)
dict.put("ai.combat.flee.distance", distance);
flee(self, target, distance, distance);
messageTo(self, "redoYaw", null, 30, false);
}
boolean aiIsFleeing(obj_id ai)
@@ -496,9 +497,8 @@ boolean aiIsFleeing(obj_id target, float distance)
return false;
}
//Additional Move Modes
boolean isAiImmobile(obj_id subject)
{
return hasObjVar(subject, "isImmobile") ? getBooleanObjVar(subject, "isImmobile") : false;
}
}
@@ -1,11 +1,5 @@
/**
* Copyright (c) ©2007 Sony Online Entertainment Inc.
* All Rights Reserved
*
/*
* Title: ai.beast_control_device
* Description:
* @author teidson
* @version $Revision: 0$
*/
include library.callable;
@@ -1,7 +1,7 @@
//------------------------------------------------
// harass
//
// 02/07/2005 - Changed to be conducted by neutral NPCs who serve the current ruling faction.
// Changed to be conducted by neutral NPCs who serve the current ruling faction.
//------------------------------------------------
//------------------------------------------------
@@ -14,6 +14,7 @@ include library.gcw;
include library.ai_lib;
include ai.ai_combat;
include library.attrib;
include library.badge;
include library.factions;
include library.faction_perk;
include library.anims;
@@ -656,7 +657,7 @@ messageHandler handleScanComplete()
if(!isIdValid(self))
return SCRIPT_CONTINUE;
if ( isJediState( target, JEDI_STATE_FORCE_RANKED_LIGHT ) )
if ( badge.hasBadge (target, "bdg_jedi_elder") || badge.hasBadge (target, "new_prof_jedi_master") || getState(target, STATE_GLOWING_JEDI) != 0 )
{
chat.publicChat(target, self, new string_id(STF, "jedi_mind_trick"));
doAnimationAction(target, anims.PLAYER_FORCE_PERSUASION);
@@ -666,7 +667,7 @@ messageHandler handleScanComplete()
messageTo(self, "handleJediMindTrick", jedi, 5f, false);
return SCRIPT_CONTINUE;
}
else if ( isJediState( target, JEDI_STATE_FORCE_RANKED_DARK ) )
/*else if ( isJediState( target, JEDI_STATE_FORCE_RANKED_DARK ) )
{
chat.publicChat(target, self, new string_id(STF, "jedi_mind_trick_dark"));
doAnimationAction(target, anims.PLAYER_FORCE_PERSUASION);
@@ -676,6 +677,7 @@ messageHandler handleScanComplete()
messageTo(self, "handleJediMindTrickDark", jedi, 5f, false);
return SCRIPT_CONTINUE;
}
*/
else
{
chat.publicChat(target, self, new string_id(STF, "jedi_mind_trick_novice"));
@@ -783,12 +785,12 @@ messageHandler handleScanComplete()
boolean isEnemyJedi( obj_id self, obj_id target )
{
if ( !isJedi( target ) )
if ( !utils.isProfession(target, utils.FORCE_SENSITIVE) )
return false;
if ( "imperial" == getFactionName( self ) ) // Empire hates all Jedi.
return true;
else if ( isJediState( target, JEDI_STATE_FORCE_RANKED_DARK ) ) // Rebels hate dark Jedi.
else if ( utils.isProfession(target, utils.FORCE_SENSITIVE) && isInEnemyFaction(self, target) ) // Rebels hate dark Jedi.
return true;
return false;
@@ -1,10 +1,6 @@
/**
* Title: attrib_mod
* Description: Wrapper for an attribute modification.
* Copyright: Copyright (c) 2001
* Company: Sony Online Entertainment
* @author Steve Jakab
* @version 1.0
Title: attrib_mod
Description: Wrapper for an attribute modification.
*/
package script;
@@ -1,10 +1,6 @@
/**
* Title: attribute
* Description: Wrapper for an attribute.
* Copyright: Copyright (c) 2001
* Company: Sony Online Entertainment
* @author Steve Jakab
* @version 1.0
/*
Title: attribute
Description: Wrapper for an attribute.
*/
package script;
@@ -18,7 +14,7 @@ public final class attribute implements Comparable, Serializable
private int m_type;
private int m_value;
/**
/*
* Class constructor.
*
* @param type attribute type
@@ -30,7 +26,7 @@ public final class attribute implements Comparable, Serializable
m_value = value;
} // attribute
/**
/*
* Copy constructor.
*
* @param src class instance to copy
@@ -41,7 +37,7 @@ public final class attribute implements Comparable, Serializable
m_value = src.m_value;
} // attribute(attribute)
/**
/*
* Accessor function.
*
* @return the attribute type
@@ -51,7 +47,7 @@ public final class attribute implements Comparable, Serializable
return m_type;
} // gettype
/**
/*
* Accessor function.
*
* @return the attribute value
@@ -61,7 +57,7 @@ public final class attribute implements Comparable, Serializable
return m_value;
} // getValue
/**
/*
* Conversion function.
*
* @return the attribute as a string.
@@ -73,7 +69,7 @@ public final class attribute implements Comparable, Serializable
")";
} // toString
/**
/*
* Compares this to a generic object.
*
* @returns <, =, or > 0 if the object is an attribute, else throws
@@ -84,7 +80,7 @@ public final class attribute implements Comparable, Serializable
return compareTo((attribute)o);
} // compareTo(Object)
/**
/*
* Compares this to another attribute.
*
* @returns <, =, or > 0
@@ -96,7 +92,7 @@ public final class attribute implements Comparable, Serializable
return m_type - id.m_type;
} // compareTo(attribute)
/**
/*
* Compares this to a generic object.
*
* @returns true if the objects have the same data, false if not
@@ -1,8 +1,5 @@
// =====================================================================
//
// remote_object.script
// copyright, Sony Online Entertainment
//
// =====================================================================
//-- cluster wide data object manager
@@ -1,8 +1,5 @@
// =====================================================================
//
// remote_object_creator.script
// copyright, Sony Online Entertainment
//
// =====================================================================
include library.create;
@@ -1,8 +1,5 @@
// =====================================================================
//
// remote_object_requester.script
// copyright, Sony Online Entertainment
//
// =====================================================================
include library.utils;
@@ -1,10 +1,6 @@
/**
* Title: base_class
* Description: Base class for all scripts.
* Copyright: Copyright (c) 2001
* Company: Sony Online Entertainment
* @author Steve Jakab
* @version 1.0
* File Name: base_class
* Desc: Base class for all scripts.
*/
package script;
@@ -3557,7 +3553,6 @@ public class base_class
\endcode
@return The current server frame
@author Justin Randall
*/
public static native int getServerFrame();
/** @brief get the current (local) server time in seconds
@@ -4397,7 +4392,6 @@ public class base_class
@return an integer describing the number of experience points of the
requested type that the creature has
@author Justin Randall <jrandall@soe.sony.com>
*/
private static native int _getExperiencePoints(long target, String experienceType);
public static int getExperiencePoints(obj_id target, String experienceType)
@@ -4424,7 +4418,6 @@ public class base_class
@param skillName The skill to query for the command list
@return An array of strings describing the list of commands provided.
@author Justin Randall <jrandall@soe.sony.com>
*/
public static native String[] getSkillCommandsProvided(String skillName);
@@ -4449,7 +4442,6 @@ public class base_class
@return A dictionary of String/Integers describing the experience prerequisites for the
requested skill.
@author Justin Randall <jrandall@soe.sony.com>
*/
public static native dictionary getSkillPrerequisiteExperience(String skillName);
@@ -4460,7 +4452,6 @@ public class base_class
@return An array of strings enumerating the skill prerequisites that must be met before
the requested skill may be granted to a creature.
@author Justin Randall <jrandall@soe.sony.com>
*/
public static native String[] getSkillPrerequisiteSkills(String skillName);
@@ -4470,7 +4461,6 @@ public class base_class
@param skillName The name of the skill to query for creature prerequisites
@return A dictionary of Strings/Booleans. Todo: there is also a NOT/AND requirement to implement!
@author Justin Randall <jrandall@soe.sony.com>
*/
public static native dictionary getSkillPrerequisiteSpecies(String skillName);
@@ -4479,7 +4469,6 @@ public class base_class
@param skillName The name of the skill to query for the profession
@return A string naming the profession that the requested skill belongs to
@author Justin Randall <jrandall@soe.sony.com>
*/
public static native String getSkillProfession(String skillName);
@@ -4490,7 +4479,6 @@ public class base_class
@return A dictionary of Strings/Integers describing the stats and how they will be
modified when the skill is applied to a creature.
@author Justin Randall <jrandall@soe.sony.com>
*/
public static native dictionary getSkillStatisticModifiers(String skillName);
@@ -4583,7 +4571,6 @@ public class base_class
@return A String describing the title that is bestowed upon the creature having
this skill.
@todo this should be a string id
@author Justin Randall <jrandall@soe.sony.com>
*/
public static native String getSkillTitleGranted(String skillName);
@@ -4605,7 +4592,6 @@ public class base_class
@param commandName The command that the creature will have after the command executes
@return True when the command is succesfully granted to the creature.
@author Justin Randall <jrandall@soe.sony.com>
*/
private static native boolean _grantCommand(long target, String commandName);
public static boolean grantCommand(obj_id target, String commandName)
@@ -4698,7 +4684,6 @@ public class base_class
@param skillName Name of the skill that is granted to the creature
@return True if the skill has been successfuly granted to the creature.
@author Justin Randall <jrandall@soe.sony.com>
*/
private static native boolean _grantSkill(long target, String skillName);
public static boolean grantSkill(obj_id target, String skillName)
@@ -4727,7 +4712,6 @@ public class base_class
@param commandName Command to query for on the creature
@return True if the creature has the command
@author Justin Randall <jrandall@soe.sony.com>
*/
private static native boolean _hasCommand(long target, String commandName);
public static boolean hasCommand(obj_id target, String commandName)
@@ -4754,7 +4738,6 @@ public class base_class
@param skillName Name of the skill to query for
@return True if the player has the skill.
@author Justin Randall <jrandall@soe.sony.com>
*/
private static native boolean _hasSkill(long target, String skillName);
public static boolean hasSkill(obj_id target, String skillName)
@@ -4776,7 +4759,6 @@ public class base_class
@param target Creature from whom the command is being revoked
@param commandName Name of the command to revoke from the creature
@author Justin Randall <jrandall@soe.sony.com>
*/
private static native void _revokeCommand(long target, String commandName);
public static void revokeCommand(obj_id target, String commandName)
@@ -4791,7 +4773,6 @@ public class base_class
@param target Creature losing the skill
@param skillName Name of the skill to revoke
@author Justin Randall <jrandall@soe.sony.com>
*/
private static native void _revokeSkill(long target, String skillName);
public static void revokeSkill(obj_id target, String skillName)
@@ -4806,7 +4787,6 @@ public class base_class
@param target Creature losing the skill
@param skillName Name of the skill to revoke
@author Robert Sitton <rsitton@soe.sony.com>
*/
private static native void _revokeSkillSilent(long target, String skillName);
public static void revokeSkillSilent(obj_id target, String skillName)
@@ -4999,7 +4979,6 @@ public class base_class
@see createToken(obj_id target)
@author Justin Randall
*/
// public static native obj_id createToken(String templateName, location loc);
@@ -5022,7 +5001,6 @@ public class base_class
@return a Mocha location object containing location data about the token.
@author Justin Randall
*/
// public static native location getTokenTargetLocation (obj_id tokenId);
@@ -5054,7 +5032,6 @@ public class base_class
@return A string containing the template name of the object that is
referred to by the token.
@author Justin Randall
*/
private static native String _getTemplateName(long id);
public static String getTemplateName(obj_id id)
@@ -5137,7 +5114,6 @@ public class base_class
@see setWaypointLocation
@see setWaypointRegion
@author Justin Randall
*/
private static native long _createWaypointInDatapad(long target, location loc);
public static obj_id createWaypointInDatapad(obj_id target, location loc)
@@ -5171,7 +5147,6 @@ public class base_class
@see setWaypointLocation
@see setWaypointRegion
@author Justin Randall
*/
private static native long _createWaypointInDatapad(long target, long source);
public static obj_id createWaypointInDatapad(obj_id target, obj_id source)
@@ -5212,7 +5187,6 @@ public class base_class
@return a boolean indicating the active status of the waypoint.
If the waypoint is active, it returns true, otherwise false.
@author Justin Randall
*/
private static native boolean _getWaypointActive(long waypoint);
public static boolean getWaypointActive(obj_id waypoint)
@@ -5310,7 +5284,6 @@ public class base_class
@see getWaypointLocation
@see setWaypointRegion
@author Justin Randall
*/
public static void setWaypointLocation(obj_id waypoint, location loc)
{
@@ -5400,7 +5373,6 @@ public class base_class
@todo implement this
@see endMission
@author Justin Randall
*/
private static native void _abortMission(long missionObject);
public static void abortMission (obj_id missionObject)
@@ -5423,12 +5395,11 @@ public class base_class
\code
void createAndAssignMissionToPlayer(obj_id player)
{
obj_id missionData = createMissionData(0.5f, 10000, self, "Test Mission", "justin.test_mission");
obj_id missionData = createMissionData(0.5f, 10000, self, "Test Mission", "test.test_mission");
assignMission(missionData, player);
}
\endcode
@author Justin Randall
*/
public static void assignMission (obj_id missionData, obj_id playerCharacter)
{
@@ -5447,7 +5418,6 @@ public class base_class
@see assignMission
@author Justin Randall
*/
private static native long _createMissionObjectInCreatureMissionBag(long creature);
public static obj_id createMissionObjectInCreatureMissionBag(obj_id creature)
@@ -5507,7 +5477,6 @@ public class base_class
@todo missionType might need to be a StringId
@author Justin Randall
*/
// public static native obj_id createMissionData (float efficiencyRequirement, int expireTimeDelay, obj_id missionCreator, String missionType, String rootScriptName);
@@ -5527,7 +5496,6 @@ public class base_class
@todo write example code for endMission
@todo implement endMission JNI call in C++
@author Justin Randall
*/
public static void endMission (obj_id missionObject)
{
@@ -5558,7 +5526,6 @@ public class base_class
@see createMissionObject
@see createMissionData
@author Justin Randall
*/
public static void startMission (obj_id missionObject)
{
@@ -5583,7 +5550,6 @@ public class base_class
/** @brief enumerate the mission objects held by a player character
@return an array of obj_id's that describe the MissionObjects a player current has.
@author Justin Randall
*/
private static native long[] _getMissionObjects(long playerCharacter);
public static obj_id[] getMissionObjects (obj_id playerCharacter)
@@ -5624,7 +5590,6 @@ public class base_class
@see createMissionData
@see setMissionCreator
@author Justin Randall
*/
private static native String _getMissionCreator(long missionData);
public static String getMissionCreator (obj_id missionData)
@@ -5653,7 +5618,6 @@ public class base_class
@see setMissionDifficulty
@see createMissionData
@author Justin Randall
*/
private static native int _getMissionDifficulty(long missionData);
public static int getMissionDifficulty (obj_id missionData)
@@ -5675,7 +5639,6 @@ public class base_class
@see setMissionEndLocation
@see createMissionData
@author Justin Randall
*/
private static native location _getMissionEndLocation(long missionData);
public static location getMissionEndLocation (obj_id missionData)
@@ -5695,7 +5658,6 @@ public class base_class
@see setMissionReward
@see createMissionData
@author Justin Randall
*/
private static native int _getMissionReward(long missionData);
public static int getMissionReward (obj_id missionData)
@@ -5718,7 +5680,6 @@ public class base_class
@see setMissionRootScriptName
@see createMissionData
@author Justin Randall
*/
private static native String _getMissionRootScriptName(long missionData);
public static String getMissionRootScriptName (obj_id missionData)
@@ -5752,7 +5713,6 @@ public class base_class
@see location
@see createMissionData
@author Justin Randall
*/
private static native location _getMissionStartLocation(long missionData);
public static location getMissionStartLocation (obj_id missionData)
@@ -5795,7 +5755,6 @@ public class base_class
@see setMissionRootScriptName
@see createMissionData
@author Justin Randall
*/
private static native String _getMissionType(long missionData);
public static String getMissionType (obj_id missionData)
@@ -5814,7 +5773,6 @@ public class base_class
@see getMissionCreator
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionCreator(long missionData, String creator);
public static void setMissionCreator (obj_id missionData, String creator)
@@ -5844,7 +5802,6 @@ public class base_class
@see getMissionDifficulty
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionDifficulty(long missionData, int difficulty);
public static void setMissionDifficulty (obj_id missionData, int difficulty)
@@ -5860,7 +5817,6 @@ public class base_class
@see getMissionEndLocation
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionEndLocation(long missionData, location endLocation);
public static void setMissionEndLocation (obj_id missionData, location endLocation)
@@ -5879,7 +5835,6 @@ public class base_class
@see setMissionBondAmount
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionReward(long missionData, int reward);
public static void setMissionReward (obj_id missionData, int reward)
@@ -5897,7 +5852,6 @@ public class base_class
@see getMissionRootScriptName
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionRootScriptName(long missionData, String rootScriptName);
public static void setMissionRootScriptName (obj_id missionData, String rootScriptName)
@@ -5919,7 +5873,6 @@ public class base_class
@see setMissionStartObject
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionStartLocation(long missionData, location start);
public static void setMissionStartLocation (obj_id missionData, location start)
@@ -5939,7 +5892,6 @@ public class base_class
@see setMissionStartObject
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionTargetAppearance(long missionData, String target);
public static void setMissionTargetAppearance (obj_id missionData, String target)
@@ -5970,7 +5922,6 @@ public class base_class
@see getMissionType
@see createMissionData
@author Justin Randall
*/
private static native void _setMissionType(long missionData, String typeName);
public static void setMissionType (obj_id missionData, String typeName)
@@ -6032,7 +5983,6 @@ public class base_class
@see removeLocationTarget
@author Justin Randall
*/
public static void addLocationTarget(String name, location loc, float radius)
{
@@ -6065,7 +6015,6 @@ public class base_class
@see addLocationTarget
@author Justin Randall
*/
public static void removeLocationTarget(String name)
{
@@ -644,7 +644,7 @@ trigger OnCityChanged(int oldCityId, int newCityId)
/**
* Determines which drafting schematics the player has can be used in the station.
* Must call sendUseableDraftSchematics() with a valid list of schematics.
* Must call sendUseableDraftSchematics() with a valid list of schematics.
*
* @param self crafting station
* @param player player wanting to craft
@@ -1,20 +1,3 @@
/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: <title>
* Description: <description>
* @author $Author:$
* @version $Revision:$
**********************************************************************/
/***** INCLUDES ********************************************************/
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnSpeaking(string text)
{
@@ -33,10 +16,3 @@ trigger OnSpeaking(string text)
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *******************************************************/
@@ -1,11 +1,6 @@
/**
* Copyright (c) ©2000,2001 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: debugger.script
* Description: debugger script
* @author $Author: rpalacio $
* @version $Revision: #1 $
*/
/***** INCLUDES ********************************************************/
@@ -35,15 +30,10 @@ include library.badge;
include library.xp;
include library.camping;
/***** INHERITS ********************************************************/
/***** CONSTANTS *******************************************************/
const string DEBUG_EMOTE_TARGET = "debug.emote_target";
/***** TEST HANDLERS *******************************************************/
/***** TRIGGERS *******************************************************/
trigger OnSpeaking(string text)
{
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_food.script
* Description: BETA SCRIPT: food dispenser
* @author $Author:$
* @version $Revision:$
*/
/***** INCLUDES ********************************************************/
@@ -13,9 +8,6 @@
include library.sui;
include library.utils;
/***** INHERITS ********************************************************/
/***** CONSTANTS *******************************************************/
const string DATATABLE_ITEMS_TO_TEST = "datatables/beta/items_to_test.iff";
@@ -65,9 +57,6 @@ trigger OnObjectMenuSelect(obj_id player, int item)
return SCRIPT_CONTINUE;
}
/***** FUNCTIONS *******************************************************/
/***** MESSAGEHANDLERS *************************************************/
messageHandler handleCategoryResponse()
{
@@ -1,20 +1,12 @@
/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: e3_housing
* Description: Player script that enables the creation of deeds and placement of houses.
* @author $Author:$
* @version $Revision:$
**********************************************************************/
/***** INCLUDES ********************************************************/
include library.player_structure;
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnSpeaking(string text)
{
@@ -78,10 +70,3 @@ trigger OnSpeaking(string text)
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *******************************************************/
@@ -1,11 +1,6 @@
/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: buff_medicine
* Description: creates a buff medicine. For testing only.
* @author $Author:$
* @version $Revision:$
**********************************************************************/
@@ -15,9 +10,6 @@ include library.healing;
include library.consumable;
include library.player_stomach;
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnAttach()
{
@@ -66,11 +58,3 @@ trigger OnAttach()
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *******************************************************/
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: medicine_damage.script
* Description: Testing script that makes a random damage medicine
* @author
* @version $Revision:$
*/
@@ -16,9 +11,6 @@ include library.healing;
include library.consumable;
include library.player_stomach;
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnAttach()
@@ -55,12 +47,6 @@ trigger OnAttach()
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *************************************************/
attrib_mod[] createHealDamageMedicineMod(int power)
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: medicine_maker.script
* Description: Testing script that adds wound medicine attributes to an object
* @author
* @version $Revision:$
*/
@@ -14,9 +9,6 @@
include library.utils;
include library.consumable;
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnAttach()
@@ -52,10 +44,3 @@ trigger OnAttach()
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *************************************************/
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: medicine_maker.script
* Description: Testing script that adds wound medicine attributes to an object
* @author
* @version $Revision:$
*/
@@ -16,9 +11,6 @@ include library.healing;
include library.consumable;
include library.player_stomach;
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnAttach()
@@ -71,10 +63,3 @@ trigger OnAttach()
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *************************************************/
@@ -1,8 +1,5 @@
//------------------------------------------------
// pet_test.script
// Brandon Reinhart
//
// Usage:
//------------------------------------------------
//------------------------------------------------
@@ -152,4 +149,4 @@ messageHandler destroyPet()
sendSystemMessage( self, "Pet demonstration complete.", null );
return SCRIPT_CONTINUE;
}
}
@@ -1,20 +1,12 @@
/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: player_warp
* Description: Enables the warping to a specified location.
* @author $Author:$
* @version $Revision:$
**********************************************************************/
/***** INCLUDES ********************************************************/
include library.utils;
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnSpeaking(string text)
{
@@ -112,10 +104,3 @@ trigger OnSpeaking(string text)
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *******************************************************/
@@ -1,17 +1,8 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_food.script
* Description: BETA SCRIPT: food dispenser
* @author $Author:$
* @version $Revision:$
*/
/***** INCLUDES ********************************************************/
/***** INHERITS ********************************************************/
inherits terminal.base.terminal_add_use;
@@ -59,7 +50,3 @@ trigger OnObjectMenuSelect(obj_id player, int item)
}
/***** FUNCTIONS *******************************************************/
/***** MESSAGEHANDLERS *************************************************/
@@ -1,21 +1,8 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_food.script
* Description: BETA SCRIPT: food dispenser
* @author $Author:$
* @version $Revision:$
*/
/***** INCLUDES ********************************************************/
/***** INHERITS ********************************************************/
//inherits terminal.base.base_terminal;
/***** CONSTANTS *******************************************************/
const string_id SID_ORDER_DAMAGE_MEDICINE = new string_id ("sui", "order_damage_medicine");
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_food.script
* Description: BETA SCRIPT: food dispenser
* @author $Author:$
* @version $Revision:$
*/
/***** INCLUDES ********************************************************/
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_resource.script
* Description: BETA SCRIPT: resource dispenser
* @author $Author:$
* @version $Revision:$
*/
/***** INCLUDES ********************************************************/
@@ -1,20 +1,8 @@
/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_warp
* Description: Grants the warp script to whomever accesses the terminal.
* @author $Author:$
* @version $Revision:$
**********************************************************************/
/***** INCLUDES ********************************************************/
/***** CONSTANTS *******************************************************/
/***** TRIGGERS ********************************************************/
trigger OnObjectMenuRequest(obj_id player, menu_info mi)
{
@@ -36,10 +24,3 @@ trigger OnObjectMenuRequest(obj_id player, menu_info mi)
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *******************************************************/
@@ -1,17 +1,8 @@
/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_wound.script
* Description: script for the beta wound terminal. Ow!
* @author $Author:$
* @version $Revision:$
**********************************************************************/
/***** INCLUDES ********************************************************/
/***** CONSTANTS *******************************************************/
const string_id SID_INFLICT_DAMAGE = new string_id("wound_terminal", "inflict_damage");
const string_id SID_INFLICT_WOUND = new string_id("wound_terminal", "inflict_wound");
@@ -56,11 +47,3 @@ trigger OnObjectMenuSelect(obj_id player, int item)
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS **************************************************/
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: terminal_food.script
* Description: BETA SCRIPT: food dispenser
* @author $Author:$
* @version $Revision:$
*/
/***** INCLUDES ********************************************************/
@@ -1,11 +1,6 @@
/**
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: uber_survey_tool.script
* Description: script for GM survey tool testing
* @author $Author:$
* @version $Revision:$
*/
/***** INCLUDES ********************************************************/
@@ -21,6 +16,7 @@ const string_id SID_TOOL_OPTIONS = new string_id("sui", "tool_options");
const string_id SID_TOOL_CLASS = new string_id("sui", "survey_class");
/***** TRIGGERS ********************************************************/
trigger OnInitialize()
{
setName(self,"Uber Survey Tool");
@@ -61,8 +57,6 @@ trigger OnRequestCoreSample(obj_id player, string resource_type)
removeObjVar(player, resource.VAR_SAMPLE_STAMP);
return SCRIPT_CONTINUE;
}
/***** FUNCTIONS ********************************************************/
/***** MESSAGEHANDLERS **************************************************/
messageHandler handleSetToolClass()
@@ -90,4 +84,4 @@ messageHandler handleSetToolClass()
}
return SCRIPT_CONTINUE;
}
}
@@ -1,5 +1,4 @@
// Weather Control script
// by Cinco Barnes 11-30-2002
trigger OnAttach()
{
@@ -45,4 +44,4 @@ trigger OnDetach()
debugSpeakMsg(self, "Detaching weather script. Resetting weather.");
setWeatherData (0, 0.0f, 0.0f);
return SCRIPT_CONTINUE;
}
}
@@ -4,9 +4,6 @@
include library.utils;
/***** INHERITS ********************************************************/
/***** CONSTANTS *******************************************************/
const string_id SEARCH_ITEM = new string_id ("bestine", "search_item");
@@ -1,6 +1,5 @@
// Handles spawning guards throughout player cities.
// Draws spawn info from the "guardTable" below.
// Dan's code?
include library.ai_lib;
include library.create;
@@ -1,8 +1,6 @@
/* Copyright (C) 2004 Sony Online Entertainment
* Title: collections.java
* Description: adds functionality similar to the java.util.Collections class
* @author $Author: Steve Jakab$
* @version $Revision: 0$
/*
Title: collections.java
Description: adds functionality similar to the java.util.Collections class
*/
package script;
@@ -1,10 +1,5 @@
// ======================================================================
//
// color.java
// Copyright 2002 Sony Online Entertainment Inc.
// All Rights Reserved.
//
// ======================================================================
package script;
@@ -1,12 +1,8 @@
/**************************************************************************
*
* Java-side combat processing.
*
* copyright 2001 Sony Online Entertainment
*
* @todo: where do error messages from this class go? Right now we're just
* printing to stderr, but do we want to hook in with our logging code?
*
*************************************************************************/
package script;
@@ -1077,7 +1073,7 @@ public class combat_engine
} // getDamage()
private static String getWeaponStringType(int intWeaponType)
{// written by Dan R. Do not blame steve :)
{
switch(intWeaponType)
{
case base_class.WEAPON_TYPE_RIFLE : return "rifle";
@@ -1093,7 +1089,7 @@ public class combat_engine
return "";
}
private static boolean isLocomotionMoving(int intLocomotion)
{ // written by Dan R.
{
switch(intLocomotion)
{
case base_class.LOCOMOTION_SNEAKING : return true;
@@ -1108,7 +1104,7 @@ public class combat_engine
return false;
}
private static int getPostureModForWeapon(obj_id objPlayer, int intPosture, int intWeaponType)
{// dans function again, don't blame steve.
{
switch (intPosture)
{
case base_class.POSTURE_CROUCHED: return base_class.getSkillStatisticModifier(objPlayer, getWeaponStringType(intWeaponType)+"_kneeling");
@@ -25,7 +25,7 @@ const float AUTOSAVE_DELAY = 300; // seconds
trigger OnAttach()
{
sendSystemMessageTestingOnly(self, "Welcome to the content maker script. Please consult Prisoncamp before dorking around with this script. NOTE - to test pilot you need to attach the space content_generation script, not this one");
sendSystemMessageTestingOnly(self, "Welcome to the content maker script. Please consult Development before dorking around with this script. NOTE - to test pilot you need to attach the space content_generation script, not this one");
return SCRIPT_CONTINUE;}
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_buff_vendor_convo.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_chief_engineer.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_junk_dealer.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_mellichae.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_nightsister_prisoner.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_quharek.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_rohak.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// aurilia_sarguillo.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// azure_cabal_camdoen.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// azure_cabal_haadj.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// azure_cabal_hoolar.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// barada.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// barn_ranchhand.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// battlefield_entry_station_imperial.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// battlefield_entry_station_neutral.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// battlefield_entry_station_rebel.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_artist01.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_artist02.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_artist03.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_artist04.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_artist05.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_artist06.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_capitol01.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_capitol02.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_capitol03.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_capitol04.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor01.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor02.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor03.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor04.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor05.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor06.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor07.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor08.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor09.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor10.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor11.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_rumor12.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bestine_stone_merchant.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bib_fortuna.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// bib_fortuna_mos_eisley.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_assistant.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_construction.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_crazyguy.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_engineertech.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_herald_02.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_herald_03.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_herald_dealer.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_scientist_generic_01.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_scientist_generic_02.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_scientist_generic_03.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_scientist_geonosian.script
// Copyright 2003, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// DO NOT EDIT THIS AUTO-GENERATED FILE. PLEASE USE THE CONVERATION EDITOR!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_scientist_human.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// biogenic_securitytech.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// blacksun_guri.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// boba_fett.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// borvo_acklay_guard.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// borvo_the_hutt.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// borvos_acklay_dakk.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.35 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// borvos_guard.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.36 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -690,6 +690,7 @@ trigger OnObjectMenuRequest (obj_id player, menu_info menuInfo)
menu_info_data menuInfoData = menuInfo.getMenuItemById (menu);
menuInfoData.setServerNotify (false);
setCondition (self, CONDITION_CONVERSABLE);
faceTo(self, player);
}
return SCRIPT_CONTINUE;
@@ -1,8 +1,8 @@
// ======================================================================
//
// boss_terminal_mining_cave.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// boss_terminal_mining_cave_controller.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//
@@ -1,8 +1,8 @@
// ======================================================================
//
// boss_terminal_mining_cave_foreman.script
// Copyright 2004, Sony Online Entertainment
// All Rights Reserved.
//
//
//
// Created with SwgConversationEditor 1.37 - DO NOT EDIT THIS AUTO-GENERATED FILE!
//

Some files were not shown because too many files have changed in this diff Show More