Bunch of bugfixes (#1165)

* watcher fix

* fix #1162

* fix #1111

* make watcher move smoothly

* s

* Delete test_xeno.yml
This commit is contained in:
Ed
2025-04-10 22:28:50 +03:00
committed by GitHub
parent de5ec12791
commit 948d711336
9 changed files with 10 additions and 134 deletions

View File

@@ -40,6 +40,7 @@ namespace Content.IntegrationTests.Tests
.Where(p => !pair.IsTestPrototype(p))
.Where(p => !p.Components.ContainsKey("MapGrid")) // This will smash stuff otherwise.
.Where(p => !p.Components.ContainsKey("RoomFill")) // This comp can delete all entities, and spawn others
.Where(p => !p.Components.ContainsKey("CP14BiomeSpawner")) // CP14 this component delete all entities on this tile
.Select(p => p.ID)
.ToList();
@@ -103,6 +104,7 @@ namespace Content.IntegrationTests.Tests
.Where(p => !pair.IsTestPrototype(p))
.Where(p => !p.Components.ContainsKey("MapGrid")) // This will smash stuff otherwise.
.Where(p => !p.Components.ContainsKey("RoomFill")) // This comp can delete all entities, and spawn others
.Where(p => !p.Components.ContainsKey("CP14BiomeSpawner")) // CP14 this component delete all entities on this tile
.Select(p => p.ID)
.ToList();
foreach (var protoId in protoIds)
@@ -344,6 +346,7 @@ namespace Content.IntegrationTests.Tests
"DebugExceptionStartup",
"GridFill",
"RoomFill",
"CP14BiomeSpawner", // CP14 this component delete all entities on this tile
"Map", // We aren't testing a map entity in this test
"MapGrid",
"Broadphase",

View File

@@ -1,45 +0,0 @@
- type: entity
id: CP14ConstrainedSpawnerBase
abstract: true
parent: MarkerBase
description: lol
categories: [ ForkFiltered ]
components:
- type: Sprite
layers:
- state: red
- type: Physics
bodyType: Static
fixedRotation: true
- type: Fixtures
fixtures:
spawn:
shape:
!type:PhysShapeCircle
radius: 15
hard: false
layer:
- AllMask
- type: TriggerOnCollide
fixtureID: spawn
- type: StepTrigger
requiredTriggeredSpeed: 0
stepOn: true
- type: entity
parent: CP14ConstrainedSpawnerBase
id: CP14ConstrainedSpawnerXeno
name: xeno constrained spawner
components:
- type: TriggerOnCollide
fixtureID: spawn
- type: CP14ConstrainedSpawnerOnTrigger
prototypes:
- CP14MobXeno
- CP14MobXenoDrone
- CP14MobSpaceCobra
- CP14MobSmallPurpleSnake
- CP14MobPurpleSnake
- MobLuminousEntity
- MobLuminousObject
- CP14MobWatcherMagmawing

View File

@@ -45,8 +45,10 @@
0: Alive
50: Dead
- type: MovementSpeedModifier
baseWalkSpeed: 5
baseSprintSpeed: 7
baseWalkSpeed: 2
baseSprintSpeed: 4
friction: 0.5
acceleration: 3
- type: ProjectileBatteryAmmoProvider
proto: WatcherBolt
fireCost: 50

View File

@@ -1,84 +0,0 @@
- type: entity
id: CP14MobXeno
parent: MobXeno
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Monster
- type: entity
id: CP14MobXenoDrone
parent: MobXenoDrone
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Monster
- type: entity
id: CP14MobSpaceCobra
name: cobra
parent: MobCobraSpace
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Monster
- type: MeleeChemicalInjector
transferAmount: 2
- type: MeleeWeapon
hidden: true
soundHit:
path: /Audio/Effects/bite.ogg
angle: 0
animation: WeaponArcBite
damage:
types:
Piercing: 2
Poison: 2
- type: entity
id: CP14MobPurpleSnake
parent: MobPurpleSnake
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Monster
- type: MeleeWeapon
angle: 0
animation: WeaponArcBite
damage:
types:
Piercing: 1
- type: MeleeChemicalInjector
transferAmount: 3
- type: entity
id: CP14MobSmallPurpleSnake
parent: MobSmallPurpleSnake
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Monster
- type: SolutionTransfer
maxTransferAmount: 0.2
- type: MeleeWeapon
angle: 0
animation: WeaponArcBite
damage:
types:
Piercing: 0.5
- type: MeleeChemicalInjector
transferAmount: 2
- type: entity
id: CP14MobWatcherMagmawing
parent: MobWatcherMagmawing
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Monster

View File

@@ -71,7 +71,6 @@
suffix: Deep, Air damage
components:
- type: Sprite
drawdepth: OverMobs
color: "#869dc2"
- type: SpeedModifierContacts
walkSpeedModifier: 0.2

View File

@@ -220,7 +220,7 @@
- CP14DemiplaneHot
layers:
- !type:OreDunGen
entity: CP14MobSlimeBase
entity: CP14MobWatcherIce
count: 2
minGroupSize: 2
maxGroupSize: 3
@@ -239,7 +239,7 @@
- CP14DemiplaneCold
layers:
- !type:OreDunGen
entity: CP14MobSlimeBase
entity: CP14MobWatcherMagma
count: 2
minGroupSize: 2
maxGroupSize: 3

View File

@@ -10,6 +10,7 @@
defaultSkinTone: "#6c741d"
maleFirstNames: CP14_Names_Silva_Male_First
femaleFirstNames: CP14_Names_Silva_Female_First
naming: First
- type: speciesBaseSprites
id: CP14MobSilvaSprites

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B

After

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B

After

Width:  |  Height:  |  Size: 404 B