Skip to content

Commit d4beac1

Browse files
authored
Merge pull request #273 from the-hideout/fix-ergo-penalty
Fix ergoPenalty
2 parents f9d7c18 + f7322aa commit d4beac1

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

schema.js

+11-6
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ type ItemPropertiesArmor {
378378
repairCost: Int
379379
speedPenalty: Float
380380
turnPenalty: Float
381-
ergoPenalty: Int
381+
ergoPenalty: Float
382382
zones: [String]
383383
material: ArmorMaterial
384384
armorType: String
@@ -392,7 +392,7 @@ type ItemPropertiesArmorAttachment {
392392
repairCost: Int
393393
speedPenalty: Float
394394
turnPenalty: Float
395-
ergoPenalty: Int
395+
ergoPenalty: Float
396396
headZones: [String]
397397
material: ArmorMaterial
398398
armorType: String
@@ -406,7 +406,7 @@ type ItemPropertiesBackpack {
406406
grids: [ItemStorageGrid]
407407
speedPenalty: Float
408408
turnPenalty: Float
409-
ergoPenalty: Int
409+
ergoPenalty: Float
410410
pouches: [ItemStorageGrid] @deprecated(reason: "Use grids instead.")
411411
}
412412
@@ -427,7 +427,7 @@ type ItemPropertiesChestRig {
427427
repairCost: Int
428428
speedPenalty: Float
429429
turnPenalty: Float
430-
ergoPenalty: Int
430+
ergoPenalty: Float
431431
zones: [String]
432432
material: ArmorMaterial
433433
capacity: Int
@@ -457,7 +457,7 @@ type ItemPropertiesGlasses {
457457
blindnessProtection: Float
458458
#speedPenalty: Float
459459
#turnPenalty: Float
460-
#ergoPenalty: Int
460+
#ergoPenalty: Float
461461
material: ArmorMaterial
462462
bluntThroughput: Float
463463
}
@@ -486,13 +486,17 @@ type ItemPropertiesHeadphone {
486486
resonance: Float
487487
}
488488
489+
type ItemPropertiesHeadwear {
490+
slots: [ItemSlot]
491+
}
492+
489493
type ItemPropertiesHelmet {
490494
class: Int
491495
durability: Int
492496
repairCost: Int
493497
speedPenalty: Float
494498
turnPenalty: Float
495-
ergoPenalty: Int
499+
ergoPenalty: Float
496500
headZones: [String]
497501
material: ArmorMaterial
498502
deafening: String
@@ -648,6 +652,7 @@ union ItemProperties =
648652
ItemPropertiesFoodDrink |
649653
ItemPropertiesGlasses |
650654
ItemPropertiesGrenade |
655+
ItemPropertiesHeadwear |
651656
ItemPropertiesHeadphone |
652657
ItemPropertiesHelmet |
653658
ItemPropertiesKey |

0 commit comments

Comments
 (0)