forked from DeltaV-Station/Delta-v
-
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.
Port Magic Crayon From Frontier (DeltaV-Station#2410)
* ART * Update clown.yml * Loadout fixes, time req * loadout bgone * Fixes, moved things * fixoneoops * More fixes * CRAFTING WORKS! * Flipped slashes * UNTOUCHED! AT LAST * Fix comment * Mailladd * Webedit ops Signed-off-by: Avalon <[email protected]> * untroll indent Signed-off-by: deltanedas <[email protected]> --------- Signed-off-by: Avalon <[email protected]> Signed-off-by: deltanedas <[email protected]> Co-authored-by: deltanedas <[email protected]>
- Loading branch information
1 parent
ae03a72
commit 9a22c09
Showing
14 changed files
with
147 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
## Entity | ||
|
||
crayon-drawing-label-unlimited = Drawing: [color={$color}]{$state}[/color] | ||
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
31 changes: 31 additions & 0 deletions
31
Resources/Prototypes/_NF/Entities/Objects/Fun/magic_crayon.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,31 @@ | ||
- type: entity | ||
parent: CrayonRainbow | ||
id: CrayonMagic | ||
name: magic crayon | ||
description: Specially blended with bluespace crystals and certified non-toxic. | ||
components: | ||
- type: Sprite | ||
sprite: _NF/Objects/Fun/magic_crayon.rsi | ||
state: icon | ||
- type: Item | ||
sprite: _NF/Objects/Fun/magic_crayon.rsi | ||
heldPrefix: icon | ||
- type: Tag # Removing trash & recyclable | ||
tags: | ||
- Write | ||
- Crayon | ||
- type: Crayon | ||
capacity: 2147483647 # int.MaxValue, infinite charges | ||
- type: FlavorProfile | ||
flavors: | ||
- chewy | ||
- magical | ||
- type: SolutionContainerManager | ||
solutions: | ||
food: | ||
reagents: | ||
- ReagentId: Nothing | ||
Quantity: 100 | ||
- type: Construction | ||
graph: magic_crayon | ||
node: magicCrayon |
28 changes: 28 additions & 0 deletions
28
Resources/Prototypes/_NF/Recipes/Crafting/Graphs/magic_crayon.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,28 @@ | ||
- type: constructionGraph | ||
id: magic_crayon | ||
start: start | ||
graph: | ||
- node: start | ||
edges: | ||
- to: magicCrayon | ||
steps: | ||
- material: Bluespace | ||
amount: 1 | ||
- tag: CrayonRed | ||
name: red crayon | ||
icon: | ||
sprite: Objects/Fun/crayons.rsi | ||
state: red | ||
- tag: CrayonGreen | ||
name: green crayon | ||
icon: | ||
sprite: Objects/Fun/crayons.rsi | ||
state: green | ||
- tag: CrayonBlue | ||
name: blue crayon | ||
icon: | ||
sprite: Objects/Fun/crayons.rsi | ||
state: blue | ||
doAfter: 5 | ||
- node: magicCrayon | ||
entity: CrayonMagic |
10 changes: 10 additions & 0 deletions
10
Resources/Prototypes/_NF/Recipes/Crafting/magic_crayon.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,10 @@ | ||
- type: construction | ||
name: Magic Crayon | ||
id: CrayonMagic | ||
graph: magic_crayon | ||
startNode: start | ||
targetNode: magicCrayon | ||
category: construction-category-misc | ||
description: A crayon that lasts forever! Pretty too | ||
icon: { sprite: _NF/Objects/Fun/magic_crayon.rsi, state: icon } | ||
objectType: Item |
Binary file added
BIN
+204 Bytes
Resources/Textures/_NF/Objects/Fun/magic_crayon.rsi/icon-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
+203 Bytes
Resources/Textures/_NF/Objects/Fun/magic_crayon.rsi/icon-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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions
46
Resources/Textures/_NF/Objects/Fun/magic_crayon.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,46 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-4.0", | ||
"copyright": "Taken from tgstation and modified by Swept at commit https://github.com/tgstation/tgstation/commit/c6e3401f2e7e1e55c57060cdf956a98ef1fefc24, tweaked by Ubaser and whatston3 (GitHub)", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "icon", | ||
"delays": [ | ||
[ | ||
0.2, | ||
0.2, | ||
0.2, | ||
0.2, | ||
0.2, | ||
0.2, | ||
0.2 | ||
] | ||
] | ||
}, | ||
{ | ||
"name": "icon-inhand-left", | ||
"directions": 4, | ||
"delays": [ | ||
[ 0.2, 0.2, 0.2 ], | ||
[ 0.2, 0.2, 0.2 ], | ||
[ 0.2, 0.2, 0.2 ], | ||
[ 0.2, 0.2, 0.2 ] | ||
] | ||
}, | ||
{ | ||
"name": "icon-inhand-right", | ||
"directions": 4, | ||
"delays": [ | ||
[ 0.2, 0.2, 0.2 ], | ||
[ 0.2, 0.2, 0.2 ], | ||
[ 0.2, 0.2, 0.2 ], | ||
[ 0.2, 0.2, 0.2 ] | ||
] | ||
} | ||
] | ||
} | ||
|