mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-06-09 10:06:46 +02:00
[PORT] Лавовые лампы (#601)
* lavalamps * forgot th e yellow one * Зеленная -> Зелёная Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update lavalamp.yml --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
ent-CrateLavaLamps = ящик с лава лампами
|
||||
.desc = Большой ящик с 5 лава лампами для ваших станционных молей.
|
||||
@@ -0,0 +1,2 @@
|
||||
ent-RandomLavaLampSpawner = спавнер лавовой лампы
|
||||
.desc = { ent-MarkerBase.desc }
|
||||
@@ -0,0 +1,30 @@
|
||||
ent-BaseLavaLamp = лавовая лампа
|
||||
.desc = Светоизлучающее устройство, фаворит молей.
|
||||
|
||||
ent-RedLavaLamp = { ent-BaseLavaLamp }
|
||||
.suffix = Красная
|
||||
.desc = { ent-BaseLavaLamp.desc }
|
||||
|
||||
ent-BlueLavaLamp = { ent-BaseLavaLamp }
|
||||
.suffix = Синяя
|
||||
.desc = { ent-BaseLavaLamp.desc }
|
||||
|
||||
ent-YellowLavaLamp = { ent-BaseLavaLamp }
|
||||
.suffix = Желтая
|
||||
.desc = { ent-BaseLavaLamp.desc }
|
||||
|
||||
ent-OrangeLavaLamp = { ent-BaseLavaLamp }
|
||||
.suffix = Оранжевая
|
||||
.desc = { ent-BaseLavaLamp.desc }
|
||||
|
||||
ent-GreenLavaLamp = { ent-BaseLavaLamp }
|
||||
.suffix = Зелёная
|
||||
.desc = { ent-BaseLavaLamp.desc }
|
||||
|
||||
ent-PinkLavaLamp = { ent-BaseLavaLamp }
|
||||
.suffix = Розовая
|
||||
.desc = { ent-BaseLavaLamp.desc }
|
||||
|
||||
ent-RGBLavaLamp = { ent-BaseLavaLamp }
|
||||
.suffix = RGB
|
||||
.desc = { ent-BaseLavaLamp.desc }
|
||||
@@ -0,0 +1 @@
|
||||
lava-lamp-boiling = Лавовая лампа начинает булькать...
|
||||
@@ -0,0 +1,9 @@
|
||||
- type: cargoProduct
|
||||
id: LavaLamps
|
||||
icon:
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
state: lavalamp
|
||||
product: CrateLavaLamps
|
||||
cost: 2000
|
||||
category: cargoproduct-category-name-service
|
||||
group: market
|
||||
@@ -0,0 +1,12 @@
|
||||
- type: entity
|
||||
id: CrateLavaLamps
|
||||
parent: CratePlastic
|
||||
name: lava lamp crate
|
||||
description: Contains 5 lava lamp for your station moth.
|
||||
components:
|
||||
- type: EntityTableContainerFill
|
||||
containers:
|
||||
entity_storage: !type:NestedSelector
|
||||
tableId: RandomLavaLamp
|
||||
rolls: !type:ConstantNumberSelector
|
||||
value: 5
|
||||
@@ -0,0 +1,28 @@
|
||||
- type: entity
|
||||
id: RandomLavaLampSpawner
|
||||
name: random lava lamp spawner
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
state: lavalamp
|
||||
- type: EntityTableSpawner
|
||||
table: !type:NestedSelector
|
||||
tableId: RandomLavaLamp
|
||||
|
||||
- type: entityTable
|
||||
id: RandomLavaLamp
|
||||
table: !type:AllSelector
|
||||
children:
|
||||
- !type:GroupSelector
|
||||
children:
|
||||
- id: RGBLavaLamp
|
||||
weight: 0.25
|
||||
- id: RedLavaLamp
|
||||
- id: PinkLavaLamp
|
||||
- id: BlueLavaLamp
|
||||
- id: OrangeLavaLamp
|
||||
- id: GreenLavaLamp
|
||||
- id: YellowLavaLamp
|
||||
@@ -0,0 +1,224 @@
|
||||
- type: entity
|
||||
name: lava lamp
|
||||
id: BaseLavaLamp
|
||||
parent: BaseItem
|
||||
description: A light emitting device, moths' favorite.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
map: [ "light" ]
|
||||
- type: Item
|
||||
size: Small
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2
|
||||
netsync: false # WL-Changes
|
||||
- type: ItemToggle
|
||||
soundActivate:
|
||||
path: /Audio/Effects/Chemistry/bubbles.ogg
|
||||
params:
|
||||
pitch: 3
|
||||
volume: -3
|
||||
soundDeactivate:
|
||||
# WL-Changes-Start
|
||||
# path: /Audio/_CorvaxGoob/Machine/terminal_off.ogg
|
||||
path: /Audio/Machines/lightswitch.ogg
|
||||
# WL-Changes-end
|
||||
params:
|
||||
pitch: 4
|
||||
volume: -1
|
||||
- type: ToggleableVisuals
|
||||
spriteLayer: light
|
||||
- type: ItemTogglePointLight
|
||||
- type: Appearance
|
||||
- type: PhysicalComposition
|
||||
materialComposition:
|
||||
Plastic: 50
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
lamp:
|
||||
maxVol: 5
|
||||
reagents:
|
||||
- ReagentId: Oil
|
||||
Quantity: 3
|
||||
- ReagentId: Phlogiston
|
||||
Quantity: 2
|
||||
- type: Temperature
|
||||
- type: DamageOnLand
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
- type: DamageOtherOnHit
|
||||
damage:
|
||||
types:
|
||||
Blunt: 4
|
||||
- type: Injurable
|
||||
damageContainer: Inorganic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 5
|
||||
behaviors:
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
collection: GlassBreak
|
||||
- !type:SpillBehavior
|
||||
solution: lamp
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
SheetPlastic:
|
||||
min: 1
|
||||
max: 1
|
||||
transferForensics: true
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Construction
|
||||
graph: LavaLampExposion
|
||||
node: start
|
||||
- type: Physics
|
||||
canCollide: false
|
||||
- type: Tag
|
||||
tags:
|
||||
- Recyclable
|
||||
|
||||
- type: entity
|
||||
id: RedLavaLamp
|
||||
suffix: Red
|
||||
parent: BaseLavaLamp
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
color: "#fb4747"
|
||||
map: [ "light" ]
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2.5
|
||||
color: "#fb4747"
|
||||
|
||||
- type: entity
|
||||
id: BlueLavaLamp
|
||||
suffix: Blue
|
||||
parent: BaseLavaLamp
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
color: "#39a1ff"
|
||||
map: [ "light" ]
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2.5
|
||||
color: "#39a1ff"
|
||||
|
||||
- type: entity
|
||||
id: YellowLavaLamp
|
||||
suffix: Yellow
|
||||
parent: BaseLavaLamp
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
color: "#ffde46"
|
||||
map: [ "light" ]
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2.5
|
||||
color: "#ffde46"
|
||||
|
||||
- type: entity
|
||||
id: OrangeLavaLamp
|
||||
suffix: Orange
|
||||
parent: BaseLavaLamp
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
color: "#ff8227"
|
||||
map: [ "light" ]
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2.5
|
||||
color: "#ff8227"
|
||||
|
||||
- type: entity
|
||||
id: GreenLavaLamp
|
||||
suffix: Green
|
||||
parent: BaseLavaLamp
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
color: "#52ff39"
|
||||
map: [ "light" ]
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2.5
|
||||
color: "#52ff39"
|
||||
|
||||
- type: entity
|
||||
id: PinkLavaLamp
|
||||
suffix: Pink
|
||||
parent: BaseLavaLamp
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
color: "#ff66cc"
|
||||
map: [ "light" ]
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
energy: 2.5
|
||||
color: "#ff66cc"
|
||||
|
||||
- type: entity
|
||||
id: RGBLavaLamp
|
||||
suffix: RGB
|
||||
parent: BaseLavaLamp
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CorvaxGoob/Objects/Misc/lavalamp.rsi
|
||||
layers:
|
||||
- state: lavalamp
|
||||
- state: lavalamp-on
|
||||
shader: unshaded
|
||||
visible: false
|
||||
map: [ "light" ]
|
||||
- type: RgbLightController
|
||||
@@ -0,0 +1,25 @@
|
||||
- type: constructionGraph
|
||||
id: LavaLampExposion
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
|
||||
- to: popup
|
||||
completed:
|
||||
- !type:PopupEveryone
|
||||
text: "lava-lamp-boiling"
|
||||
steps:
|
||||
- minTemperature: 373.15 # 100°C
|
||||
- node: explode
|
||||
|
||||
- node: popup
|
||||
edges:
|
||||
- to: explode
|
||||
completed:
|
||||
- !type:DamageEntity
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
steps:
|
||||
- minTemperature: 473.15 # 200°C
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 242 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 380 B |
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Take from https://github.com/Aurorastation/Aurora.3/commit/2ced864e1205cb490cad0fe0467505d65022e1b8",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "lavalamp"
|
||||
},
|
||||
{
|
||||
"name": "lavalamp-on",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "lavalamp-off"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user