forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move pens out of paper.yml mess (space-wizards#28044)
* Move pens out of paper.yml mess * forgor * fix tests * fux * fix 2
- Loading branch information
Showing
20 changed files
with
170 additions
and
150 deletions.
There are no files selected for viewing
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
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
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
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,106 @@ | ||
- type: entity | ||
name: pen | ||
parent: BaseItem | ||
id: Pen | ||
description: A dark ink pen. | ||
components: | ||
- type: Sprite | ||
sprite: Objects/Misc/pens.rsi | ||
state: pen | ||
- type: Item | ||
sprite: Objects/Misc/pens.rsi | ||
heldPrefix: pen | ||
size: Tiny | ||
- type: Tag | ||
tags: | ||
- Write | ||
- Pen | ||
- type: PhysicalComposition | ||
materialComposition: | ||
Steel: 25 | ||
|
||
- type: entity | ||
parent: Pen | ||
id: PenEmbeddable | ||
abstract: true | ||
components: | ||
- type: EmbeddableProjectile | ||
offset: 0.3,0.0 | ||
removalTime: 0.0 | ||
- type: ThrowingAngle | ||
angle: 315 | ||
- type: DamageOtherOnHit | ||
damage: | ||
types: | ||
Piercing: 3 | ||
|
||
#TODO: I want the luxury pen to write a cool font like Merriweather in the future. | ||
|
||
- type: entity | ||
name: luxury pen | ||
parent: Pen | ||
id: LuxuryPen | ||
description: A fancy and expensive pen that you only deserve to own if you're qualified to handle vast amounts of paperwork. | ||
components: | ||
- type: Sprite | ||
state: luxury_pen | ||
- type: Item | ||
heldPrefix: luxury_pen | ||
|
||
- type: entity | ||
name: Cybersun pen | ||
parent: PenEmbeddable | ||
id: CyberPen | ||
description: A high-tech pen straight from Cybersun's legal department, capable of refracting hard-light at impossible angles through its diamond tip in order to write. So powerful, it's even able to rewrite officially stamped documents should the need arise. | ||
components: | ||
- type: Tag | ||
tags: | ||
- Write | ||
- WriteIgnoreStamps | ||
- Pickaxe | ||
- Pen | ||
- type: Sprite | ||
state: overpriced_pen | ||
- type: Item | ||
heldPrefix: overpriced_pen | ||
- type: MeleeWeapon | ||
wideAnimationRotation: -45 | ||
damage: | ||
types: | ||
Piercing: 15 | ||
soundHit: | ||
path: /Audio/Weapons/bladeslice.ogg | ||
- type: Tool | ||
qualities: | ||
- Screwing | ||
useSound: | ||
collection: Screwdriver | ||
|
||
- type: entity | ||
name: captain's fountain pen | ||
parent: PenEmbeddable | ||
id: PenCap | ||
description: A luxurious fountain pen for the captain of the station. | ||
components: | ||
- type: Sprite | ||
state: pen_cap | ||
|
||
- type: entity | ||
name: CentCom pen | ||
parent: CyberPen | ||
id: PenCentcom | ||
description: In an attempt to keep up with the "power" of the cybersun bureaucracy, NT made a replica of cyber pen, in their corporate style. | ||
components: | ||
- type: Sprite | ||
state: pen_centcom | ||
- type: Item | ||
heldPrefix: pen_centcom | ||
|
||
- type: entity | ||
name: hop's fountain pen | ||
parent: PenEmbeddable | ||
id: PenHop | ||
description: A luxurious fountain pen for the hop of the station. | ||
components: | ||
- type: Sprite | ||
state: pen_hop |
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
File renamed without changes
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,59 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432. pen_centcom is a resprited version of pen_cap by PuroSlavKing (Github). Luxury pen is drawn by Ubaser.", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "pen" | ||
}, | ||
{ | ||
"name": "pen_cap" | ||
}, | ||
{ | ||
"name": "pen_centcom" | ||
}, | ||
{ | ||
"name": "pen_hop" | ||
}, | ||
{ | ||
"name": "overpriced_pen" | ||
}, | ||
{ | ||
"name": "luxury_pen" | ||
}, | ||
{ | ||
"name": "pen_blue" | ||
}, | ||
{ | ||
"name": "pen_red" | ||
}, | ||
{ | ||
"name": "pen-inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "pen-inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "overpriced_pen-inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "overpriced_pen-inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "pen_centcom-inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "pen_centcom-inhand-right", | ||
"directions": 4 | ||
} | ||
] | ||
} |
Binary file added
BIN
+236 Bytes
Resources/Textures/Objects/Misc/pens.rsi/overpriced_pen-inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+236 Bytes
Resources/Textures/Objects/Misc/pens.rsi/overpriced_pen-inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+227 Bytes
Resources/Textures/Objects/Misc/pens.rsi/pen_centcom-inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+217 Bytes
Resources/Textures/Objects/Misc/pens.rsi/pen_centcom-inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes