Skip to content

Commit 5a7b3e7

Browse files
committed
Updated Skyrim
Added "Insert Form type ID" command for use with Form.GetType.
1 parent 9d30aa9 commit 5a7b3e7

File tree

3 files changed

+146
-0
lines changed

3 files changed

+146
-0
lines changed

Libraries/Skyrim/Default - Skyrim.sublime-commands

+4
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
{
33
"caption": "SublimePapyrus: Insert actor value name (Skyrim)",
44
"command": "papyrus_skyrim_actor_value_suggestions"
5+
},
6+
{
7+
"caption": "SublimePapyrus: Insert Form type ID (Skyrim)",
8+
"command": "papyrus_skyrim_form_type_suggestions"
59
}
610
]

Libraries/Skyrim/SublimePapyrus - Skyrim.py

+141
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,144 @@ def get_items(self, **args):
113113
"LastFlattered": "Last flattered"
114114
}
115115
return items
116+
117+
class PapyrusSkyrimFormTypeSuggestionsCommand(SublimePapyrus.PapyrusShowSuggestionsCommand):
118+
def get_items(self, **args):
119+
items = {
120+
83: "Animated Object (ANIO)",
121+
102: "Armor Addon (ARMA)",
122+
16: "Acoustic Space (ASPC)",
123+
6: "Action (AACT)",
124+
24: "Activator (ACTI)",
125+
95: "ActorValueInfo (AVIF)",
126+
94: "Addon Node (ADDN)",
127+
42: "Ammo (AMMO)",
128+
33: "Apparatus (APPA)",
129+
26: "Armor (ARMO)",
130+
64: "Arrow Projectile (PARW)",
131+
125: "Art Object (ARTO)",
132+
123: "Association Type (ASTP)",
133+
69: "Barrier Projectile (PBAR)",
134+
66: "Beam Projectile (PBEA)",
135+
93: "Body Part Data (BPTD)",
136+
27: "Book (BOOK)",
137+
97: "Camera Path (CPTH)",
138+
96: "Camera Shot (CAMS)",
139+
60: "Cell (CELL)",
140+
62: "Character",
141+
10: "Class (CLAS)",
142+
55: "Climate (CLMT)",
143+
132: "Collision Layer (COLL)",
144+
133: "Color Form (CLFM)",
145+
80: "Combat Style (CSTY)",
146+
68: "Cone/Voice Projectile (PCON)",
147+
49: "Constructible Object (COBJ)",
148+
28: "Container (CONT)",
149+
117: "Dialog View (DLVW)",
150+
88: "Debris (DEBR)",
151+
107: "Default Object Manager (DOBJ)",
152+
115: "Dialogue Branch (DLBR)",
153+
29: "Door (DOOR)",
154+
129: "Dual Cast Data (DUAL)",
155+
18: "Effect Setting",
156+
85: "Effect Shader (EFSH)",
157+
21: "Enchantment (ENCH)",
158+
103: "Encounter Zone (ECZN)",
159+
120: "Equip Slot (EQUP)",
160+
87: "Explosion (EXPL)",
161+
13: "Eyes (EYES)",
162+
11: "Faction (FACT)",
163+
67: "Flame Projectile (PLFA)",
164+
39: "Flora (FLOR)",
165+
110: "Footstep (FSTP)",
166+
111: "Footstep Set (FSTS)",
167+
40: "Furniture (FURN)",
168+
3: "Game Setting (GMST)",
169+
9: "Global Variable (GLOB)",
170+
37: "Grass (GRAS)",
171+
65: "Grenade Projectile (PGRE)",
172+
2: "Group (GRUP)",
173+
51: "Hazard (HAZD)",
174+
12: "Head Part (HDPT)",
175+
78: "Idle (IDLE)",
176+
47: "Idle Marker (IDLM)",
177+
89: "Image Space (IMGS)",
178+
90: "Image Space Modifier (IMAD)",
179+
100: "Impact Data (IPCT)",
180+
101: "Impact Data Set (IPDS)",
181+
30: "Ingredient (INGR)",
182+
45: "Key (KEYM)",
183+
4: "Keyword (KYWD)",
184+
72: "Landscape (LAND)",
185+
20: "Land Texture (LTEX)",
186+
44: "Leveled Actor (LVLN)",
187+
53: "Leveled Item (LVLI)",
188+
82: "Leveled Spell (LVLS)",
189+
31: "Light (LIGH)",
190+
108: "Lighting Template (LGTM)",
191+
91: "FormID List (FLST)",
192+
81: "Load Screen (LSCR)",
193+
104: "Location (LCTN)",
194+
5: "Location Reference Type (LCRT)",
195+
126: "Material Object (MATO)",
196+
99: "Material Type (MATT)",
197+
8: "Menu Icon",
198+
105: "Message (MESG)",
199+
32: "Miscellaneous Object (MISC)",
200+
63: "Missile Projectile (PMIS)",
201+
36: "Movable Static (MSTT)",
202+
127: "Movement Type (MOVT)",
203+
116: "Music Track (MUST)",
204+
109: "Music Type (MUSC)",
205+
59: "Navigation (NAVI)",
206+
43: "Actor (NPC_)",
207+
73: "Navigation Mesh (NAVM)",
208+
0: "None",
209+
48: "Note",
210+
124: "Outfit (OTFT)",
211+
70: "Placed Hazard (PHZD)",
212+
79: "AI Package (PACK)",
213+
92: "Perk (PERK)",
214+
46: "Potion (ALCH)",
215+
50: "Projectile (PROJ)",
216+
77: "Quest (QUST)",
217+
14: "Race (RACE)",
218+
106: "Ragdoll (RGDL)",
219+
61: "Object Reference (REFR)",
220+
57: "Visual/Reference Effect (RFCT)",
221+
58: "Region (REGN)",
222+
121: "Relationship (RELA)",
223+
134: "Reverb Parameter (REVB)",
224+
122: "Scene (SCEN)",
225+
19: "Script (SCPT)",
226+
23: "Scroll Item (SCRL)",
227+
56: "Shader Particle Geometry Data (SPGD)",
228+
119: "Shout (SHOU)",
229+
17: "Skill",
230+
52: "Soul Gem (SLGM)",
231+
15: "Sound (SOUN)",
232+
130: "Sound Category (SNCT)",
233+
128: "Sound Descriptor (SNDR)",
234+
131: "Sound Output (SOPM)",
235+
22: "Spell (SPEL)",
236+
34: "Static (STAT)",
237+
35: "Static Collection",
238+
112: "Story Manager Branch Node (SMBN)",
239+
114: "Story Manager Event Node (SMEN)",
240+
113: "Story Manager Quest Node (SMQN)",
241+
1: "Main File Header (TES4)",
242+
74: " (TLOD)",
243+
86: " (TOFT)",
244+
25: "Talking Activator (TACT)",
245+
7: "Texture Set (TXST)",
246+
75: "Topic (DIAL)",
247+
76: "Topic Info (INFO)",
248+
38: "Tree (TREE)",
249+
98: "Voice Type (VTYP)",
250+
84: "Water (WATR)",
251+
41: "Weapon (WEAP)",
252+
54: "Weather (WTHR)",
253+
118: "Word of Power (WOOP)",
254+
71: "Worldspace (WRLD)"
255+
}
256+
return items

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ This feature has to be implemented on a per-library basis. This feature is curre
119119

120120
- Skyrim
121121
- Actor value names
122+
- Form type IDs
122123

123124
- SKSE
124125
- Menu names

0 commit comments

Comments
 (0)