Class ScriptManager
java.lang.Object
zombie.scripting.ScriptManager
- All Implemented Interfaces:
IScriptObjectStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final ScriptManagerfinal ArrayList<ScriptModule> final HashMap<String, ScriptModule> static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModelScript(ModelScript modelScript) voidaddSpriteModel(SpriteModel spriteModel) voidcheckAutoLearn(IsoGameCharacter character) voidvoidcheckMetaRecipe(IsoGameCharacter character, String string) voidcheckMetaRecipes(IsoGameCharacter character) static voidEnableDebug(ScriptType scriptType, boolean boolean0) getAllFixing(ArrayList<Fixing> arrayList) getAllItemsWithTag(String string) getAllRecipesFor(String result) getAnimationsMesh(String name) getBuildableRecipe(String string) getClockScript(String string) getCraftRecipe(String string) static Stringstatic Stringstatic StringgetEnergyDefinitionScript(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 StringgetItemName(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) booleanbooleanhasLoadErrors(boolean boolean0) static booleanisDebugEnabled(ScriptType scriptType) booleanisDrainableItemType(String itemType) voidLoad()voidvoidLoadFile(ScriptLoadMode scriptLoadMode, String string0, boolean boolean0) voidParseScript(ScriptLoadMode scriptLoadMode, String string0) voidvoidstatic voidprintln(BaseScriptObject baseScriptObject, String string) static voidprintln(ScriptType scriptType, String string) voidReloadScripts(EnumSet<ScriptType> enumSet) voidReloadScripts(ScriptType scriptType) voidReset()static voidresolveGetItemTypes(ArrayList<String> arrayList0, ArrayList<Item> arrayList1) resolveItemType(ScriptModule module, String itemType) resolveModelScript(ScriptModule module, String modelScriptName) voidsearchFolders(URI base, File fo, ArrayList<String> loadList) voidupdate()void
-
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:
getItemin interfaceIScriptObjectStore
-
getAllItems
-
getRecipe
- Specified by:
getRecipein interfaceIScriptObjectStore
-
getAllRecipes
-
getUniqueRecipe
-
getAllUniqueRecipes
-
getEvolvedRecipe
-
getAllEvolvedRecipesList
-
getAllEvolvedRecipes
-
getFixing
-
getAllFixing
-
getAnimationsMesh
-
getAllAnimationsMeshes
-
getClockScript
-
getAllClockScripts
-
getMannequinScript
-
getAllMannequinScripts
-
getModelScript
-
getAllModelScripts
-
addModelScript
-
getPhysicsShape
-
getAllPhysicsShapes
-
getGameSound
-
getAllGameSounds
-
getSoundTimeline
-
getAllSoundTimelines
-
getSpriteModel
-
getAllSpriteModels
-
addSpriteModel
-
getVehicle
-
getAllVehicleScripts
-
getRandomVehicleScript
-
getRuntimeAnimationScript
-
getAllRuntimeAnimationScripts
-
getVehicleEngineRPM
-
getAllVehicleEngineRPMs
-
getItemConfig
-
getAllItemConfigs
-
getGameEntityScript
-
getAllGameEntities
-
getAllBuildableRecipes
-
getBuildableRecipe
-
getXuiConfigScript
-
getAllXuiConfigScripts
-
getXuiLayout
-
getAllXuiLayouts
-
getXuiStyle
-
getAllXuiStyles
-
getXuiDefaultStyle
-
getAllXuiDefaultStyles
-
getXuiColor
-
getAllXuiColors
-
getXuiSkinScript
-
getAllXuiSkinScripts
-
getItemFilter
-
getAllItemFilters
-
getFluidFilter
-
getAllFluidFilters
-
getCraftRecipe
-
getAllCraftRecipes
-
VerifyAllCraftRecipesAreLearnable
public void VerifyAllCraftRecipesAreLearnable() -
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
-