@eveshipfit/sde 3.3503375.0 → 4.3503375.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,7 +41,7 @@ It is also not meant as "production-ready" software, but much more as "an easier
41
41
  ## Output
42
42
 
43
43
  `build` writes two flatbuffers, described in [specs/](specs/):
44
- - `dist/sde.dat` holds the types, dogma, groups, categories and mutaplasmids, with English
44
+ - `dist/sde.dat` holds the types, dogma, groups, categories, buffs and mutaplasmids, with English
45
45
  names only. It is all a dogma-engine needs.
46
46
  - `dist/names.dat` maps a name in any of the eight languages EVE supports back to
47
47
  a type ID. Only an EFT-fit importer needs it, and only ever to search.
package/dist/sde.dat CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eveshipfit/sde",
3
- "version": "3.3503375.0",
3
+ "version": "4.3503375.0",
4
4
  "description": "A patched EVE Online SDE, as flatbuffers, for EVEShipFit's dogma-engine",
5
5
  "repository": {
6
6
  "type": "git",
package/specs/eve.fbs CHANGED
@@ -32,6 +32,19 @@ enum ModifierOperation: int8 {
32
32
  PostAssign = 7,
33
33
  }
34
34
 
35
+ enum DbuffAggregateMode: int8 {
36
+ Maximum = 0,
37
+ Minimum = 1,
38
+ }
39
+
40
+ /// How a UI is meant to show a buff's value; `showOutputValueInUI` in the SDE.
41
+ /// A resistance buff reads as -20% and shows as +20%, hence Inverted.
42
+ enum DbuffDisplay: int8 {
43
+ Normal = 0,
44
+ Inverted = 1,
45
+ Hidden = 2,
46
+ }
47
+
35
48
  enum EffectCategory: int8 {
36
49
  Passive = 0,
37
50
  Active = 1,
@@ -144,6 +157,23 @@ table DogmaEffect {
144
157
  modifiers: [Modifier];
145
158
  }
146
159
 
160
+ struct DbuffModifier {
161
+ func: ModifierFunc;
162
+ modified_attribute_id: int32;
163
+ group_id: int32;
164
+ skill_type_id: int32;
165
+ }
166
+
167
+ table DbuffCollection {
168
+ id: int32 (key);
169
+ display_name: string;
170
+ aggregate_mode: DbuffAggregateMode;
171
+ operation: ModifierOperation;
172
+ display: DbuffDisplay;
173
+
174
+ modifiers: [DbuffModifier];
175
+ }
176
+
147
177
  struct MutaplasmidAttribute {
148
178
  attribute_id: int32;
149
179
  min: float32;
@@ -169,6 +199,7 @@ table Sde {
169
199
  dogma_attributes: [DogmaAttribute];
170
200
  dogma_effects: [DogmaEffect];
171
201
  mutaplasmids: [Mutaplasmid];
202
+ dbuff_collections: [DbuffCollection];
172
203
  }
173
204
 
174
205
  root_type Sde;