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.ArrayList
FixingMap
java.util.HashMap
FlagMap
java.util.Stack
FloorDistributions
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.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
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 name)
ScriptCharacter
getCharacter(java.lang.String name)
IsoGameCharacter
getCharacterActual(java.lang.String name)
ScriptFlag
getFlag(java.lang.String name)
int
getFlagIntValue(java.lang.String name)
java.lang.String
getFlagValue(java.lang.String name)
Inventory
getInventory(java.lang.String name)
Item
getItem(java.lang.String name)
java.lang.String
getLanguage(java.lang.String id)
LanguageDefinition
getLanguageDef(java.lang.String name)
java.lang.String
getName()
QuestTaskCondition
getQuestCondition(java.lang.String name)
Recipe
getRecipe(java.lang.String name)
Room
getRoom(java.lang.String name)
Script
getScript(java.lang.String name)
ScriptContainer
getScriptContainer(java.lang.String name)
ScriptTalker
getTalker(java.lang.String name)
Waypoint
getWaypoint(java.lang.String name)
Zone
getZone(java.lang.String name)
void
Load(java.lang.String name, java.lang.String strArray)
void
ParseScript(java.lang.String totalFile)
void
ParseScriptPP(java.lang.String totalFile)
void
PlayScript(java.lang.String script)
Script.ScriptInstance
PlayScript(java.lang.String script, Script.ScriptInstance aliases)
Script.ScriptInstance
PlayScript(Script.ScriptInstance inst)
boolean
ValidMapCheck(java.lang.String filename)
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 -
ScriptMap
public java.util.HashMap ScriptMap -
CharacterMap
public java.util.HashMap CharacterMap -
RecipeMap
public java.util.ArrayList RecipeMap -
EvolvedRecipeMap
public java.util.ArrayList EvolvedRecipeMap -
UniqueRecipeMap
public java.util.ArrayList UniqueRecipeMap -
FixingMap
public java.util.ArrayList 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 filename) -
Load
public void Load(java.lang.String name, java.lang.String strArray) -
ParseScript
public void ParseScript(java.lang.String totalFile) -
ParseScriptPP
public void ParseScriptPP(java.lang.String totalFile) -
PlayScript
public void PlayScript(java.lang.String script) -
PlayScript
-
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 name) -
getFlagValue
public java.lang.String getFlagValue(java.lang.String name)- 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 id) -
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
-
CheckExitPoints
public boolean CheckExitPoints() -
getScript
- Specified by:
getScript
in interfaceIScriptObjectStore
-
getName
public java.lang.String getName()
-