Skip to content

Commit

Permalink
Add binoculars (#34687)
Browse files Browse the repository at this point in the history
* add binoculars

* tabs evil

* give one to warden

* buff
  • Loading branch information
slarticodefast authored Feb 4, 2025
1 parent 6a017ef commit 8035455
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
amount: 2
- id: RemoteSignaller
amount: 2
- id: Binoculars

- type: entity
id: LockerSecurityFilled
Expand Down
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: 5
pvsIncrease: 0.5
- 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
},
{
"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.

0 comments on commit 8035455

Please sign in to comment.