Skip to content
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/_Omu/recipes/tags.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
construction-graph-tag-lubricant = Space Lube

construction-graph-tag-chem-hud = chemical analysis goggles
construction-graph-tag-medichem-hud = medichem goggles
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
- type: Lube
- type: TrashOnSolutionEmpty
solution: drink
- type: Tag #Omu - Greaser Gun
tags:
- Lubricant

- type: entity
parent: BluespaceBeaker
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Recipes/Crafting/improvised.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,4 @@
targetNode: bagPet
category: construction-category-clothing
objectType: Item

79 changes: 79 additions & 0 deletions Resources/Prototypes/_Omu/Entities/Objects/Misc/greaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
- type: entity
name: Uncut Steel Frame
parent: BaseItem
id: GreaseGunFrame
description: A crude, rectangular hunk of station steel. Nothing’s drilled, nothing’s fitted. Just raw potential and bad intentions.
components:
- type: Sprite
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
state: construction-1
- type: Item
size: Normal
sprite:
- type: Construction
graph: GreaserGraph
node: greaserframe

- type: entity
name: Rough-Bored Receiver
parent: BaseItem
id: MachinedGreaseGunFrame
description: A roughly machined receiver shell. The metal’s uneven, crude, and filed by hand, but the shape of a gun is finally showing itself.
components:
- type: Sprite
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
state: construction-2
- type: Item
size: Normal
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
- type: Construction
graph: GreaserGraph
node: greasermachinedframe

- type: entity
name: Bolt-Fitted Receiver
parent: BaseItem
id: GreaseGunBoltAssembly
description: The bolt’s slapped in and welded shut. Lords' lore says if it rattles, it’ll run—this one rattles like hell.
components:
- type: Sprite
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
state: construction-3
- type: Item
size: Normal
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
- type: Construction
graph: GreaserGraph
node: greaserboltwelded

- type: entity
name: Wired-Up Lower Rig
parent: BaseItem
id: GreaseGunLowerAssembly
description: The lower assembly is wired, screwed, and half-aligned. The trigger crunches like a mousetrap. One or two more steps and this thing might actually fire.
components:
- type: Sprite
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
state: construction-4
- type: Item
size: Normal
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
- type: Construction
graph: GreaserGraph
node: greaserlowerassembly

- type: entity
name: Nearly-Ready Greaser
parent: BaseItem
id: GreaseGunBarrel
description: Every part of the gun is now bolted together; Barrel, bolt, frame, and trigger. It just needs some minor adjustments and, of course, grease.
components:
- type: Sprite
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
state: construction-5
- type: Item
size: Normal
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
- type: Construction
graph: GreaserGraph
node: greaserbarrel
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,63 @@
- type: Contraband
allowedDepartments: [ CentralCommand ]
severity: Restricted

- type: entity
name: Greaser
parent: [BaseWeaponSubMachineGun, BaseMajorContraband]
id: WeaponSubMachineGunGreaser
description: A long since leaked and circulated schematic of a staple Maint Lords piece. The kind of gutter gun that rattles before it roars.
components:
- type: Sprite
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: _Omu/Objects/Weapons/Guns/SMGs/greaser.rsi
- type: ChamberMagazineAmmoProvider
- type: Gun
minAngle: 10
maxAngle: 25
fireRate: 4
angleIncrease: 3
angleDecay: 16
soundGunshot:
path: /Audio/_Omu/Weapons/Guns/Gunshots/greaser.ogg
selectedMode: FullAuto
availableModes:
- FullAuto
- SemiAuto
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazinePistolSubMachineGunEmpty
insertSound: /Audio/_Omu/Weapons/Guns/MagIn/greaser_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/smg_magout.ogg
priority: 2
whitelist:
tags:
- MagazinePistolSubMachineGun
whitelistFailPopup: gun-magazine-whitelist-fail
gun_chamber:
name: Chamber
priority: 1
whitelist:
tags:
- CartridgePistol
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance
- type: Multishot
missChance: 0.3
- type: Item
shape:
- 0,0,2,1
- type: Construction
graph: GreaserGraph
node: greasegun
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
- type: constructionGraph
id: GreaserGraph
start: start
graph:
- node: start
edges:
- to: greaserframe
steps:
- tag: ModularReceiver
icon:
sprite: Objects/Misc/modular_receiver.rsi
state: icon
name: construction-graph-tag-modular-receiver
- material: Steel
amount: 20
doAfter: 10

- node: greaserframe
entity: GreaseGunFrame
edges:
- to: machinedgreaserframe
steps:
- tool: Screwing
doAfter: 15

- node: machinedgreaserframe
entity: MachinedGreaseGunFrame
edges:
- to: greaserboltunwelded
steps:
- material: MetalRod
amount: 6
doAfter: 10

- node: greaserboltunwelded
entity: MachinedGreaseGunFrame
edges:
- to: greaserboltwelded
steps:
- tool: Welding
doAfter: 10

- node: greaserboltwelded
entity: GreaseGunBoltAssembly
edges:
- to: greaserlowerassembly
steps:
- material: Steel
amount: 10
doAfter: 15

- node: greaserlowerassembly
entity: GreaseGunLowerAssembly
edges:
- to: greasertriggergroup
steps:
- tool: Screwing
doAfter: 10

- node: greasertriggergroup
entity: GreaseGunLowerAssembly
edges:
- to: greasertriggerwiring
steps:
- material: Cable
amount: 10
doAfter: 10

- node: greasertriggerwiring
entity: GreaseGunLowerAssembly
edges:
- to: greaserbarrel
steps:
- tag: Pipe
icon:
sprite: Structures/Piping/Atmospherics/pipe.rsi
state: pipeStraight
name: construction-graph-tag-pipe
doAfter: 10

- node: greaserbarrel
entity: GreaseGunBarrel
edges:
- to: greaserbarrelwrenched
steps:
- tool: Anchoring
doAfter: 10

- node: greaserbarrelwrenched
entity: GreaseGunBarrel
edges:
- to: greaser
steps:
- tag: Lubricant
amount: 1
icon:
sprite: Objects/Consumable/Drinks/lube-tube.rsi
state: icon
name: construction-graph-tag-lubricant
doAfter: 5

- node: greaser
entity: WeaponSubMachineGunGreaser
7 changes: 7 additions & 0 deletions Resources/Prototypes/_Omu/Recipes/Crafting/improvised.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- type: construction
id: greaserGun
graph: GreaserGraph
startNode: start
targetNode: greaser
category: construction-category-weapons
objectType: Item
3 changes: 3 additions & 0 deletions Resources/Prototypes/_Omu/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
- type: Tag
id: AdvancedEnergyMagAmmo

- type: Tag
id: Lubricant

- type: Tag
id: Stunsword

Expand Down
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.
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,54 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken/modified from https://github.com/goonstation/goonstation/blob/0cc3070b5b6929aabf3750163b44bbaf940f46ae/icons/obj/items/guns/kinetic.dmi, sprite modification by NotoriousCapone, backpack sling created by NotoriousCapone, wield sprites by NotoriousCapone, base sprite heavily edited by NotoriousCapone for SS14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "mag-0"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
},
{
"name": "construction-1"
},
{
"name": "construction-2"
},
{
"name": "construction-3"
},
{
"name": "construction-4"
},
{
"name": "construction-5"
}
]
}
Loading