Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add binoculars #34687

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
- !type:GroupSelector
weight: 2
children:
- id: Binoculars
- id: LanternFlash
- id: PowerCellHigh
- id: NetProbeCartridge
Expand Down
24 changes: 24 additions & 0 deletions Resources/Prototypes/Entities/Objects/Tools/binoculars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- type: entity
name: binoculars
parent: BaseItem
id: Binoculars
description: Used for long-distance surveillance.
components:
- type: Sprite
sprite: Objects/Tools/binoculars.rsi
state: icon
- type: Item
size: Normal
- type: Wieldable
- type: UseDelay
delay: 1.0
- type: CursorOffsetRequiresWield
- type: EyeCursorOffset
maxOffset: 3
pvsIncrease: 0.3
- type: PhysicalComposition
materialComposition:
Steel: 100
Glass: 50
- type: StaticPrice
price: 100
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions Resources/Textures/Objects/Tools/binoculars.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "icon taken from tg station at commit https://github.com/tgstation/tgstation/commit/2d26ce62c273d025bed77a0e6c4bdc770b789bb0, inhands from commit https://github.com/tgstation/tgstation/commit/b1edbc1990a98239c6d3fd6871fc365daab61eb5",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
slarticodefast marked this conversation as resolved.
Show resolved Hide resolved
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "wielded-inhand-left",
"directions": 4
},
{
"name": "wielded-inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading