Skip to content

Commit

Permalink
Админский портал (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanopus952 authored Oct 31, 2024
1 parent 2fc8b27 commit ba1f6de
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ ent-PortalRedAA = { ent-PortalRed }
ent-PortalBlueAA = { ent-PortalBlue }
.suffix = Адмемы
.desc = { ent-PortalBlue.desc }
ent-HandTeleporterInvisibleAA = невидимый телепортер
.suffix = Адмемы
.desc = Ручной телепортер, создающий порталы, видимые только для призраков.
ent-PortalRedInvisibleAA = невидимый портал
.suffix = Адмемы
.desc = Портал, видимый только для призраков.
ent-PortalBlueInvisibleAA = { ent-PortalRedInvisibleAA }
.suffix = Адмемы
.desc = { ent-PortalRedInvisibleAA.desc }
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,40 @@
components:
- type: Portal
canTeleportToOtherMaps: true

- type: entity
parent: HandTeleporter
id: HandTeleporterInvisibleAA
name: invisible teleporter
description: A handheld teleporter that creates portals visible only to ghosts.
suffix: Admeme
components:
- type: HandTeleporter
firstPortalPrototype: PortalRedInvisibleAA
secondPortalPrototype: PortalBlueInvisibleAA
allowPortalsOnDifferentGrids: true
portalCreationDelay: 0

- type: entity
parent: PortalRed
id: PortalRedInvisibleAA
name: invisible portal
description: This portal can only be seen by ghosts.
suffix: Admeme
components:
- type: Portal
canTeleportToOtherMaps: true
- type: Visibility
layer: 2

- type: entity
parent: PortalBlue
id: PortalBlueInvisibleAA
name: invisible portal
description: This portal can only be seen by ghosts.
suffix: Admeme
components:
- type: Portal
canTeleportToOtherMaps: true
- type: Visibility
layer: 2

0 comments on commit ba1f6de

Please sign in to comment.