Tweaks for the holopad (#33928)

* Initial commit

* AIs get a warning when trying to answer long distance calls

* Better handling of ending telephone calls

* Fixed issue with duplicated holopad window when an AI answers a summons

* Changed how ranges are handled, added the bluespace holopad

* Bug fixes

* More bug fixes

* More bug fixes

* Update Resources/Prototypes/Entities/Structures/Machines/holopad.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Structures/Machines/holopad.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
chromiumboy
2024-12-19 11:20:20 -06:00
committed by GitHub
parent 25980d8888
commit 209c1769ee
6 changed files with 105 additions and 34 deletions

View File

@@ -369,6 +369,10 @@
Empty: { state: ai_empty }
Occupied: { state: ai }
- type: Telephone
compatibleRanges:
- Grid
- Map
- Unlimited
listeningRange: 0
speakerVolume: Speak
unlistedNumber: true

View File

@@ -22,6 +22,7 @@
- type: StationAiVision
- type: Sprite
sprite: Structures/Machines/holopad.rsi
drawdepth: FloorObjects
snapCardinals: true
layers:
- state: base
@@ -71,9 +72,8 @@
speechSounds: Borg
speechBubbleOffset: 0.45
- type: Telephone
transmissionRange: Map
ringTone: /Audio/Machines/double_ring.ogg
listeningRange: 4
listeningRange: 2.5
speakerVolume: Speak
- type: AccessReader
access: [[ "Command" ]]
@@ -104,28 +104,47 @@
node: machineFrame
- !type:DoActsBehavior
acts: ["Destruction"]
- type: entity
name: long-range holopad
description: "A floor-mounted device for projecting holographic images to other devices that are far away."
description: "A floor-mounted device for projecting holographic images to similar devices that are far away."
parent: Holopad
id: HolopadLongRange
suffix: For calls between maps
components:
- type: Telephone
transmissionRange: Long
transmissionRange: Map
compatibleRanges:
- Map
- Unlimited
ignoreTelephonesOnSameGrid: true
- type: entity
name: quantum entangling holopad
description: "An experimental floor-mounted device for projecting holographic images at extreme distances."
description: "An floor-mounted device for projecting holographic images to similar devices at extreme distances."
parent: Holopad
id: HolopadUnlimitedRange
suffix: Unlimited range
components:
- type: Telephone
transmissionRange: Unlimited
- type: AccessReader
access: [[]]
compatibleRanges:
- Map
- Unlimited
ignoreTelephonesOnSameGrid: true
- type: entity
name: bluespace holopad
description: "An experimental floor-mounted device for projecting holographic images via bluespace."
parent: Holopad
id: HolopadBluespace
suffix: Unrestricted range
components:
- type: Telephone
unlistedNumber: true
transmissionRange: Unlimited
compatibleRanges:
- Grid
- Map
- Unlimited
# These are spawned by holopads
- type: entity