Class ScriptManager
java.lang.Object
zombie.scripting.ScriptManager
- All Implemented Interfaces:
IScriptObjectStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final ScriptManager
final ArrayList
<ScriptModule> final HashMap
<String, ScriptModule> static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModelScript
(ModelScript modelScript) void
addSpriteModel
(SpriteModel spriteModel) void
checkAutoLearn
(IsoGameCharacter isoGameCharacter) void
void
checkMetaRecipe
(IsoGameCharacter isoGameCharacter, String string) void
checkMetaRecipes
(IsoGameCharacter isoGameCharacter) static void
EnableDebug
(ScriptType scriptType, boolean boolean0) getAllFixing
(ArrayList<Fixing> arrayList) getAllItemsWithTag
(String string) getAllRecipesFor
(String result) getAnimationsMesh
(String name) getCraftRecipe
(String string) static String
static String
static String
getEnergyDefinitionScript
(String string) getEvolvedRecipe
(String string) getFluidDefinitionScript
(String string) getFluidFilter
(String string) getGameEntityScript
(String string) getGameEntityTemplate
(String string) getGameSound
(String string) getItemConfig
(String string) getItemFilter
(String string) getItemForClothingItem
(String clothingName) static String
getItemName
(String name) getItemsByType
(String type) getItemsTag
(String tag) getItemTypeForClothingItem
(String clothingItem) getMannequinScript
(String name) getModelScript
(String name) getPhysicsHitReactionScript
(String string) getPhysicsShape
(String string) getRagdollScript
(String string) getRuntimeAnimationScript
(String string) ArrayList
<?> getScriptsForType
(ScriptType scriptType) getSoundTimeline
(String eventName) getSpecificEntity
(String string0) getSpecificItem
(String name) Attempts to get the specific item of "module.type" without defaulting to module "Base".getSpriteModel
(String string) getStringList
(String string) getTimedActionScript
(String string) getUniqueRecipe
(String string) getVehicle
(String name) getVehicleEngineRPM
(String name) getVehicleTemplate
(String name) getXuiColor
(String string) getXuiConfigScript
(String string) getXuiDefaultStyle
(String string) getXuiLayout
(String string) getXuiSkinScript
(String string) getXuiStyle
(String string) boolean
boolean
hasLoadErrors
(boolean boolean0) static boolean
isDebugEnabled
(ScriptType scriptType) boolean
isDrainableItemType
(String itemType) void
Load()
void
void
LoadFile
(ScriptLoadMode scriptLoadMode, String string0, boolean boolean0) void
ParseScript
(ScriptLoadMode scriptLoadMode, String string0) void
void
static void
println
(BaseScriptObject baseScriptObject, String string) static void
println
(ScriptType scriptType, String string) void
ReloadScripts
(EnumSet<ScriptType> enumSet) void
ReloadScripts
(ScriptType scriptType) void
Reset()
static void
resolveGetItemTypes
(ArrayList<String> arrayList0, ArrayList<Item> arrayList1) resolveItemType
(ScriptModule module, String itemType) resolveModelScript
(ScriptModule module, String modelScriptName) void
searchFolders
(URI base, File fo, ArrayList<String> loadList) void
update()
-
Field Details
-
instance
-
currentFileName
-
ModuleMap
-
ModuleList
-
CurrentLoadingModule
-
Base
- See Also:
-
Base_Module
- See Also:
-
VanillaID
- See Also:
-
-
Constructor Details
-
ScriptManager
public ScriptManager()
-
-
Method Details
-
EnableDebug
-
isDebugEnabled
-
println
-
println
-
getScriptsForType
-
getVehicleTemplate
-
getAllVehicleTemplates
-
getGameEntityTemplate
-
getAllGameEntityTemplates
-
getItem
- Specified by:
getItem
in interfaceIScriptObjectStore
-
getAllItems
-
getRecipe
- Specified by:
getRecipe
in interfaceIScriptObjectStore
-
getAllRecipes
-
getUniqueRecipe
-
getAllUniqueRecipes
-
getEvolvedRecipe
-
getAllEvolvedRecipesList
-
getAllEvolvedRecipes
-
getFixing
-
getAllFixing
-
getAnimationsMesh
-
getAllAnimationsMeshes
-
getMannequinScript
-
getAllMannequinScripts
-
getModelScript
-
getAllModelScripts
-
addModelScript
-
getPhysicsShape
-
getAllPhysicsShapes
-
getGameSound
-
getAllGameSounds
-
getSoundTimeline
-
getAllSoundTimelines
-
getSpriteModel
-
getAllSpriteModels
-
addSpriteModel
-
getVehicle
-
getAllVehicleScripts
-
getRuntimeAnimationScript
-
getAllRuntimeAnimationScripts
-
getVehicleEngineRPM
-
getAllVehicleEngineRPMs
-
getItemConfig
-
getAllItemConfigs
-
getGameEntityScript
-
getAllGameEntities
-
getXuiConfigScript
-
getAllXuiConfigScripts
-
getXuiLayout
-
getAllXuiLayouts
-
getXuiStyle
-
getAllXuiStyles
-
getXuiDefaultStyle
-
getAllXuiDefaultStyles
-
getXuiColor
-
getAllXuiColors
-
getXuiSkinScript
-
getAllXuiSkinScripts
-
getItemFilter
-
getAllItemFilters
-
getFluidFilter
-
getAllFluidFilters
-
getCraftRecipe
-
getAllCraftRecipes
-
checkAutoLearn
-
checkMetaRecipes
-
checkMetaRecipe
-
getStringList
-
getAllStringLists
-
getEnergyDefinitionScript
-
getAllEnergyDefinitionScripts
-
getFluidDefinitionScript
-
getAllFluidDefinitionScripts
-
getTimedActionScript
-
getAllTimedActionScripts
-
getRagdollScript
-
getPhysicsHitReactionScript
-
update
public void update() -
LoadFile
public void LoadFile(ScriptLoadMode scriptLoadMode, String string0, boolean boolean0) throws FileNotFoundException - Throws:
FileNotFoundException
-
ParseScript
-
searchFolders
-
getItemName
-
getModule
-
getModule
-
getModuleNoDisableCheck
-
FindItem
-
FindItem
-
isDrainableItemType
-
CheckExitPoints
public void CheckExitPoints() -
getAllItemsWithTag
-
getItemsTag
-
getItemsByType
-
Reset
public void Reset() -
getChecksum
-
getCurrentLoadFileMod
-
getCurrentLoadFileAbsPath
-
getCurrentLoadFileName
-
Load
- Throws:
IOException
-
ReloadScripts
-
ReloadScripts
-
LoadedAfterLua
public void LoadedAfterLua() -
PostTileDefinitions
public void PostTileDefinitions() -
PostWorldDictionaryInit
public void PostWorldDictionaryInit() -
hasLoadErrors
public boolean hasLoadErrors() -
hasLoadErrors
public boolean hasLoadErrors(boolean boolean0) -
resolveGetItemTypes
-
getAllRecipesFor
-
getItemTypeForClothingItem
-
getItemForClothingItem
-
getZedDmgMap
-
resolveItemType
-
resolveModelScript
-
getSpecificItem
-
getSpecificEntity
-