Skip to content

Commit

Permalink
major bug fixes like holy I made it an actually functioning feature (…
Browse files Browse the repository at this point in the history
…somewhat)
  • Loading branch information
Ermucat committed Jan 9, 2025
1 parent da274e7 commit 94bf8bf
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- type: Tag
tags:
- ForceableFollow
- AnomCore # harmony change. used for construction
- type: AnomalyCore
timeToDecay: 600
startPrice: 10000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
- type: entity
parent: ReinforcementRadio
parent: [BaseItem]
abstract: true
id: BaseGolemCore
name: The base golem core
description: Got to make this because syndicate contraband
components:
- type: UserInterface
interfaces:
enum.GhostRoleRadioUiKey.Key:
type: GhostRoleRadioBoundUserInterface
- type: ActivatableUI
key: enum.GhostRoleRadioUiKey.Key


- type: entity
parent: BaseGolemCore
id: GolemCoreSteel
name: Steel Core
description: Call in your creation.
Expand All @@ -16,9 +31,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: SteelGolem
- type: Construction
graph: GolumCoreGraph
node: SteelCore

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCoreUranium
name: Uranium Core
description: Call in your creation.
Expand All @@ -35,9 +53,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: UraniumGolem
- type: Construction
graph: GolumCoreGraph
node: UraniumCore

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCorePlasma
name: Plasma Core
description: Call in your creation.
Expand All @@ -54,9 +75,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: PlasmaGolem
- type: Construction
graph: GolumCoreGraph
node: olemCorePlasma

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCoreAdamantium
name: Adamantium Core
description: Call in your creation.
Expand All @@ -73,9 +97,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: AdamantiumGolem
- type: Construction
graph: GolumCoreGraph
node: BaseCore

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCoreGlass
name: Glass Core
description: Call in your creation.
Expand All @@ -92,9 +119,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: GlassGolem
- type: Construction
graph: GolumCoreGraph
node: GlassCore

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCoreGold
name: Gold Core
description: Call in your creation.
Expand All @@ -111,9 +141,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: GoldGolem
- type: Construction
graph: GolumCoreGraph
node: GoldCore

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCoreSilver
name: Silver Core
description: Call in your creation.
Expand All @@ -130,9 +163,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: SilverGolem
- type: Construction
graph: GolumCoreGraph
node: SilverCore

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCoreDiamond
name: Diamond Core
description: Call in your creation.
Expand All @@ -149,9 +185,12 @@
settings: default
- type: GhostRoleMobSpawner
prototype: DiamondGolem
- type: Construction
graph: GolumCoreGraph
node: DiamondCore

- type: entity
parent: ReinforcementRadio
parent: BaseGolemCore
id: GolemCoreBananium
name: Bananium Core
description: God... Please dont.
Expand All @@ -168,3 +207,6 @@
settings: default
- type: GhostRoleMobSpawner
prototype: BananiumGolem
- type: Construction
graph: GolumCoreGraph
node: BananiumCore
3 changes: 1 addition & 2 deletions Resources/Prototypes/_Harmony/Recipes/GolemCores/Cores.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
- type: construction
name: Golem Core
id: GolemCoreConstruction
graph: GolumCoreGraph2
graph: GolumCoreGraph
startNode: start
targetNode: BaseCore
category: construction-category-utilities
description: A golem core.
icon: { sprite: Structures/Specific/Anomalies/Cores/shadow_core.rsi, state: core }
objectType: Item
tag: BaseCore
133 changes: 53 additions & 80 deletions Resources/Prototypes/_Harmony/Recipes/GolemCores/Graphs/Core.yml
Original file line number Diff line number Diff line change
@@ -1,117 +1,90 @@
- type: constructionGraph
id: GolumCoreGraph2
id: GolumCoreGraph
start: start
graph:
- node: start
edges:
- to: BaseCore
steps:
- tag: AnomalyCoreRock
- tag: AnomCore
name: Anomaly Core
icon:
sprite: Structures/Specific/Anomalies/Cores/shadow_core.rsi
state: core
doAfter: 1
- type: constructionGraph
id: GolumCoreGraphExpansion
start: BaseCore
graph:
- node: BaseCore
entity: GolemCoreAdamantium
edges:

- to: PlasmaCore
steps:
- material: Steel
amount: 10
doAfter: 1

- to: UraniumCore
- tag: SheetUranium
name: Uranium Sheet
amount: 10
icon:
sprite: Objects/Materials/Sheets/other.rsi
state: uranium_3
doAfter: 1
steps:
- material: Uranium
amount: 10
doAfter: 1

- to: PlasmaCore
- tag: SheetPlasma
name: Plasma Sheet
amount: 10
icon:
sprite: Objects/Materials/Sheets/other.rsi
state: plasma_3
doAfter: 1
steps:
- material: Plasma
amount: 10
doAfter: 1

- to: GlassCore
- tag: SheetGlass
name: Glass Sheet
amount: 10
icon:
sprite: Objects/Materials/Sheets/glass.rsi
state: Glass_3
doAfter: 1
steps:
- material: Glass
amount: 10
doAfter: 1

- to: GoldCore
- tag: IngotGold
name: Gold Ingot
amount: 10
icon:
sprite: Objects/Materials/ingots.rsi
state: gold_3
doAfter: 1

- to: SilverCore
- tag: IngotSilver
name: Silver Ingot
amount: 10
icon:
sprite: Objects/Materials/ingots.rsi
state: silver_3
doAfter: 1
steps:
- material: Gold
amount: 10
doAfter: 1

- to: SilverCore
- tag: IngotSilver
name: Silver Ingot
amount: 10
icon:
sprite: Objects/Materials/ingots.rsi
state: silver_3
doAfter: 1
steps:
- material: Silver
amount: 10
doAfter: 1

- to: DiamondCore
- tag: MaterialDiamond
name: Diamond
amount: 10
icon:
sprite: Objects/Materials/ingots.rsi
state: silver_3
doAfter: 1
steps:
- material: Diamond
amount: 10
doAfter: 1

- to: BananiumCore
- tag: MaterialBananium
name: Bananium
amount: 10
icon:
sprite: Objects/Materials/materials.rsi
state: bananium_1
doAfter: 1
steps:
- material: Bananium
amount: 10
doAfter: 1

- node: SteelCore
entity: GolemCoreSteel
- node: SteelCore
entity: GolemCoreSteel

- node: UraniumCore
entity: GolemCoreUranium
- node: UraniumCore
entity: GolemCoreUranium

- node: PlasmaCore
entity: GolemCorePlasma
- node: PlasmaCore
entity: GolemCorePlasma

- node: GlassCore
entity: GolemCorePlasma
- node: GlassCore
entity: GolemCoreGlass

- node: GoldCore
entity: GolemCorePlasma
- node: GoldCore
entity: GolemCoreGold

- node: SilverCore
entity: GolemCorePlasma
- node: SilverCore
entity: GolemCoreSilver

- node: DiamondCore
entity: GolemCorePlasma
- node: DiamondCore
entity: GolemCoreDiamond

- node: BananiumCore
entity: GolemCorePlasma
- node: BananiumCore
entity: GolemCoreBananium

2 changes: 2 additions & 0 deletions Resources/Prototypes/_Harmony/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
id: ClothingShoesGaloshes
- type: Tag
id: ClothingShoesDuckyGaloshes
- type: Tag
id: AnomCore

0 comments on commit 94bf8bf

Please sign in to comment.