Skip to content

Commit

Permalink
add: Gondola
Browse files Browse the repository at this point in the history
  • Loading branch information
Spatison committed Oct 22, 2024
1 parent 9131814 commit 7e2d598
Show file tree
Hide file tree
Showing 40 changed files with 342 additions and 15 deletions.
Binary file added Resources/Audio/_White/Voice/Gondola/ehh.ogg
Binary file not shown.
Binary file added Resources/Audio/_White/Voice/Gondola/ehh2.ogg
Binary file not shown.
Binary file added Resources/Audio/_White/Voice/Gondola/ehh3.ogg
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ghost-role-information-gondola-name = Gondola
ghost-role-information-gondola-description = You're a gondola.
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/_white/reagents/meta/fun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
reagent-name-tranquility = tranquility
reagent-desc-tranquility = Emits a strange aura of tranquility...
1 change: 1 addition & 0 deletions Resources/Locale/en-US/_white/reagents/tranquility.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tranquility-effect = You feel strangely calm...
6 changes: 6 additions & 0 deletions Resources/Locale/en-US/_white/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ uplink-mind-slave-desc = Capture the mind of a living being and order him to thr
uplink-blood-dagger-name = Blood dagger
uplink-blood-dagger-desc = A dagger of pain and blood. It has deadly accuracy, allowing you to deal critical damage and extract blood from opponents, treating the owner in proportion to the sucked blood. When absorbing the owner's blood, it briefly enhances his valuable profuse bleeding.
uplink-blood-dagger-name = Blood dagger
uplink-blood-dagger-desc = A dagger of pain and blood. It has deadly accuracy, allowing you to deal critical damage and extract blood from opponents, treating the owner in proportion to the sucked blood. When absorbing the owner's blood, it briefly enhances his valuable profuse bleeding.
uplink-gondola-name = Gondola crate
uplink-gondola-desc = A crate containing a single Gondola. The meat of the Gondola contains tranquility reagent.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ghost-role-information-gondola-name = Гондола
ghost-role-information-gondola-description = Ты Гондола
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-CrateNPCGondola = ящик с Гондолой
.desc = Ящик содержащий в себе одну Гондолу.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ent-SpawnMobGondola = спавнер Гондолы
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ent-MobGondola = Гондола
.desc = Не имея рук, он воплощает даосский принцип у-вэй (бездействия), а выражение его улыбающегося лица показывает его полное принятие мира таким, какой он есть.
.desc = Не имея рук, он воплощает даосский принцип у-вэй (бездействия), а выражение его улыбающегося лица показывает его полное принятие мира таким, какой он есть.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-FoodMeatGondola = сырое мясо Гондолы
.desc = Ты чудовище.
ent-FoodMeatGondolaCooked = стейк из Гондолы
.desc = Приготовленное мясо Гондолы...
4 changes: 0 additions & 4 deletions Resources/Locale/ru-RU/_white/reagents/fun.ftl

This file was deleted.

2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/_white/reagents/meta/fun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
reagent-name-tranquility = спокойствие
reagent-desc-tranquility = Излучает странную ауру спокойствия...

This file was deleted.

1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_white/reagents/tranquility.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tranquility-effect = Ты чувствуешь себя странно спокойным...
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/_white/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ uplink-mind-slave-desc = Захватите разум живого сущест
uplink-blood-dagger-name = Кровавый кинжал
uplink-blood-dagger-desc = Кинжал из боли и крови. Обладает смертоносной точностью, позволяя наносить критический урон и извлекать кровь из противников, леча владельца пропорционально высосанной крови. При поглощении крови владельца кратковременно усиливает его ценной обильного кровотечения.
uplink-gondola-name = Ящик с Гондолой
uplink-gondola-desc = Ящик, содержащий одну стандартную Гондолу. Мясо Гондолы содержит реагент "Спокойствие".

This file was deleted.

This file was deleted.

5 changes: 5 additions & 0 deletions Resources/Prototypes/_White/Accents/full_replacements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- type: accent
id: gondola
fullReplacements:
- accent-words-gondola-1

9 changes: 9 additions & 0 deletions Resources/Prototypes/_White/Catalog/Fills/Crates/npc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- type: entity
parent: CrateLivestock
id: CrateNPCGondola
name: Gondola crate
description: A crate containing a single Gondola.
components:
- type: StorageFill
contents:
- id: MobGondola
11 changes: 11 additions & 0 deletions Resources/Prototypes/_White/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,14 @@
tags:
- NukeOpsUplink
saleLimit: 1

- type: listing
id: UplinkCrateNPCGondola
name: uplink-gondola-name
description: uplink-gondola-desc
icon: { sprite: /Textures/_White/Mobs/Animals/gondola.rsi, state: icon }
productEntity: CrateNPCGondola
cost:
Telecrystal: 2
categories:
- UplinkUtility
13 changes: 13 additions & 0 deletions Resources/Prototypes/_White/Entities/Markers/Spawners/mobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: entity
parent: MarkerBase
id: SpawnMobGondola
name: Gondola spawner
components:
- type: Sprite
layers:
- state: green
- sprite: _White/Mobs/Animals/gondola.rsi
state: icon
- type: ConditionalSpawner
prototypes:
- MobGondola
94 changes: 94 additions & 0 deletions Resources/Prototypes/_White/Entities/Mobs/NPCs/gondola.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
- type: entity
parent:
- MobRespirator
- MobAtmosStandard
- BaseSimpleMob
- MobBloodstream
- MobFlammable
id: MobGondola
name: Gondola
description: Having no hands, he embodies the Taoist principle of Wu wei (inaction), and the expression on his smiling face shows his complete acceptance of the world as it is.
components:
- type: FloatingVisuals
- type: RotationVisuals
defaultRotation: 90
horizontalRotation: 90
- type: Sprite
sprite: _White/Mobs/Animals/gondola.rsi
layers:
- state: gondola_body_medium
map: [ "enum.DamageStateVisualLayers.Base" ]
color: "#6e4e40"
shader: unshaded
- state: gondola_moustache_large_short
map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
shader: unshaded
- type: RandomSprite
available:
- enum.DamageStateVisualLayers.Base:
gondola_body_long: Browns
gondola_body_medium: Browns
enum.DamageStateVisualLayers.BaseUnshaded:
gondola_moustache_large: ""
gondola_moustache_small: ""
- enum.DamageStateVisualLayers.Base:
gondola_body_medium: Browns
gondola_body_short: Browns
enum.DamageStateVisualLayers.BaseUnshaded:
gondola_moustache_large_short: ""
gondola_moustache_small_short: ""
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.2
density: 50
mask:
- MobMask
layer:
- MobLayer
- type: Butcherable
spawned:
- id: FoodMeatGondola
amount: 3
- type: Bloodstream
bloodMaxVolume: 150
- type: Damageable
damageContainer: Biological
damageModifierSet: Scale
- type: Tag
tags:
- VimPilot
- type: MovementSpeedModifier
baseWalkSpeed: 1
baseSprintSpeed: 2
- type: Speech
speechVerb: Gondola
speechSounds: Gondola
- type: ReplacementAccent
accent: gondola
- type: HTN
rootTask:
task: IdleCompound
- type: Body
prototype: Animal
- type: NameIdentifier
group: GenericNumber
- type: SlowOnDamage
speedModifierThresholds:
60: 0.7
80: 0.5
- type: MobPrice
price: 1000
- type: Perishable
- type: GhostRole
makeSentient: true
allowSpeech: true
allowMovement: true
name: ghost-role-information-gondola-name
description: ghost-role-information-gondola-description
- type: GhostTakeoverAvailable
- type: NpcFactionMember
factions:
- Passive
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# RAW

- type: entity
parent: FoodMeatRawBase
id: FoodMeatGondola
name: raw Gondola meat
description: You're a monster.
components:
- type: Sprite
state: plain
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: UncookedAnimalProteins
Quantity: 9
- ReagentId: Fat
Quantity: 9
- ReagentId: Tranquility
Quantity: 10
- type: Construction
graph: GondolaSteak
node: start
defaultTarget: gondola steak

# COOKED

- type: entity
parent: FoodMeatBase
id: FoodMeatGondolaCooked
name: Gondola steak
description: Cooked Gondola meat...
components:
- type: Tag
tags:
- Cooked
- Meat
- Steak
- type: Sprite
layers:
- state: plain-cooked
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Nutriment
Quantity: 5
- ReagentId: Protein
Quantity: 5
- ReagentId: Tranquility
Quantity: 15
- type: Construction
graph: GondolaSteak
node: gondola steak
8 changes: 8 additions & 0 deletions Resources/Prototypes/_White/Palettes/brown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: palette
id: Browns
name: brown
colors:
brown: "#6e4e40"
brown1: "#593d31"
brown2: "#6e4330"
brown3: "#73422d"
11 changes: 11 additions & 0 deletions Resources/Prototypes/_White/Polymorphs/polymorph.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- type: polymorph
id: Gondola
configuration:
entity: MobGondola
forced: true
transferName: false
transferHumanoidAppearance: false
inventory: Drop
revertOnDeath: true
revertOnCrit: false
duration: 900
40 changes: 40 additions & 0 deletions Resources/Prototypes/_White/Reagents/fun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
- type: reagent
id: Tranquility
group: Toxins
name: reagent-name-tranquility
desc: reagent-desc-tranquility
physicalDesc: reagent-physical-desc-calming
flavor: mindful
color: "#915E48"
metabolisms:
Poison:
metabolismRate: 0.25
effects:
- !type:PopupMessage
type: Local
messages: [ "tranquility-effect" ]
probability: 0.2
- !type:GenericStatusEffect
key: Muted
component: Muted
refresh: false
type: Add
conditions:
- !type:ReagentThreshold
min: 5
- !type:GenericStatusEffect
key: Pacified
component: Pacified
refresh: false
type: Add
conditions:
- !type:ReagentThreshold
min: 10
- !type:Polymorph
prototype: Gondola
conditions:
- !type:OrganType
type: Animal
shouldHave: false
- !type:ReagentThreshold
min: 30
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: constructionGraph
id: GondolaSteak
start: start
graph:
- node: start
edges:
- to: gondola steak
completed:
- !type:PlaySound
sound: /Audio/Effects/sizzle.ogg
steps:
- minTemperature: 345
- node: gondola steak
entity: FoodMeatGondolaCooked
8 changes: 8 additions & 0 deletions Resources/Prototypes/_White/Voice/speech_sounds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: speechSounds
id: Gondola
saySound:
path: /Audio/_White/Voice/Gondola/ehh.ogg
askSound:
path: /Audio/_White/Voice/Gondola/ehh2.ogg
exclaimSound:
path: /Audio/_White/Voice/Gondola/ehh3.ogg
6 changes: 6 additions & 0 deletions Resources/Prototypes/_White/Voice/speech_verbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- type: speechVerb
id: Gondola
name: chat-speech-verb-name-gondola
speechVerbStrings:
- chat-speech-verb-gondola-1
- chat-speech-verb-gondola-2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7e2d598

Please sign in to comment.