Renames all mob IDs from stupid old format (#4789)

This commit is contained in:
Swept
2021-10-07 11:59:59 -07:00
committed by GitHub
parent ef45db6811
commit 6b474c75f8
21 changed files with 82 additions and 83 deletions

View File

@@ -32,7 +32,7 @@ namespace Content.Client.Lobby.UI
IClientPreferencesManager preferencesManager)
{
_preferencesManager = preferencesManager;
_previewDummy = entityManager.SpawnEntity("HumanMob_Dummy", MapCoordinates.Nullspace);
_previewDummy = entityManager.SpawnEntity("MobHumanDummy", MapCoordinates.Nullspace);
var header = new NanoHeading
{

View File

@@ -245,7 +245,7 @@ namespace Content.Client.Preferences.UI
ToggleMode = true;
Group = group;
_previewDummy = entityManager.SpawnEntity("HumanMob_Dummy", MapCoordinates.Nullspace);
_previewDummy = entityManager.SpawnEntity("MobHumanDummy", MapCoordinates.Nullspace);
_previewDummy.GetComponent<HumanoidAppearanceComponent>().UpdateFromProfile(profile);
var humanoid = profile as HumanoidCharacterProfile;
if (humanoid != null)

View File

@@ -679,7 +679,7 @@ namespace Content.Client.Preferences.UI
#region Preview
_previewDummy = entityManager.SpawnEntity("HumanMob_Dummy", MapCoordinates.Nullspace);
_previewDummy = entityManager.SpawnEntity("MobHumanDummy", MapCoordinates.Nullspace);
var sprite = _previewDummy.GetComponent<SpriteComponent>();
// Front

View File

@@ -16,7 +16,7 @@ namespace Content.IntegrationTests.Tests.Interaction
[TestOf(typeof(UnobstructedExtensions))]
public class InRangeUnobstructed : ContentIntegrationTest
{
private const string HumanId = "BaseHumanMob_Content";
private const string HumanId = "MobHumanBase";
private const float InteractionRange = SharedInteractionSystem.InteractionRange;

View File

@@ -134,7 +134,7 @@ namespace Content.Server.Cloning.Components
return; // If we can't track down the client, we can't offer transfer. That'd be quite bad.
}
var mob = Owner.EntityManager.SpawnEntity("HumanMob_Content", Owner.Transform.MapPosition);
var mob = Owner.EntityManager.SpawnEntity("MobHuman", Owner.Transform.MapPosition);
mob.GetComponent<HumanoidAppearanceComponent>().UpdateFromProfile(dna.Profile);
mob.Name = dna.Profile.Name;

View File

@@ -29,7 +29,7 @@ namespace Content.Server.GameTicking
{
public partial class GameTicker
{
private const string PlayerPrototypeName = "HumanMob_Content";
private const string PlayerPrototypeName = "MobHuman";
private const string ObserverPrototypeName = "MobObserver";
[ViewVariables(VVAccess.ReadWrite)]

View File

@@ -5,7 +5,7 @@
components:
- type: StorageFill
contents:
- id: BeeMob_Content
- id: MobBee
amount: 8
@@ -16,7 +16,7 @@
components:
- type: StorageFill
contents:
- id: ButterflyMob_Content
- id: MobButterfly
amount: 5
@@ -27,7 +27,7 @@
components:
- type: StorageFill
contents:
- id: CatMob_Content
- id: MobCat
amount: 1
@@ -38,7 +38,7 @@
components:
- type: StorageFill
contents:
- id: ChickenMob_Content
- id: MobChicken
amount: 4
@@ -49,7 +49,7 @@
components:
- type: StorageFill
contents:
- id: CorgiMob_Content
- id: MobCorgi
amount: 1
- type: entity
@@ -59,7 +59,7 @@
components:
- type: StorageFill
contents:
- id: CowMob_Content
- id: MobCow
amount: 1
@@ -70,7 +70,7 @@
components:
- type: StorageFill
contents:
- id: GoatMob_Content
- id: MobGoat
amount: 1
@@ -81,7 +81,7 @@
components:
- type: StorageFill
contents:
- id: GooseMob_Content
- id: MobGoose
amount: 2
@@ -92,7 +92,7 @@
components:
- type: StorageFill
contents:
- id: GorillaMob_Content
- id: MobGorilla
amount: 1
@@ -114,7 +114,7 @@
components:
- type: StorageFill
contents:
- id: ParrotMob_Content
- id: MobParrot
amount: 3
@@ -125,7 +125,7 @@
components:
- type: StorageFill
contents:
- id: PenguinMob_Content
- id: MobPenguin
amount: 2
@@ -136,5 +136,5 @@
components:
- type: StorageFill
contents:
- id: SnakeMob_Content
- id: MobSnake
amount: 3

View File

@@ -29,7 +29,7 @@
- state: ai
- type: TimedSpawner
prototypes:
- XenoMob_Content
- MobXeno
chance: 0.85
intervalSeconds: 30
minimumEntitiesSpawned: 2

View File

@@ -12,9 +12,9 @@
- state: ai
- type: ConditionalSpawner
prototypes:
- MouseMob_Content
- MouseMob1_Content
- MouseMob2_Content
- MobMouse
- MobMouse1
- MobMouse2
- type: entity
name: Cat Spawner
@@ -27,9 +27,9 @@
- state: ai
- type: ConditionalSpawner
prototypes:
- CatMob_Content
- CatCalicoMob_Content
- CatCaracalMob_Content
- MobCat
- MobCatCalico
- MobCatCaracal
- type: entity
name: Corgi Spawner
@@ -42,5 +42,5 @@
- state: ai
- type: ConditionalSpawner
prototypes:
- CorgiMob_Content
- IanMob_Content
- MobCorgi
- MobCorgiOld

View File

@@ -4,7 +4,7 @@
- type: entity
name: bat
parent: SimpleMobBase
id: BatMob_Content
id: MobBat
description: Some cultures find them terrifying, others crunchy on the teeth.
components:
- type: MovementSpeedModifier
@@ -38,7 +38,7 @@
- type: entity
name: bee
parent: SimpleMobBase
id: BeeMob_Content
id: MobBee
description: Nice to have, but you can't build a civilization on a foundation of honey alone.
components:
- type: MovementSpeedModifier
@@ -73,7 +73,7 @@
- type: entity
name: chicken
parent: SimpleMobBase
id: ChickenMob_Content
id: MobChicken
description: Comes before an egg, and IS a dinosaur!
components:
- type: Sprite
@@ -104,7 +104,7 @@
- type: entity
name: butterfly
parent: SimpleMobBase
id: ButterflyMob_Content
id: MobButterfly
description: Despite popular misconceptions, it's not actually made of butter.
components:
- type: MovementSpeedModifier
@@ -148,7 +148,7 @@
- type: entity
name: cow
parent: SimpleMobBase
id: CowMob_Content
id: MobCow
description: Moo.
components:
- type: Sprite
@@ -179,7 +179,7 @@
- type: entity
name: crab
parent: SimpleMobBase
id: CrabMob_Content
id: MobCrab
description: A folk legend goes around that his claw snaps spacemen out of existance over distasteful remarks. Be polite and tolerant for your own safety.
components:
- type: Sprite
@@ -211,7 +211,7 @@
- type: entity
name: goat
parent: SimpleMobBase
id: GoatMob_Content
id: MobGoat
description: His spine consists of long sharp segments, no wonder he is so grumpy.
components:
- type: Sprite
@@ -243,7 +243,7 @@
- type: entity
name: goose
parent: SimpleMobBase
id: GooseMob_Content
id: MobGoose
description: Its stomach and mind are an enigma beyond human comprehension.
components:
- type: Sprite
@@ -274,7 +274,7 @@
- type: entity
name: gorilla
parent: SimpleMobBase
id: GorillaMob_Content
id: MobGorilla
description: Smashes, roars, looks cool. Don't stand near one.
components:
- type: Sprite
@@ -304,7 +304,7 @@
- type: entity
name: monkey
id: MonkeyMob_Content
id: MobMonkey
parent: SimpleMobBase
description: New church of neo-darwinists actually believe that EVERY animal evolved from a monkey. Tastes like pork, and killing them is both fun and relaxing.
components:
@@ -339,7 +339,7 @@
- type: entity
name: mouse
parent: SimpleMobBase
id: MouseMob_Content
id: MobMouse
description: Squeak!
components:
- type: GhostTakeoverAvailable
@@ -395,8 +395,8 @@
- type: MouseAccent
- type: entity
parent: MouseMob_Content
id: MouseMob1_Content
parent: MobMouse
id: MobMouse1
components:
- type: Sprite
drawdepth: Mobs
@@ -415,8 +415,8 @@
dead: splat-1
- type: entity
parent: MouseMob_Content
id: MouseMob2_Content
parent: MobMouse
id: MobMouse2
components:
- type: Sprite
drawdepth: Mobs
@@ -438,7 +438,7 @@
- type: entity
name: parrot
parent: SimpleMobBase
id: ParrotMob_Content
id: MobParrot
description: Infiltrates your domain, spies on you, and somehow still a cool pet.
components:
- type: MovementSpeedModifier
@@ -472,7 +472,7 @@
- type: entity
name: penguin
parent: SimpleMobBase
id: PenguinMob_Content
id: MobPenguin
description: Their lives are constant pain due to their inner-body knees.
components:
- type: Sprite
@@ -503,7 +503,7 @@
- type: entity
name: snake
parent: SimpleMobBase
id: SnakeMob_Content
id: MobSnake
description: Hissss! Bites aren't poisonous.
components:
- type: Sprite
@@ -537,7 +537,7 @@
- type: entity
name: tarantula
parent: SimpleMobBase
id: GiantSpiderMob_Content
id: MobGiantSpider
description: Widely recognized to be the literal worst thing in existence.
components:
- type: Sprite

View File

@@ -1,6 +1,6 @@
- type: entity
name: space carp
id: CarpMob_Content
id: MobCarp
parent: SimpleMobBase
description: It's a space carp.
components:
@@ -44,8 +44,8 @@
- type: entity
name: magicarp
parent: CarpMob_Content
id: MagicarpMob_Content
parent: MobCarp
id: MobCarpMagic
description: Looks like some kind of fish. Might be magical.
components:
- type: Sprite
@@ -57,8 +57,8 @@
- type: entity
name: holocarp
parent: CarpMob_Content
id: HolocarpMob_Content
parent: MobCarp
id: MobCarpHolo
description: Carp made out of holographic energies.
components:
- type: Sprite

View File

@@ -1,8 +1,8 @@
- type: entity
save: false
name: Pathfinding Dummy
parent: BaseHumanMob_Content
id: HumanMob_PathDummy
parent: MobHumanBase
id: MobHumanPathDummy
description: A miserable pile of secrets.
suffix: AI
components:

View File

@@ -1,7 +1,7 @@
- type: entity
name: Civilian
parent: BaseHumanMob_Content
id: HumanMob_Civilian
parent: MobHumanBase
id: MobCivilian
description: A miserable pile of secrets.
components:
- type: UtilityAI
@@ -17,8 +17,8 @@
- type: entity
name: Spirate
parent: BaseHumanMob_Content
id: HumanMob_Spirate
parent: MobHumanBase
id: MobSpirate
description: Yarr!
components:
- type: UtilityAI

View File

@@ -1,6 +1,6 @@
- type: entity
name: Mimic
id: MimicMob_Content
id: MobMimic
parent: SimpleMobBase
description: Surprise. # When this gets a proper write this should use the object's actual description >:)
components:

View File

@@ -4,7 +4,7 @@
- type: entity
name: corgi
parent: SimpleMobBase
id: CorgiMob_Content
id: MobCorgi
description: Finally, a space corgi!
components:
- type: Sprite
@@ -33,8 +33,8 @@
- type: entity
name: ian
parent: CorgiMob_Content
id: IanMob_Content
parent: MobCorgi
id: MobCorgiOld
description: Favorite pet corgi.
components:
- type: Sprite
@@ -52,7 +52,7 @@
- type: entity
name: cat
parent: SimpleMobBase
id: CatMob_Content
id: MobCat
description: Feline pet, very funny.
components:
- type: Sprite
@@ -81,8 +81,8 @@
- type: entity
name: calico cat
id: CatCalicoMob_Content
parent: CatMob_Content
id: MobCatCalico
parent: MobCat
description: Feline pet, very funny.
components:
- type: Sprite
@@ -99,8 +99,8 @@
- type: entity
name: caracal cat
id: CatCaracalMob_Content
parent: CatMob_Content
id: MobCatCaracal
parent: MobCat
description: Hilarious.
components:
- type: Sprite
@@ -118,7 +118,7 @@
- type: entity
name: sloth
parent: SimpleMobBase
id: SlothMob_Content
id: MobSloth
description: Very slow animal. For people with low energy.
components:
- type: MovementSpeedModifier

View File

@@ -1,7 +1,7 @@
# Hacky for the stress test so don't even consider adding to this
- type: entity
name: Xeno
id: XenoMob_Content
id: MobXeno
parent: SimpleMobBase
description: They mostly come at night. Mostly.
components:

View File

@@ -1,8 +1,8 @@
- type: entity
save: false
name: Urist McHands
parent: BaseHumanMob_Content
id: HumanMob_Content
parent: MobHumanBase
id: MobHuman
description: A miserable pile of secrets.
components:
- type: Mind
@@ -27,8 +27,8 @@
- type: entity
name: centcom official
parent: HumanMob_Content
id: HumanMob_CentcomOfficial
parent: MobHuman
id: MobHumanCentcomOfficial
components:
- type: Icon
sprite: Markers/jobs.rsi

View File

@@ -1,8 +1,8 @@
# Anything human specific (e.g. UI, input) goes under HumanMob_Content
# Anything human specific (e.g. UI, input) goes under MobHuman
- type: entity
save: false
name: Urist McHands
id: BaseHumanMob_Content
id: MobHumanBase
description: A miserable pile of secrets.
abstract: true
components:
@@ -278,7 +278,7 @@
- type: entity
save: false
name: Urist McHands
id: HumanMob_Dummy
id: MobHumanDummy
abstract: true
description: A dummy human meant to be used in character setup.
components:

View File

@@ -1,6 +1,6 @@
- type: entity
name: Slime Person
parent: HumanMob_Content
parent: MobHuman
id: BaseSlimePerson
description: A miserable pile of slime.
abstract: true

View File

@@ -1,6 +1,5 @@
# Vox bad. moff best.
- type: entity
parent: HumanMob_Content
- type: entity
parent: MobHuman
abstract: True
id: BaseVox
components:

View File

@@ -25,7 +25,7 @@
reagents:
- Water
- type: Rehydratable
target: MonkeyMob_Content
target: MobMonkey
- type: CollisionWake
enabled: false
- type: Physics
@@ -66,7 +66,7 @@
reagents:
- Water
- type: Rehydratable
target: CarpMob_Content
target: MobCarp
- type: CollisionWake
enabled: false
- type: Physics