Skip to content

Commit

Permalink
added some magazine related items and a nuke silo
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-hub committed Nov 12, 2024
1 parent 5fb5853 commit 1537d0b
Show file tree
Hide file tree
Showing 20 changed files with 260 additions and 0 deletions.
101 changes: 101 additions & 0 deletions Resources/Prototypes/_Nuclear14/Entities/Objects/Misc/paper.yml
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
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
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
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"
}
]
}
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"
}
]
}
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 Resources/Textures/_Nuclear14/Structures/Misc/pens.rsi/meta.json
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"
}
]
}
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 1537d0b

Please sign in to comment.