Make shift laser gun (#8125)

* Added the TechFabCircuitboards and made them spawn in the head's lockers

* Added the construction graph for makeshift laser

* Added the construction graph to the yml of makeshiftlaser

* Resolving branching issues

* resolving branching issues

* resolving branching issues

* Small fixes

* Update battery_guns.yml

* Update battery_guns.yml

* Update battery_guns.yml

Co-authored-by: wrexbe <wrexbe@protonmail.com>
Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>
This commit is contained in:
Ripmorld
2022-06-04 14:30:36 +08:00
committed by GitHub
parent b69bd554e3
commit be28ba91e7
3 changed files with 39 additions and 0 deletions

View File

@@ -73,6 +73,9 @@
- type: Battery
maxCharge: 500
startingCharge: 500
- type: Construction
graph: MakeshiftLaser
node: makeshiftLaser
- type: entity
name: cog laser carbine

View File

@@ -0,0 +1,25 @@
- type: constructionGraph
id: MakeshiftLaser
start: start
graph:
- node: start
edges:
- to: makeshiftLaser
steps:
- material: Cable
amount: 2
doAfter: 2
- material: Steel
amount: 10
doAfter: 4
- prototype: MaterialDiamond
name: refined diamond
icon:
sprite: Objects/Materials/materials.rsi
state: diamond
doAfter: 1
- material: Glass
amount: 5
doAfter: 5
- node: makeshiftLaser
entity: WeaponMakeshiftLaser

View File

@@ -20,3 +20,14 @@
icon: Objects/Weapons/Throwable/bola.rsi/icon.png
objectType: Item
- type: construction
name: makeshift laser
id: MakeshiftLaser
graph: MakeshiftLaser
startNode: start
targetNode: makeshiftLaser
category: Weapons
description: A make shift laser for the lasering enthusiast.
icon: Objects/Weapons/Guns/Battery/makeshift.rsi/icon.png
objectType: Item