forked from space-wizards/space-station-14
-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1357 from kipdotnet/mailtime
doorbell projector for mailman
- Loading branch information
Showing
8 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
Resources/Prototypes/_Impstation/Entities/Objects/Devices/holoprojectors.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
- type: entity | ||
parent: Holoprojector | ||
id: HoloBellProjector | ||
name: holobell projector | ||
description: Projects a temporary, fully functional hardlight doorbell. | ||
components: | ||
- type: HolosignProjector | ||
signProto: HoloBell | ||
chargeUse: 100 | ||
- type: Sprite | ||
sprite: _Impstation/Objects/Devices/holobellprojector.rsi | ||
state: icon | ||
- type: StaticPrice | ||
price: 80 |
42 changes: 42 additions & 0 deletions
42
Resources/Prototypes/_Impstation/Entities/Structures/Holographic/projections.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
- type: entity | ||
id: HoloBell | ||
parent: HolosignWetFloor | ||
name: holobell | ||
description: A hardlight doorbell. Bing bong! | ||
components: | ||
- type: Sprite | ||
drawdepth: SmallObjects | ||
sprite: _Impstation/Structures/Holo/holobell.rsi | ||
state: icon | ||
- type: Fixtures | ||
fixtures: | ||
fix1: | ||
shape: | ||
!type:PhysShapeAabb | ||
bounds: "-0.5,-0.5,0.5,0.5" | ||
- type: TimedDespawn | ||
lifetime: 5 #if I dont make it low as fuck people are gonna spam the shit out of it | ||
- type: Airtight | ||
noAirWhenFullyAirBlocked: false | ||
- type: StationAiWhitelist | ||
- type: WallMount | ||
arc: 360 | ||
- type: Clickable | ||
- type: InteractionOutline | ||
- type: Physics | ||
canCollide: false | ||
- type: InteractionPopup | ||
successChance: 1 | ||
interactSuccessSound: | ||
collection: DoorBellHolo | ||
params: | ||
volume: 6 | ||
onActivate: true | ||
- type: UseDelay | ||
delay: 2.0 | ||
- type: PointLight | ||
enabled: true | ||
radius: 1.3 | ||
netsync: false | ||
color: "#335acf" | ||
energy: 4 |
4 changes: 4 additions & 0 deletions
4
Resources/Prototypes/_Impstation/SoundCollections/doorbell.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- type: soundCollection | ||
id: DoorBellHolo | ||
files: | ||
- /Audio/_Impstation/Effects/doorbell.ogg |
Binary file added
BIN
+328 Bytes
Resources/Textures/_Impstation/Objects/Devices/holobellprojector.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
Resources/Textures/_Impstation/Objects/Devices/holobellprojector.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/40d89d11ea4a5cb81d61dc1018b46f4e7d32c62a, modified by kipdotnet(github) for Impstation.", | ||
"states": [ | ||
{ | ||
"name": "icon", | ||
"delays": [ | ||
[ | ||
0.3, | ||
0.3, | ||
0.3, | ||
0.3 | ||
] | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+644 Bytes
Resources/Textures/_Impstation/Structures/Holo/holobell.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions
24
Resources/Textures/_Impstation/Structures/Holo/holobell.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from CEV-Eris at commit 15748b71a1e6d2c547588c653d7c42f18011f7c5, modified by ThunderBear2006 (github) for Space Station 14, Modified by kipdotnet(github) for Impstation.", | ||
"states": [ | ||
{ | ||
"name": "icon", | ||
"delays": [ | ||
[ | ||
0.3, | ||
0.3, | ||
0.3, | ||
0.3, | ||
0.3, | ||
0.3 | ||
] | ||
] | ||
} | ||
] | ||
} |