[Feature] Gondola (#475)

This commit is contained in:
PuroSlavKing
2024-07-21 19:53:20 +03:00
committed by GitHub
parent c20ad22dd4
commit f2733e6e0c
30 changed files with 329 additions and 0 deletions

View File

@@ -0,0 +1 @@
accent-words-gondola-1 = ...

View File

@@ -0,0 +1,3 @@
chat-speech-verb-name-gondola = Гондола
chat-speech-verb-gondola-1 = уставляется взглядом
chat-speech-verb-gondola-2 = тяжело дышит

View File

@@ -0,0 +1 @@
reagent-popup-tranquility = Вы чувствуете себя странно спокойными...

View File

@@ -0,0 +1 @@
reagent-physical-desc-calming = успокаивающий

View File

@@ -0,0 +1,2 @@
uplink-gondola-name = Ящик с Гондолой
uplink-gondola-desc = Ящик, содержащий одну стандартную Гондолу.

View File

@@ -0,0 +1,5 @@
ent-FoodMeatGondola = сырое мясо Гондолы
.desc = Ты монстр.
ent-FoodMeatGondolaCooked = стейк из Гондолы
.desc = Приготовленное мясо Гондолы...

View File

@@ -0,0 +1,4 @@
- type: accent
id: gondola
fullReplacements:
- accent-words-gondola-1

View File

@@ -0,0 +1,9 @@
- type: entity
parent: CrateLivestock
id: CrateNPCGondola
name: ящик с Гондолой
description: Ящик содержащий в себе Гондолу.
components:
- type: StorageFill
contents:
- id: MobGondola

View File

@@ -292,3 +292,14 @@
categories:
- UplinkDisruption
saleLimit: 2
- 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:
- UplinkDisruption

View File

@@ -0,0 +1,13 @@
- type: entity
parent: MarkerBase
id: SpawnMobGondola
name: спавнер Гондола
components:
- type: Sprite
layers:
- state: green
- sprite: White/Mobs/Animals/gondola.rsi
state: icon
- type: ConditionalSpawner
prototypes:
- MobGondola

View File

@@ -0,0 +1,96 @@
- type: entity
parent:
- MobRespirator
- MobAtmosStandard
- BaseSimpleMob
- MobBloodstream
- MobFlammable
id: MobGondola
name: Гондола
description: Не имея рук, он воплощает даосский принцип у-вэй (бездействия), а выражение его улыбающегося лица показывает его полное принятие мира таким, какой он есть.
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: GondolaBrowns
gondola_body_medium: GondolaBrowns
enum.DamageStateVisualLayers.BaseUnshaded:
gondola_moustache_large: ""
gondola_moustache_small: ""
- enum.DamageStateVisualLayers.Base:
gondola_body_medium: GondolaBrowns
gondola_body_short: GondolaBrowns
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: GoofyAhh
- 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: Гондола
description: Ты Гондола.
raffle:
settings: default
- type: GhostTakeoverAvailable
- type: NpcFactionMember
factions:
- Passive

View File

@@ -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

View File

@@ -0,0 +1,8 @@
- type: palette
id: GondolaBrowns
name: коричневая Гондола
colors:
brown: "#6e4e40"
brown1: "#593d31"
brown2: "#6e4330"
brown3: "#73422d"

View File

@@ -0,0 +1,10 @@
- type: polymorph
id: Gondola
configuration:
entity: MobGondola
forced: true
transferName: false
transferHumanoidAppearance: false
inventory: Drop
revertOnDeath: true
revertOnCrit: false

View File

@@ -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: [ "reagent-popup-tranquility" ]
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

View File

@@ -0,0 +1,15 @@
- 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

View File

@@ -0,0 +1,8 @@
- type: speechSounds
id: GoofyAhh
saySound:
path: /Audio/White/Voice/SpeechSounds/kazooie/ehh.ogg
askSound:
path: /Audio/White/Voice/SpeechSounds/kazooie/ehh3.ogg
exclaimSound:
path: /Audio/White/Voice/SpeechSounds/kazooie/ehh2.ogg

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 B

View File

@@ -0,0 +1,42 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from /TG/ station | Edited by PuroSlavKing (Github) ",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "gondola_body_long",
"directions": 4
},
{
"name": "gondola_body_medium",
"directions": 4
},
{
"name": "gondola_body_short",
"directions": 4
},
{
"name": "gondola_moustache_large",
"directions": 4
},
{
"name": "gondola_moustache_small",
"directions": 4
},
{
"name": "gondola_moustache_large_short",
"directions": 4
},
{
"name": "gondola_moustache_small_short",
"directions": 4
}
]
}