-
Notifications
You must be signed in to change notification settings - Fork 134
chinese pistol and little changes #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 15 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6445dfe
chinese pistol and little changes
PatoGrone 149c065
compact code and 22lr pistol
PatoGrone 15f0da2
mostly sprite changes, battery weapons now actually use ammo
PatoGrone 339d00d
Update icon.png
PatoGrone 405755e
Update Battery.yml
PatoGrone ec0f64a
Update Battery.yml
PatoGrone fc58a1b
Revert "Update Battery.yml"
PatoGrone deb1f6c
Update Battery.yml
PatoGrone e43d357
changes
PatoGrone bce94b8
changes, again
PatoGrone 0e4e18a
again
PatoGrone 4f5de34
Update Battery.yml
PatoGrone 89f6bfe
Update Battery.yml
PatoGrone ac70c97
more
PatoGrone 35cd02d
AGAIN
PatoGrone 8c46156
Update projectiles.yml
Peptide90 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
107 changes: 107 additions & 0 deletions
107
Resources/Prototypes/Nuclear14/Entities/Objects/Weapons/Guns/Ammunition/Battery/Battery.yml
This file contains hidden or 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,107 @@ | ||
- type: entity | ||
name: microfusion cell | ||
description: A small energy container the size of a palm, commonly used has ammo for any kind of laser weapon. | ||
id: N14BasePowerCell | ||
abstract: true | ||
parent: BaseItem | ||
components: | ||
- type: Battery | ||
pricePerJoule: 0.15 | ||
- type: Explosive | ||
explosionType: Default | ||
maxIntensity: 200 | ||
intensitySlope: 1.5 | ||
- type: Tag | ||
tags: | ||
- N14PowerCellHigh | ||
- type: Sprite | ||
sprite: Nuclear14/Objects/Weapons/Guns/Ammunition/Battery/microfusion.rsi | ||
- type: SolutionContainerManager | ||
solutions: | ||
battery: | ||
maxVol: 5 | ||
- type: InjectableSolution | ||
solution: battery | ||
- type: DrawableSolution | ||
solution: battery | ||
- type: Extractable | ||
juiceSolution: | ||
reagents: | ||
- ReagentId: Zinc | ||
Quantity: 5 | ||
- type: Appearance | ||
- type: PowerCellVisuals | ||
- type: Riggable | ||
- type: HitscanBatteryAmmoProvider | ||
proto: RedLightLaser | ||
fireCost: 50 | ||
|
||
- type: entity | ||
name: microfusion cell | ||
description: A small energy container the size of a palm, commonly used has ammo for any kind of laser weapon. | ||
id: N14PowerCellHigh | ||
suffix: Full | ||
parent: N14BasePowerCell | ||
components: | ||
- type: Sprite | ||
sprite: Nuclear14/Objects/Weapons/Guns/Ammunition/Battery/microfusion.rsi | ||
layers: | ||
- map: [ "enum.PowerCellVisualLayers.Base" ] | ||
state: icon | ||
- type: Battery | ||
maxCharge: 1000 | ||
startingCharge: 1000 | ||
|
||
- type: entity | ||
name: plasma cartridge | ||
description: A small green glowing cartridge, commonly used has ammo for any kind of plasma weapon. | ||
id: N14BasePlasmaCell | ||
abstract: true | ||
parent: BaseItem | ||
components: | ||
- type: Battery | ||
pricePerJoule: 0.15 | ||
- type: Explosive | ||
explosionType: Default | ||
maxIntensity: 200 | ||
intensitySlope: 1.5 | ||
- type: Sprite | ||
sprite: Nuclear14/Objects/Weapons/Guns/Ammunition/Battery/plasma.rsi | ||
- type: Tag | ||
tags: | ||
- N14PlasmaCartridge | ||
- type: SolutionContainerManager | ||
solutions: | ||
battery: | ||
maxVol: 5 | ||
- type: InjectableSolution | ||
solution: battery | ||
- type: DrawableSolution | ||
solution: battery | ||
- type: Extractable | ||
juiceSolution: | ||
reagents: | ||
- ReagentId: Zinc | ||
Quantity: 5 | ||
- type: Appearance | ||
- type: PowerCellVisuals | ||
- type: Riggable | ||
- type: ProjectileBatteryAmmoProvider | ||
proto: BulletPlasma | ||
fireCost: 50 | ||
|
||
- type: entity | ||
name: plasma cartridge | ||
description: A small green glowing cartridge, commonly used has ammo for any kind of plasma weapon. | ||
id: N14PlasmaCartridge | ||
suffix: Full | ||
parent: N14BasePlasmaCell | ||
components: | ||
- type: Sprite | ||
sprite: Nuclear14/Objects/Weapons/Guns/Ammunition/Battery/plasma.rsi | ||
layers: | ||
- map: [ "enum.PowerCellVisualLayers.Base" ] | ||
state: icon | ||
- type: Battery | ||
maxCharge: 500 | ||
startingCharge: 500 |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: