Package zombie.scripting
Class ScriptManager
java.lang.Object
zombie.scripting.ScriptManager
- All Implemented Interfaces:
IScriptObjectStore
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ScriptManager
final ArrayList<ScriptModule>
final HashMap<String,
ScriptModule> static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAllFixing
(List<Fixing> result) getAllRecipesFor
(String result) getAnimationsMesh
(String name) static String
static String
getItemForClothingItem
(String clothingName) static String
getItemName
(String name) getItemsByType
(String type) getItemsTag
(String tag) getItemTypeForClothingItem
(String clothingItem) getMannequinScript
(String name) getModelScript
(String name) getSoundTimeline
(String eventName) getSpecificItem
(String name) Attempts to get the specific item of "module.type" without defaulting to module "Base".getVehicle
(String name) getVehicleEngineRPM
(String name) getVehicleTemplate
(String name) boolean
isDrainableItemType
(String itemType) void
Load()
void
void
ParseScript
(String totalFile) void
Reset()
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
-
scriptsWithVehicles
-
scriptsWithVehicleTemplates
-
ModuleMap
-
ModuleList
-
CurrentLoadingModule
-
VanillaID
- See Also:
-
-
Constructor Details
-
ScriptManager
public ScriptManager()
-
-
Method Details
-
ParseScript
-
update
public void update() -
LoadFile
- Throws:
FileNotFoundException
-
searchFolders
-
getItemName
-
getModule
-
getModule
-
getModuleNoDisableCheck
-
getItem
- Specified by:
getItem
in interfaceIScriptObjectStore
-
FindItem
-
FindItem
-
isDrainableItemType
-
getRecipe
- Specified by:
getRecipe
in interfaceIScriptObjectStore
-
getVehicle
-
getVehicleTemplate
-
getVehicleEngineRPM
-
CheckExitPoints
public void CheckExitPoints() -
getAllItems
-
getItemsTag
-
getItemsByType
-
getAllFixing
-
getAllRecipes
-
getAllEvolvedRecipes
-
getAllUniqueRecipes
-
getAllGameSounds
-
getAllRuntimeAnimationScripts
-
getAnimationsMesh
-
getAllAnimationsMeshes
-
getMannequinScript
-
getAllMannequinScripts
-
getModelScript
-
getAllModelScripts
-
getAllVehicleScripts
-
getSoundTimeline
-
Reset
public void Reset() -
getChecksum
-
getCurrentLoadFileMod
-
getCurrentLoadFileAbsPath
-
Load
public void Load() -
getAllRecipesFor
-
getItemTypeForClothingItem
-
getItemForClothingItem
-
getZedDmgMap
-
resolveItemType
-
resolveModelScript
-
getSpecificItem
Attempts to get the specific item of "module.type" without defaulting to module "Base".- Parameters:
name
-- Returns:
-