Skip to content

Commit

Permalink
Updated SKSE snippets
Browse files Browse the repository at this point in the history
Updated snippets to support SKSE 1.7.3.
  • Loading branch information
Kapiainen committed May 26, 2015
1 parent 26036db commit 2dada95
Show file tree
Hide file tree
Showing 47 changed files with 268 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Core/Papyrus.tmLanguage

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Libraries/SKSE/Actor.ResetAI.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ResetAI</tabTrigger>
<scope>source.papyrus</scope>
<description>Actor.ResetAI (SKSE)</description>
<content><![CDATA[ResetAI()]]></content>
</snippet>
2 changes: 1 addition & 1 deletion Libraries/SKSE/Flora.SetIngredient.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<tabTrigger>SetIngredient</tabTrigger>
<scope>source.papyrus</scope>
<description>Flora.SetIngredient (SKSE)</description>
<content><![CDATA[SetIngredient(${1:Ingredient akIngredient})]]></content>
<content><![CDATA[SetIngredient(${1:Form akIngredient})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Form.GetKeywords.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetKeywords</tabTrigger>
<scope>source.papyrus</scope>
<description>Form.GetKeywords (SKSE)</description>
<content><![CDATA[GetKeywords()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/FormList.AddForms.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>AddForms</tabTrigger>
<scope>source.papyrus</scope>
<description>FormList.AddForms (SKSE)</description>
<content><![CDATA[AddForms(${1:Form[] forms})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/FormList.ToArray.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ToArray</tabTrigger>
<scope>source.papyrus</scope>
<description>FormList.ToArray (SKSE)</description>
<content><![CDATA[ToArray()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllAmmo.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllAmmo</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllAmmo (SKSE)</description>
<content><![CDATA[GetAllAmmo(${1:string modName}, ${2:Keyword[] keywords = None}, ${3:bool playable = true})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllArmor.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllArmor</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllArmor (SKSE)</description>
<content><![CDATA[GetAllArmor(${1:string modName}, ${2:Keyword[] keywords = None}, ${3:bool playable = true}, ${4:bool ignoreTemplates = true}, ${5:bool ignoreEnchantments = true}, ${6:bool onlyEnchanted = false}, ${7:bool ignoreSkin = true})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllBooks.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllBooks</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllBooks (SKSE)</description>
<content><![CDATA[GetAllBooks(${1:string modName}, ${2:Keyword[] keywords = None}, ${3:bool regular = true}, ${4:bool spell = false}, ${5:bool skill = false})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllIngredients.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllIngredients</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllIngredients (SKSE)</description>
<content><![CDATA[GetAllIngredients(${1:string modName}, ${2:Keyword[] keywords = None})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllKeys.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllKeys</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllKeys (SKSE)</description>
<content><![CDATA[GetAllKeys(${1:string modName}, ${2:Keyword[] keywords = None})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllMiscItems.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllMiscItems</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllMiscItems (SKSE)</description>
<content><![CDATA[GetAllMiscItems(${1:string modName}, ${2:Keyword[] keywords = None})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllPotions.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllPotions</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllPotions (SKSE)</description>
<content><![CDATA[GetAllPotions(${1:string modName}, ${2:Keyword[] keywords = None}, ${3:bool potions = true}, ${4:bool food = false}, ${5:bool poison = false})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllScrolls.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllScrolls</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllScrolls (SKSE)</description>
<content><![CDATA[GetAllScrolls(${1:string modName}, ${2:Keyword[] keywords = None})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/GameData.GetAllWeapons.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAllWeapons</tabTrigger>
<scope>source.papyrus</scope>
<description>GameData.GetAllWeapons (SKSE)</description>
<content><![CDATA[GetAllWeapons(${1:string modName}, ${2:Keyword[] keywords = None}, ${3:bool playable = true}, ${4:bool ignoreTemplates = true}, ${5:bool ignoreEnchantments = true}, ${6:bool onlyEnchanted = false}, ${7:int weaponTypes = 0xFFFFFFFF})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Ingredient.GetEffectAreas.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectAreas</tabTrigger>
<scope>source.papyrus</scope>
<description>Ingredient.GetEffectAreas (SKSE)</description>
<content><![CDATA[GetEffectAreas()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Ingredient.GetEffectDurations.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectDurations</tabTrigger>
<scope>source.papyrus</scope>
<description>Ingredient.GetEffectDurations (SKSE)</description>
<content><![CDATA[GetEffectDurations()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Ingredient.GetEffectMagnitudes.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectMagnitudes</tabTrigger>
<scope>source.papyrus</scope>
<description>Ingredient.GetEffectMagnitudes (SKSE)</description>
<content><![CDATA[GetEffectMagnitudes()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Ingredient.GetMagicEffects.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetMagicEffects</tabTrigger>
<scope>source.papyrus</scope>
<description>Ingredient.GetMagicEffects (SKSE)</description>
<content><![CDATA[GetMagicEffects()]]></content>
</snippet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetReferenceAliases</tabTrigger>
<scope>source.papyrus</scope>
<description>ObjectReference.GetReferenceAliases (SKSE)</description>
<content><![CDATA[GetReferenceAliases()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Potion.GetEffectAreas.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectAreas</tabTrigger>
<scope>source.papyrus</scope>
<description>Potion.GetEffectAreas (SKSE)</description>
<content><![CDATA[GetEffectAreas()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Potion.GetEffectDurations.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectDurations</tabTrigger>
<scope>source.papyrus</scope>
<description>Potion.GetEffectDurations (SKSE)</description>
<content><![CDATA[GetEffectDurations()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Potion.GetEffectMagnitudes.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectMagnitudes</tabTrigger>
<scope>source.papyrus</scope>
<description>Potion.GetEffectMagnitudes (SKSE)</description>
<content><![CDATA[GetEffectMagnitudes()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Potion.GetMagicEffects.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetMagicEffects</tabTrigger>
<scope>source.papyrus</scope>
<description>Potion.GetMagicEffects (SKSE)</description>
<content><![CDATA[GetMagicEffects()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Quest.GetAliasById.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAliasById</tabTrigger>
<scope>source.papyrus</scope>
<description>Quest.GetAliasById (SKSE)</description>
<content><![CDATA[GetAliasById(${1:int aliasId})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Quest.GetAliases.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetAliases</tabTrigger>
<scope>source.papyrus</scope>
<description>Quest.GetAliases (SKSE)</description>
<content><![CDATA[GetAliases()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Scroll.GetEffectAreas.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectAreas</tabTrigger>
<scope>source.papyrus</scope>
<description>Scroll.GetEffectAreas (SKSE)</description>
<content><![CDATA[GetEffectAreas()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Scroll.GetEffectDurations.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectDurations</tabTrigger>
<scope>source.papyrus</scope>
<description>Scroll.GetEffectDurations (SKSE)</description>
<content><![CDATA[GetEffectDurations()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Scroll.GetEffectMagnitudes.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectMagnitudes</tabTrigger>
<scope>source.papyrus</scope>
<description>Scroll.GetEffectMagnitudes (SKSE)</description>
<content><![CDATA[GetEffectMagnitudes()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Scroll.GetMagicEffects.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetMagicEffects</tabTrigger>
<scope>source.papyrus</scope>
<description>Scroll.GetMagicEffects (SKSE)</description>
<content><![CDATA[GetMagicEffects()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/SpawnerTask.AddSpawn.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>AddSpawn</tabTrigger>
<scope>source.papyrus</scope>
<description>SpawnerTask.AddSpawn (SKSE)</description>
<content><![CDATA[AddSpawn(${1:int handle}, ${2:Form formToPlace}, ${3:ObjectReference target}, ${4:float[] positionOffset}, ${5:float[] rotation}, ${6:int count = 1}, ${7:bool bForcePersist = false}, ${8:bool bInitiallyDisabled = false})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/SpawnerTask.Cancel.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>Cancel</tabTrigger>
<scope>source.papyrus</scope>
<description>SpawnerTask.Cancel (SKSE)</description>
<content><![CDATA[Cancel(${1:int handle})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/SpawnerTask.Create.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>Create</tabTrigger>
<scope>source.papyrus</scope>
<description>SpawnerTask.Create (SKSE)</description>
<content><![CDATA[Create()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/SpawnerTask.Run.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>Run</tabTrigger>
<scope>source.papyrus</scope>
<description>SpawnerTask.Run (SKSE)</description>
<content><![CDATA[Run(${1:int handle})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Spell.GetEffectAreas.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectAreas</tabTrigger>
<scope>source.papyrus</scope>
<description>Spell.GetEffectAreas (SKSE)</description>
<content><![CDATA[GetEffectAreas()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Spell.GetEffectDurations.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectDurations</tabTrigger>
<scope>source.papyrus</scope>
<description>Spell.GetEffectDurations (SKSE)</description>
<content><![CDATA[GetEffectDurations()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Spell.GetEffectMagnitudes.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetEffectMagnitudes</tabTrigger>
<scope>source.papyrus</scope>
<description>Spell.GetEffectMagnitudes (SKSE)</description>
<content><![CDATA[GetEffectMagnitudes()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Spell.GetMagicEffects.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetMagicEffects</tabTrigger>
<scope>source.papyrus</scope>
<description>Spell.GetMagicEffects (SKSE)</description>
<content><![CDATA[GetMagicEffects()]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/StringUtil.Split.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>Split</tabTrigger>
<scope>source.papyrus</scope>
<description>StringUtil.Split (SKSE)</description>
<content><![CDATA[Split(${1:string s}, ${2:string delim})]]></content>
</snippet>
2 changes: 1 addition & 1 deletion Libraries/SKSE/TreeObject.SetIngredient.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<tabTrigger>SetIngredient</tabTrigger>
<scope>source.papyrus</scope>
<description>TreeObject.SetIngredient (SKSE)</description>
<content><![CDATA[SetIngredient(${1:Ingredient akIngredient})]]></content>
<content><![CDATA[SetIngredient(${1:Form akIngredient})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Utility.ResizeAliasArray.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ResizeAliasArray</tabTrigger>
<scope>source.papyrus</scope>
<description>Utility.ResizeAliasArray (SKSE)</description>
<content><![CDATA[ResizeAliasArray(${1:Alias[] source}, ${2:int size}, ${3:Alias fill = None})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Utility.ResizeBoolArray.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ResizeBoolArray</tabTrigger>
<scope>source.papyrus</scope>
<description>Utility.ResizeBoolArray (SKSE)</description>
<content><![CDATA[ResizeBoolArray(${1:bool[] source}, ${2:int size}, ${3:bool fill = false})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Utility.ResizeFloatArray.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ResizeFloatArray</tabTrigger>
<scope>source.papyrus</scope>
<description>Utility.ResizeFloatArray (SKSE)</description>
<content><![CDATA[ResizeFloatArray(${1:float[] source}, ${2:int size}, ${3:float fill = 0})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Utility.ResizeFormArray.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ResizeFormArray</tabTrigger>
<scope>source.papyrus</scope>
<description>Utility.ResizeFormArray (SKSE)</description>
<content><![CDATA[ResizeFormArray(${1:Form[] source}, ${2:int size}, ${3:Form fill = None})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Utility.ResizeIntArray.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ResizeIntArray</tabTrigger>
<scope>source.papyrus</scope>
<description>Utility.ResizeIntArray (SKSE)</description>
<content><![CDATA[ResizeIntArray(${1:int[] source}, ${2:int size}, ${3:int fill = 0})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/Utility.ResizeStringArray.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>ResizeStringArray</tabTrigger>
<scope>source.papyrus</scope>
<description>Utility.ResizeStringArray (SKSE)</description>
<content><![CDATA[ResizeStringArray(${1:string[] source}, ${2:int size}, ${3:string fill})]]></content>
</snippet>
6 changes: 6 additions & 0 deletions Libraries/SKSE/WornObject.GetReferenceAliases.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<tabTrigger>GetReferenceAliases</tabTrigger>
<scope>source.papyrus</scope>
<description>WornObject.GetReferenceAliases (SKSE)</description>
<content><![CDATA[GetReferenceAliases(${1:Actor akActor}, ${2:int handSlot}, ${3:int slotMask})]]></content>
</snippet>

0 comments on commit 2dada95

Please sign in to comment.