Added Derelict Cyborg midround event.

This commit is contained in:
The Canned One
2024-09-28 10:18:40 +02:00
parent 602541b548
commit c3fa1b45d0
7 changed files with 67 additions and 1 deletions

View File

@@ -240,6 +240,10 @@ ghost-role-information-syndicate-cyborg-assault-name = Syndicate Assault Cyborg
ghost-role-information-syndicate-cyborg-saboteur-name = Syndicate Saboteur Cyborg
ghost-role-information-syndicate-cyborg-description = The Syndicate needs reinforcements. You, a cold silicon killing machine, will help them.
ghost-role-information-derelict-cyborg-name = Derelict Cyborg
ghost-role-information-derelict-cyborg-description = You were a regular cyborg that got lost in space. After drifting in whichever direction the laws of physics would have it for years, you have drifted close to a Nanotrasen space station... You are bound by silicon laws. Check them upon spawning.
ghost-role-information-security-name = Security
ghost-role-information-security-description = You are part of a security task force, but seem to have found yourself in a strange situation...

View File

@@ -0,0 +1,4 @@
derelict-cyborg-round-end-agent-name = derelict cyborg
derelict-cyborg-role-greeting =
You are a cyborg that has been lost in space for many years that has now drifted close to a space station. You can use your fire extinguisher and GPS to get board the station. Remember to follow your laws. #Greeting is unused for now.

View File

@@ -170,3 +170,21 @@
- state: green
- sprite: Objects/Weapons/Melee/energykatana.rsi
state: icon
- type: entity
categories: [ HideSpawnMenu, Spawner ]
parent: BaseAntagSpawner
id: SpawnPointGhostDerelictCyborg
components:
- type: GhostRole
name: ghost-role-information-derelict-cyborg-name
description: ghost-role-information-derelict-cyborg-description
rules: ghost-role-information-silicon-rules
raffle:
settings: default
- type: Sprite
sprite: Markers/jobs.rsi
layers:
- state: green
- sprite: Mobs/Silicon/chassis.rsi
state: derelict_icon

View File

@@ -551,3 +551,16 @@
cell_slot:
name: power-cell-slot-component-slot-name-default
startingItem: PowerCellHigh
- type: entity
id: PlayerBorgDerelictGhostRole
parent: PlayerBorgDerelictBattery
suffix: Battery, Ghost role
components:
- type: GhostRole
name: ghost-role-information-derelict-cyborg-name
description: ghost-role-information-derelict-cyborg-description
rules: ghost-role-information-silicon-rules
raffle:
settings: default
- type: GhostTakeoverAvailable

View File

@@ -35,6 +35,7 @@
- id: RevenantSpawn
- id: SleeperAgents
- id: ZombieOutbreak
- id: DerelictCyborgSpawn
- type: entity
id: BaseStationEvent
@@ -545,3 +546,25 @@
maxOccurrences: 1 # this event has diminishing returns on interesting-ness, so we cap it
weight: 5
- type: MobReplacementRule
- type: entity
parent: BaseGameRule
id: DerelictCyborgSpawn
components:
- type: StationEvent
weight: 2 #Low until it spawns with a random lawset instead of just antimov.
earliestStart: 15
reoccurrenceDelay: 20
minimumPlayers: 7
duration: null
- type: SpaceSpawnRule
spawnDistance: 0
- type: AntagSpawner
prototype: PlayerBorgDerelict
- type: AntagSelection
agentName: derelict-cyborg-round-end-agent-name
definitions:
- spawnerPrototype: SpawnPointGhostDerelictCyborg
min: 1
max: 1
pickPlayer: false

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -1,5 +1,5 @@
{
"version": 1,
"version": 2,
"size": {
"x": 32,
"y": 32
@@ -31,6 +31,10 @@
"name": "derelict_e_r",
"directions": 4
},
{
"name": "derelict_icon",
"directions": 1
},
{
"name": "derelict_l",
"directions": 4