[Feature] Экспериментальный телепортер синдиката (#250)

* add: experimental syndicate teleporter

* randomvector method

* fix

* check mob attempt 1

* revert

* add check for pull

* new charge system

* changes

* changes

* small fix
This commit is contained in:
CaypenNow
2024-04-01 13:51:50 +05:00
committed by GitHub
parent 2d7b061365
commit 35a354b55a
12 changed files with 407 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,8 @@
ent-ExperimentalSyndicateTeleporter = экспериментальный телепортер синдиката
.desc = Телепортер синдиката, при использовании перемещает на 3-8 метров вперед. В случае телепортации в стену, использует экстренную телепортацию. Имеет 4 заряда и автоматически заряжается.
experimental-syndicate-teleporter-examine = Доступные заряды телепортера: [color=fuchsia]{ $uses }[/color].
experimental-syndicate-teleporter-end-uses = Заряды телепортера закончились!
experimental-syndicate-teleporter-cooldown = Телепортер перезаряжается!
uplink-experimentalsyndicateteleporter = Экспериментальный телепортер синдиката
uplink-experimentalsyndicateteleporter-desc = Телепортер синдиката, при использовании перемещает на 3-8 метров вперед. В случае телепортации в стену, использует экстренную телепортацию. Имеет 4 заряда и автоматически заряжается.

View File

@@ -250,3 +250,15 @@
Telecrystal: 1
categories:
- UplinkImplants
- type: listing
id: UplinkExperimentalSyndicateTeleporter
name: uplink-experimentalsyndicateteleporter
description: uplink-experimentalsyndicateteleporter-desc
icon: { sprite: /Textures/White/Objects/Devices/experimentalsyndicateteleporter.rsi, state: icon }
productEntity: ExperimentalSyndicateTeleporter
cost:
Telecrystal: 8
categories:
- UplinkUtility
saleLimit: 2

View File

@@ -0,0 +1,51 @@
- type: entity
id: ExperimentalSyndicateTeleporter
parent: BaseItem
name: Experimental Syndicate Teleporter
description: Syndicate teleporter, when used, moves 3-8 meters forward. In case of teleportation into a wall, uses emergency teleportation. Has 4 charge.
components:
- type: Sprite
sprite: /Textures/White/Objects/Devices/experimentalsyndicateteleporter.rsi
layers:
- state: icon
- type: ExperimentalSyndicateTeleporter
- type: entity
id: ExpSyndicateTeleporterInEffect
name: Experimental Syndicate Teleporter In Effect
components:
- type: TimedDespawn
lifetime: 0.6
- type: EvaporationSparkle
- type: Transform
noRot: true
anchored: true
- type: Sprite
layers:
- sprite: White/Objects/Devices/experimentalsyndicateteleporter.rsi
state: in
shader: unshaded
netsync: false
drawdepth: Effects
- type: PointLight
color: "#008DFE"
- type: entity
id: ExpSyndicateTeleporterOutEffect
name: Experimental Syndicate Teleporter Out Effect
components:
- type: TimedDespawn
lifetime: 0.6
- type: EvaporationSparkle
- type: Transform
noRot: true
anchored: true
- type: Sprite
layers:
- sprite: White/Objects/Devices/experimentalsyndicateteleporter.rsi
state: out
shader: unshaded
netsync: false
drawdepth: Effects
- type: PointLight
color: "#008DFE"

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

View File

@@ -0,0 +1,122 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Base sprite taken by tg station, remade by CaypenNow",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon",
"delays": [
[
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "in",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "out",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB