Skip to content

Commit

Permalink
Add spider queen antag (SerbiaStrong-220#1553)
Browse files Browse the repository at this point in the history
* Add spider queen antag

* Return webtables

* Fix spider actions
  • Loading branch information
Kirus59 authored Aug 9, 2024
1 parent 2d37e46 commit a7af65d
Show file tree
Hide file tree
Showing 22 changed files with 1,613 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Resources/Locale/ru-RU/ss220/actions/spider-actions.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
action-speech-spell-spider = Кссс...!??
ent-ActionSpawnSpiderEggDrone = Яйцо охранного паука
.desc = Он же трутень, может строить кристаллы и стены.
ent-ActionSpawnSpiderEggHunter = Яйцо паука охотника
ent-ActionSpawnSpiderEggGhost = Яйцо паука призрака
ent-ActionSpawnSpiderEggShooter = Яйцо паука стрелка
ent-ActionSpawnSpiderLittle = Выпустить паучат
.desc = Выпускает трёх маленьких пауков, которые атакуют вашу добычу. Пауки исчезают через 20 секунд.
ent-ActionSpawnSpiderCrystal = Создать осколок кристалла
.desc = Осколок, который служит подсветкой для пауков.
ent-ActionSpawnSpiderWallWeb = Создать стену
ent-ActionSpawnSpiderWallWebDurable = Создать прочную стену
ent-ActionSpawnSingleSpiderWebShortDelay = Пустить паутину
.desc = Создаёт паутину, которая замедляет вашу добычу.
ent-ActionSpawnSingleSpiderWebLongDelay = { ent-ActionSpawnSingleSpiderWebShortDelay }
.desc = { ent-ActionSpawnSingleSpiderWebShortDelay.desc }
ent-ActionSpawnSingleSpiderWebDurable = Пустить прочную паутину
.desc = { ent-ActionSpawnSingleSpiderWebShortDelay.desc }
ent-ActionSpawnSingleSpiderWebClown = Пустить клоунскую паутину
.desc = { ent-ActionSpawnSingleSpiderWebShortDelay.desc }
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/ss220/consumable/food.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-EggshellsSpider = скорлупа
.desc = Ты ходишь по ней, приятель.
.suffix = Улей пауков
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/ss220/headset-component.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ chat-radio-alpha = Альфа
chat-radio-omega = Омега
chat-radio-traders = Торговцы
chat-radio-honk = Хонк-сквад
chat-radio-hive = Улей
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/ss220/materials/crystal-shard.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-ShardCrystalBlueXeno = осколок синего хрусталя
.desc = Маленький кусочек хрусталя.
15 changes: 15 additions & 0 deletions Resources/Locale/ru-RU/ss220/misc/spider-eggs.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ent-SpiderEggHunter = яйцо паука охотника
.desc = Это драгоценный камень? Это яйцо? Оно выглядит дорогим.
.suffix = Улей пауков
ent-SpiderEggDrone = яйцо охранного паука
.desc = { ent-SpiderEggHunter.desc }
.suffix = { ent-SpiderEggHunter.suffix }
ent-SpiderEggGhost = яйцо паука призрака
.desc = { ent-SpiderEggHunter.desc }
.suffix = { ent-SpiderEggHunter.suffix }
ent-SpiderEggShooter = яйцо паука стрелка
.desc = { ent-SpiderEggHunter.desc }
.suffix = { ent-SpiderEggHunter.suffix }
34 changes: 34 additions & 0 deletions Resources/Locale/ru-RU/ss220/misc/spider-implants.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
ent-LightImplantSpiderEggDrone = Яйцо охранного паука
.desc = Он же трутень, может строить кристаллы и стены.
ent-LightImplantSpiderEggHunter = Яйцо паука охотника
ent-LightImplantSpiderEggGhost = Яйцо паука призрака
ent-LightImplantSpiderEggShooter = Яйцо паука стрелка
ent-LightImplantSpiderLittle = Выпустить паучат
.desc = Выпускает трёх маленьких пауков, которые атакуют вашу добычу. Пауки исчезают через 20 секунд.
ent-LightImplantSpiderCrystal = Создать осколок кристалла
.desc = Осколок, который служит подсветкой для пауков.
ent-LightImplantSpiderWallWeb = Создать стену
ent-LightImplantSpiderWallWebDurable = Создать прочную стену
ent-LightImplantSingleSpiderWebShortDelay = Пустить паутину
.desc = Создаёт паутину, которая замедляет вашу добычу.
ent-LightImplantSingleSpiderWebLongDelay = { ent-LightImplantSingleSpiderWebShortDelay }
.desc = { ent-LightImplantSingleSpiderWebShortDelay.desc }
ent-LightImplantSingleSpiderWebDurable = Пустить прочную паутину
.desc = { ent-LightImplantSingleSpiderWebShortDelay.desc }
ent-LightImplantSingleSpiderWebClown = Пустить клоунскую паутину
.desc = { ent-LightImplantSingleSpiderWebShortDelay.desc }
11 changes: 11 additions & 0 deletions Resources/Locale/ru-RU/ss220/misc/spider-web.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ent-SpiderWebFragile = паутина
.desc = Липкая паутина.. Интересно, откуда она?
.suffix = Улей пауков
ent-SpiderWebDurable = прочная паутина
.desc = { ent-SpiderWebFragile.desc }
.suffix = { ent-SpiderWebFragile.suffix }
ent-SpiderWebDespawned = паутина
.desc = { ent-SpiderWebFragile.desc }
.suffix = { ent-SpiderWebFragile.suffix }
26 changes: 26 additions & 0 deletions Resources/Locale/ru-RU/ss220/mobs/spider-queen.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
spider-roy-name = Паук улья
spider-roy-desc = Ваша задача — построить максимально большой улей. Защищайте свою королеву всеми возможными способами. Не позволяйте причинить вред потомству. Экипаж - ваша пища.
ent-MobSpiderSpaceQueen = королева пауков
.desc = Он так светится, что выглядит опасным.
.suffix = Улей пауков
ent-MobSpiderSpaceDrone = паук охранник
.desc = { ent-MobSpiderSpaceQueen.desc }
.suffix = { ent-MobSpiderSpaceQueen.suffix }
ent-MobSpiderSpaceHunter = паук охотник
.desc = { ent-MobSpiderSpaceQueen.desc }
.suffix = { ent-MobSpiderSpaceQueen.suffix }
ent-MobSpiderSpaceGhost = паук призрак
.desc = { ent-MobSpiderSpaceQueen.desc }
.suffix = { ent-MobSpiderSpaceQueen.suffix }
ent-MobSpiderSpaceShooter = паук стрелок
.desc = { ent-MobSpiderSpaceQueen.desc }
.suffix = { ent-MobSpiderSpaceQueen.suffix }
ent-MobSpiderSpaceLittle = паучок
.desc = { ent-MobSpiderSpaceQueen.desc }
.suffix = { ent-MobSpiderSpaceQueen.suffix }
19 changes: 19 additions & 0 deletions Resources/Locale/ru-RU/ss220/strucrure/spider-structures.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ent-TableWebSpiders = каркас стены из паутины
.desc = Очень гладкий и удивительно прочный.
.suffix = Улей пауков
ent-FloorTileItemWebSpiders = конструкция из паутины
.desc = { ent-TableWebSpiders.desc }
.suffix = { ent-TableWebSpiders.suffix }
ent-FloorTileItemWebSpidersDurable = конструкция из паутины
.desc = { ent-TableWebSpiders.desc }
.suffix = { ent-TableWebSpiders.suffix }
ent-TableWebSpidersDurable = каркас стены из паутины
.desc = { ent-TableWebSpiders.desc }
.suffix = { ent-TableWebSpiders.suffix }
ent-WallWebDurable = прочная паутинная стена
.desc = Удерживает паучат внутри, а ассистентов снаружи.
.suffix = { ent-TableWebSpiders.suffix }
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/ss220/weapons/projectiles.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ent-PoisonousAcid = ядовитый плевой
227 changes: 227 additions & 0 deletions Resources/Prototypes/SS220/Actions/Spider_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
#Base
- type: entity
id: BaseActionSpawnSpiderEgg
abstract: true
components:
- type: WorldTargetAction
useDelay: 200
range: 1
itemIconStyle: BigAction
icon:
sprite: Objects/Misc/eggspider.rsi
state: icon
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderEggDrone
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

- type: entity
id: BaseActionSpawnSingleSpiderWeb
name: spin a web
description: Creates a web that slows down your prey.
abstract: true
components:
- type: WorldTargetAction
useDelay: 4
range: 1.5
itemIconStyle: BigAction
icon:
sprite: Objects/Misc/spiderweb.rsi
state: spider_web_1
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderWebFragile
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

#Egg
- type: entity
parent: BaseActionSpawnSpiderEgg
id: ActionSpawnSpiderEggDrone
name: guard spider egg
description: He is also a drone and can build crystals and walls.
noSpawn: true
components:
- type: WorldTargetAction
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderEggDrone
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

- type: entity
parent: BaseActionSpawnSpiderEgg
id: ActionSpawnSpiderEggHunter
name: hunter spider egg
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 300 #КД
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderEggHunter
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

- type: entity
parent: BaseActionSpawnSpiderEgg
id: ActionSpawnSpiderEggGhost
name: ghost spider egg
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 350
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderEggGhost
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

- type: entity
parent: BaseActionSpawnSpiderEgg
id: ActionSpawnSpiderEggShooter
name: shooter spider egg
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 380
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderEggShooter
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

#Spider
- type: entity
id: ActionSpawnSpiderLittle
name: release the spiderlings
description: Releases three small spiders that attack your prey. The spiders disappear after 20 seconds.
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 40
range: 2
itemIconStyle: BigAction
icon:
sprite: Mobs/Animals/spider.rsi
state: viper_dead
event: !type:WorldSpawnSpellEvent
prototypes:
- id: MobSpiderSpaceLittle
amount: 3
offset: 0, 1
speech: action-speech-spell-spider

#Cryctal
- type: entity
id: ActionSpawnSpiderCrystal
name: create a crystal shard
description: A shard that serves as a backlight for spiders.
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 30
range: 1
itemIconStyle: BigAction
icon:
sprite: Structures/Decoration/crystal.rsi
state: crystal1
event: !type:WorldSpawnSpellEvent
prototypes:
- id: ShardCrystalBlueXeno
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

#Wall
- type: entity
id: ActionSpawnSpiderWallWeb
name: create a wall
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 12
range: 1.5
itemIconStyle: BigAction
icon:
sprite: Structures/Walls/web.rsi
state: full
event: !type:WorldSpawnSpellEvent
prototypes:
- id: TableWebSpiders
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

- type: entity
parent: ActionSpawnSpiderWallWeb
id: ActionSpawnSpiderWallWebDurable
name: create a durable wall
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 16
event: !type:WorldSpawnSpellEvent
prototypes:
- id: TableWebSpidersDurable
amount: 1

#Web
- type: entity
parent: BaseActionSpawnSingleSpiderWeb
id: ActionSpawnSingleSpiderWebShortDelay
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 2

- type: entity
parent: BaseActionSpawnSingleSpiderWeb
id: ActionSpawnSingleSpiderWebLongDelay
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 6

- type: entity
parent: BaseActionSpawnSingleSpiderWeb
id: ActionSpawnSingleSpiderWebDurable
name: spin a durable web
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 4
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderWebDurable
amount: 1
offset: 0, 1
speech: action-speech-spell-spider

#Clown web
- type: entity
id: ActionSpawnSingleSpiderWebClown
name: spin a clown web
description: Creates a web that slows down your prey.
noSpawn: true
components:
- type: WorldTargetAction
useDelay: 30 #КД
range: 1.3
itemIconStyle: BigAction
icon:
sprite: Objects/Misc/spiderweb.rsi
state: spider_web_clown_1
event: !type:WorldSpawnSpellEvent
prototypes:
- id: SpiderWebClown
amount: 1
offset: 0, 1
speech: action-speech-spell-spider
Loading

0 comments on commit a7af65d

Please sign in to comment.