-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added some magazine related items and a nuke silo
- Loading branch information
Showing
20 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
101 changes: 101 additions & 0 deletions
101
Resources/Prototypes/_Nuclear14/Entities/Objects/Misc/paper.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,101 @@ | ||
- type: entity | ||
name: reporters pen | ||
parent: Pen | ||
id: N14PenReporter | ||
description: A one of a kind pen that uses a ballpoint for versatility. Reads Wasteland News. | ||
components: | ||
- type: Sprite | ||
sprite: _Nuclear14/Structures/Misc/pens.rsi | ||
state: penreporter | ||
- type: Item | ||
sprite: _Nuclear14/Structures/Misc/pens.rsi | ||
heldPrefix: penreporter | ||
size: Tiny | ||
- type: PhysicalComposition | ||
materialComposition: | ||
Steel: 25 | ||
|
||
- type: entity | ||
name: magazine | ||
parent: BaseItem | ||
id: N14Magazine | ||
description: 'a magazine found in the wasteland' | ||
components: | ||
- type: Sprite | ||
sprite: _Nuclear14/Structures/Misc/magazines.rsi | ||
layers: | ||
- state: magazine | ||
- type: Paper | ||
- type: PaperLabelType | ||
- type: Item | ||
size: Tiny | ||
- type: Tag | ||
tags: | ||
- Magazine | ||
- type: Appearance | ||
- type: PaperVisuals | ||
- type: Flammable | ||
fireSpread: true | ||
canResistFire: false | ||
alwaysCombustible: true | ||
canExtinguish: false # Mwahaha! Let the world burn because of one piece of paper! | ||
damage: | ||
types: | ||
Heat: 1 | ||
- type: FireVisuals | ||
sprite: Effects/fire.rsi | ||
normalState: fire | ||
- type: Damageable | ||
damageModifierSet: Wood | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 15 | ||
behaviors: | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
Ash: | ||
min: 1 | ||
max: 1 | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
- type: EmitSoundOnPickup | ||
sound: /Audio/SimpleStation14/Items/Handling/paper_pickup.ogg | ||
- type: EmitSoundOnDrop | ||
sound: /Audio/SimpleStation14/Items/Handling/paper_drop.ogg | ||
- type: EmitSoundOnLand | ||
sound: /Audio/SimpleStation14/Items/Handling/paper_drop.ogg | ||
|
||
- type: entity | ||
name: boxing times | ||
parent: N14Magazine | ||
id: N14MagazineBoxingTimes | ||
description: 'Pugilism at its finest' | ||
components: | ||
- type: Sprite | ||
sprite: _Nuclear14/Structures/Misc/magazines.rsi | ||
layers: | ||
- state: boxingtimes | ||
|
||
- type: entity | ||
name: fixing things | ||
parent: N14Magazine | ||
id: N14MagazineFixingThings | ||
description: 'Dedicated to the home DIYer' | ||
components: | ||
- type: Sprite | ||
sprite: _Nuclear14/Structures/Misc/magazines.rsi | ||
layers: | ||
- state: fixingthings | ||
|
||
- type: entity | ||
name: future weapons today | ||
parent: N14Magazine | ||
id: N14MagazineFutureWeaponsToday | ||
description: 'The latest info on weapons of the future, today' | ||
components: | ||
- type: Sprite | ||
sprite: _Nuclear14/Structures/Misc/magazines.rsi | ||
layers: | ||
- state: futureweaponstoday |
53 changes: 53 additions & 0 deletions
53
Resources/Prototypes/_Nuclear14/Entities/Structures/Misc/magazinerack.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,53 @@ | ||
- type: entity | ||
id: N14MagazineRack | ||
name: magazine rack | ||
description: wireframe rack to store magazines | ||
placement: | ||
mode: SnapgridCenter | ||
components: | ||
- type: Sprite | ||
sprite: _Nuclear14/Structures/Misc/magazinerack.rsi | ||
layers: | ||
- state: magazinerack | ||
- state: magazine-0 | ||
- map: ["enum.StorageFillLayers.Fill"] | ||
- type: StorageFillVisualizer | ||
maxFillLevels: 6 | ||
fillBaseName: magazine | ||
- type: Appearance | ||
- type: InteractionOutline | ||
- type: Clickable | ||
- type: Transform | ||
anchored: true | ||
- type: Damageable | ||
damageContainer: Inorganic | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 30 | ||
behaviors: | ||
- !type:PlaySoundBehavior | ||
sound: | ||
collection: MetalGlassBreak | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
SheetSteel1: | ||
min: 1 | ||
max: 1 | ||
- !type:DoActsBehavior | ||
acts: ["Destruction"] | ||
- type: Storage | ||
grid: | ||
- 0,0,4,3 | ||
maxItemSize: Small | ||
whitelist: | ||
tags: | ||
- Magazine | ||
- type: UserInterface | ||
interfaces: | ||
- key: enum.StorageUiKey.Key | ||
type: StorageBoundUserInterface | ||
- type: ContainerContainer | ||
containers: | ||
storagebase: !type:Container |
23 changes: 23 additions & 0 deletions
23
Resources/Prototypes/_Nuclear14/Entities/Structures/Misc/nukesilo.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,23 @@ | ||
- type: entity | ||
parent: BaseStructure | ||
id: N14NukeSilo | ||
name: Nuclear Missile Silo | ||
description: "a prewar missile silo. wonder whats inside" | ||
components: | ||
- type: Sprite | ||
scale: 2,2 | ||
drawdepth: FloorObjects | ||
noRot: true | ||
sprite: _Nuclear14/Structures/Misc/nukesilo.rsi | ||
state: silo | ||
- type: Fixtures | ||
fixtures: | ||
fix1: | ||
shape: | ||
!type:PhysShapeCircle | ||
radius: 3.5 | ||
density: 1000 | ||
mask: | ||
- MachineMask | ||
layer: | ||
- MachineLayer |
Binary file added
BIN
+83 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.rsi/magazine-0.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
+230 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.rsi/magazine-1.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
+315 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.rsi/magazine-2.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
+375 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.rsi/magazine-3.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
+477 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.rsi/magazine-4.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
+496 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.rsi/magazine-5.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
+584 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.rsi/magazinerack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
Resources/Textures/_Nuclear14/Structures/Misc/magazinerack.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,32 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"copyright": "created by maxxorion", | ||
"license": "CC-BY-SA-3.0", | ||
"states": [ | ||
{ | ||
"name": "magazinerack" | ||
}, | ||
{ | ||
"name": "magazine-0" | ||
}, | ||
{ | ||
"name": "magazine-1" | ||
}, | ||
{ | ||
"name": "magazine-2" | ||
}, | ||
{ | ||
"name": "magazine-3" | ||
}, | ||
{ | ||
"name": "magazine-4" | ||
}, | ||
{ | ||
"name": "magazine-5" | ||
} | ||
] | ||
} |
Binary file added
BIN
+436 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazines.rsi/boxingtimes.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
+451 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazines.rsi/fixingthings.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
+466 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazines.rsi/futureweaponstoday.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
+308 Bytes
Resources/Textures/_Nuclear14/Structures/Misc/magazines.rsi/magazine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
Resources/Textures/_Nuclear14/Structures/Misc/magazines.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,23 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"copyright": "created by maxxorion", | ||
"license": "CC-BY-SA-3.0", | ||
"states": [ | ||
{ | ||
"name": "magazine" | ||
}, | ||
{ | ||
"name": "boxingtimes" | ||
}, | ||
{ | ||
"name": "fixingthings" | ||
}, | ||
{ | ||
"name": "futureweaponstoday" | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
Resources/Textures/_Nuclear14/Structures/Misc/nukesilo.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,14 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-NC-SA-3.0", | ||
"copyright": "made by maxxorion for nuclear14", | ||
"size": { | ||
"x": 128, | ||
"y": 128 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "silo" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
Resources/Textures/_Nuclear14/Structures/Misc/pens.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,14 @@ | ||
{ | ||
"version": 1, | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"copyright": "created by maxxorion", | ||
"license": "CC-BY-SA-3.0", | ||
"states": [ | ||
{ | ||
"name": "penreporter" | ||
} | ||
] | ||
} |
Binary file added
BIN
+1.34 KB
Resources/Textures/_Nuclear14/Structures/Misc/pens.rsi/penreporter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.