This repository has been archived by the owner on Jan 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
dev: Scripts Code Style
Oliver edited this page Sep 29, 2015
·
2 revisions
Das Script ist in folgende Abschnitte eingeteilt:
- imports
- Blocks
- Items
- Ore Dictionary
- Fluid Registry
- (Mixed) Data Structures -
- Ore Dictionary Changes
- Custom Crafting Recipes - Shaped
- Custom Crafting Recipes - Shapeless
- Machine/Magic-Block Processing Recipes - Name des Blocks
Beispiel: AppliedEnergistics2.zs
Block/Item Namen Der Name beginnt mit dem Modnamen gefolgt von Item/Block-Namen und optional einem Type bspw. Ingot, Nugget oder Block.
val <modname><item/block-name>[type]
Ore Dictionary Der Name beginnt mit dem Kürdel od für Ore Dictionary gefolgt von Namen und optional einem Type bspw. Ingot, Nugget oder Block.
val od<name>[type]
Fluid Registry Der Name beginnt mit fr für Fluid Registry gefolgt von dem Namen der Flüssigkeit
val fr<name>
Die einzelnen Einträge im Array soll der Index und ein Namen/Kommentar zugewiesen werden siehe bspw. Forestry.zs, damit auf einen Blick erkennbar ist um was es sich handelt.
Abkürzung maximal 10 Zeichen.
Modname = Mod advGene = Advanced Generators agriCraft = AgriCraft appEng = Applied Energistics2 arsMagica = Ars Magica 2 autoPack = AutoPackager bloodMagic = Blood Magic botania = Botania buildCraft = BuildCraft bcAddition = BuildCraft Additions chisel = Chisel 2 custNPC = Custom NPCs dimAnchor = Dimensional Anchors dracEvo = Draconic Evolution enderio = EnderIO enderTech = Ender Tech exAstris = Ex Astris exNihilo = Ex Nihilo extBees = Extra Bees extCell = ExtraCells extUtil = Extra Utilities forbMagic = Thaumcraft - Forbidden Magic forestDay = Forest Day forestry = Forestry gardStuff = Garden Stuff harvCraft = HarvestCraft natura = Natura projred = ProjectRed rsArsenal = Redstone Arsenal thaumcraft = Thaumcraft thermExp = Thermal Expansion thermFound = Thermal Foundation tConstruct = Tinkers Construct vanilla = Minecraft Vanilla witchGad = Thaumcraft - Witching Gadgets