Package zombie.scripting.objects
Class ScriptModule
java.lang.Object
zombie.scripting.objects.BaseScriptObject
zombie.scripting.objects.ScriptModule
- All Implemented Interfaces:
IScriptObjectStore
public class ScriptModule extends BaseScriptObject implements IScriptObjectStore
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScriptModule.Exit
-
Field Summary
Fields Modifier and Type Field Description java.util.HashMap
ActivatableMap
java.util.HashMap
CharacterMap
java.util.HashMap
ConditionMap
java.util.Stack
ContainerDistributions
boolean
disabled
java.util.HashMap
DoorMap
java.util.ArrayList
EvolvedRecipeMap
java.util.Stack
ExitPoints
java.util.HashMap
FixingMap
java.util.HashMap
FlagMap
java.util.Stack
FloorDistributions
java.util.ArrayList
GameSoundList
java.util.HashMap
GameSoundMap
java.util.Stack
Imports
java.util.HashMap
InventoryMap
java.util.HashMap
ItemMap
java.util.HashMap
LanguageMap
java.lang.String
name
java.util.HashMap
RandomSelectorMap
java.util.ArrayList
RecipeMap
java.util.HashMap
RecipesWithDotInName
java.util.Stack
RoomList
java.util.HashMap
RoomMap
java.util.HashMap
ScriptContainerMap
java.util.HashMap
ScriptMap
java.util.Stack
ShelfDistributions
java.util.HashMap
TalkerMap
java.util.ArrayList
UniqueRecipeMap
java.util.Stack
ValidMaps
java.lang.String
value
java.util.HashMap
VehicleMap
java.util.HashMap
VehicleTemplateMap
java.util.HashMap
WaypointMap
java.util.Stack
ZoneList
java.util.HashMap
ZoneMap
Fields inherited from class zombie.scripting.objects.BaseScriptObject
module
-
Constructor Summary
Constructors Constructor Description ScriptModule()
-
Method Summary
Modifier and Type Method Description boolean
CheckExitPoints()
ScriptActivatable
getActivatable(java.lang.String string)
ScriptCharacter
getCharacter(java.lang.String string)
IsoGameCharacter
getCharacterActual(java.lang.String string)
ScriptFlag
getFlag(java.lang.String string)
int
getFlagIntValue(java.lang.String string)
java.lang.String
getFlagValue(java.lang.String string)
Inventory
getInventory(java.lang.String string)
Item
getItem(java.lang.String string)
java.lang.String
getLanguage(java.lang.String string)
LanguageDefinition
getLanguageDef(java.lang.String string)
java.lang.String
getName()
QuestTaskCondition
getQuestCondition(java.lang.String string)
Recipe
getRecipe(java.lang.String string)
Room
getRoom(java.lang.String string)
Script
getScript(java.lang.String string)
ScriptContainer
getScriptContainer(java.lang.String string)
ScriptTalker
getTalker(java.lang.String string)
VehicleScript
getVehicle(java.lang.String string)
VehicleTemplate
getVehicleTemplate(java.lang.String string)
Waypoint
getWaypoint(java.lang.String string)
Zone
getZone(java.lang.String string)
void
Load(java.lang.String string, java.lang.String string2)
void
ParseScript(java.lang.String string)
void
ParseScriptPP(java.lang.String string)
void
PlayScript(java.lang.String string)
Script.ScriptInstance
PlayScript(java.lang.String string, Script.ScriptInstance scriptInstance)
Script.ScriptInstance
PlayScript(Script.ScriptInstance scriptInstance)
boolean
ValidMapCheck(java.lang.String string)
Methods inherited from class zombie.scripting.objects.BaseScriptObject
getModule, Load
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ValidMaps
public java.util.Stack ValidMaps -
ExitPoints
public java.util.Stack ExitPoints -
name
public java.lang.String name -
value
public java.lang.String value -
WaypointMap
public java.util.HashMap WaypointMap -
RoomMap
public java.util.HashMap RoomMap -
RoomList
public java.util.Stack RoomList -
DoorMap
public java.util.HashMap DoorMap -
ItemMap
public java.util.HashMap ItemMap -
GameSoundMap
public final java.util.HashMap GameSoundMap -
GameSoundList
public final java.util.ArrayList GameSoundList -
VehicleMap
public java.util.HashMap VehicleMap -
VehicleTemplateMap
public java.util.HashMap VehicleTemplateMap -
ScriptMap
public java.util.HashMap ScriptMap -
CharacterMap
public java.util.HashMap CharacterMap -
RecipeMap
public java.util.ArrayList RecipeMap -
RecipesWithDotInName
public java.util.HashMap RecipesWithDotInName -
EvolvedRecipeMap
public java.util.ArrayList EvolvedRecipeMap -
UniqueRecipeMap
public java.util.ArrayList UniqueRecipeMap -
FixingMap
public java.util.HashMap FixingMap -
InventoryMap
public java.util.HashMap InventoryMap -
ActivatableMap
public java.util.HashMap ActivatableMap -
TalkerMap
public java.util.HashMap TalkerMap -
ScriptContainerMap
public java.util.HashMap ScriptContainerMap -
ConditionMap
public java.util.HashMap ConditionMap -
FlagMap
public java.util.HashMap FlagMap -
ZoneMap
public java.util.HashMap ZoneMap -
ZoneList
public java.util.Stack ZoneList -
RandomSelectorMap
public java.util.HashMap RandomSelectorMap -
ContainerDistributions
public java.util.Stack ContainerDistributions -
FloorDistributions
public java.util.Stack FloorDistributions -
ShelfDistributions
public java.util.Stack ShelfDistributions -
Imports
public java.util.Stack Imports -
disabled
public boolean disabled -
LanguageMap
public java.util.HashMap LanguageMap
-
-
Constructor Details
-
ScriptModule
public ScriptModule()
-
-
Method Details
-
ValidMapCheck
public boolean ValidMapCheck(java.lang.String string) -
Load
public void Load(java.lang.String string, java.lang.String string2) -
ParseScript
public void ParseScript(java.lang.String string) -
ParseScriptPP
public void ParseScriptPP(java.lang.String string) -
PlayScript
public void PlayScript(java.lang.String string) -
PlayScript
public Script.ScriptInstance PlayScript(java.lang.String string, Script.ScriptInstance scriptInstance) -
PlayScript
-
getInventory
- Specified by:
getInventory
in interfaceIScriptObjectStore
-
getCharacter
- Specified by:
getCharacter
in interfaceIScriptObjectStore
-
getCharacterActual
- Specified by:
getCharacterActual
in interfaceIScriptObjectStore
-
getFlagIntValue
public int getFlagIntValue(java.lang.String string) -
getFlagValue
public java.lang.String getFlagValue(java.lang.String string)- Specified by:
getFlagValue
in interfaceIScriptObjectStore
-
getWaypoint
- Specified by:
getWaypoint
in interfaceIScriptObjectStore
-
getScriptContainer
- Specified by:
getScriptContainer
in interfaceIScriptObjectStore
-
getRoom
- Specified by:
getRoom
in interfaceIScriptObjectStore
-
getActivatable
- Specified by:
getActivatable
in interfaceIScriptObjectStore
-
getTalker
-
getLanguageDef
-
getLanguage
public java.lang.String getLanguage(java.lang.String string) -
getFlag
- Specified by:
getFlag
in interfaceIScriptObjectStore
-
getZone
- Specified by:
getZone
in interfaceIScriptObjectStore
-
getQuestCondition
- Specified by:
getQuestCondition
in interfaceIScriptObjectStore
-
getItem
- Specified by:
getItem
in interfaceIScriptObjectStore
-
getRecipe
- Specified by:
getRecipe
in interfaceIScriptObjectStore
-
getVehicle
-
getVehicleTemplate
-
CheckExitPoints
public boolean CheckExitPoints() -
getScript
- Specified by:
getScript
in interfaceIScriptObjectStore
-
getName
public java.lang.String getName()
-