Use Segments for RandomMetadata (#11190)

* use segments for randomized names now

* separator datafields

* public api
This commit is contained in:
Nemanja
2022-09-14 03:13:22 -04:00
committed by GitHub
parent f14f3d4999
commit cff6fe267c
7 changed files with 43 additions and 38 deletions

View File

@@ -113,6 +113,10 @@
- TongueTwister
- type: MobPrice
price: 2500 # rat wealth
- type: RandomMetadata
nameSegments:
- RegalRatNameKingdom
- RegalRatNameTitle
- type: entity
id: MobRatKingBuff

View File

@@ -64,7 +64,7 @@
- type: Loadout
prototype: ERTLeaderGear
- type: RandomMetadata
nameSet: NamesFirstMilitaryLeader
nameSegments: [NamesFirstMilitaryLeader]
- type: RandomHumanoidAppearance
randomizeName: false
@@ -197,7 +197,7 @@
- type: Loadout
prototype: SyndicateOperativeGearExtremelyBasic
- type: RandomMetadata
nameSet: names_death_commando
nameSegments: [names_death_commando]
# Nuclear Operative
- type: entity

View File

@@ -236,7 +236,7 @@
- Cargo
- Maintenance
- type: RandomMetadata
descriptionSet: ATVDescriptions
descriptionSegments: [ATVDescriptions]
- type: MovementSpeedModifier
acceleration: 1
friction: 1