-
Notifications
You must be signed in to change notification settings - Fork 18
steel, probably doesent work, ill fix the bugs next pr #249
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
base: master
Are you sure you want to change the base?
Changes from all commits
840b7f2
a2556d6
70b81ca
9ad1e23
7b6161b
6b7ecbd
85ef9f1
787b2bf
95de58e
9117c46
7847f61
06a40c1
df0bc92
94f811a
aa7f7a7
985439f
afb988c
2cc9dca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -148,3 +148,45 @@ | |||||||||||||||||||||||||||||||
| completetime: 2 | ||||||||||||||||||||||||||||||||
| materials: | ||||||||||||||||||||||||||||||||
| RawSand: 100 | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - type: entity | ||||||||||||||||||||||||||||||||
| id: BlastFurnace | ||||||||||||||||||||||||||||||||
| name: blastfurnace | ||||||||||||||||||||||||||||||||
| description: Used for making pig iron. | ||||||||||||||||||||||||||||||||
| - type: Sprite | ||||||||||||||||||||||||||||||||
| sprite: Civ14/Objects/metallurgy.rsi | ||||||||||||||||||||||||||||||||
| layers: | ||||||||||||||||||||||||||||||||
| - state: blast_furnace_on | ||||||||||||||||||||||||||||||||
| shader: unshaded | ||||||||||||||||||||||||||||||||
| map: [ "enum.LatheVisualLayers.IsRunning" ] | ||||||||||||||||||||||||||||||||
| - state: blast_furnace | ||||||||||||||||||||||||||||||||
| map: [ "enum.PowerDeviceVisualLayers.Powered" ] | ||||||||||||||||||||||||||||||||
| - state: blast_furnace | ||||||||||||||||||||||||||||||||
| map: [ "enum.MaterialStorageVisualLayers.Inserting" ] | ||||||||||||||||||||||||||||||||
| - state: blast_furnace | ||||||||||||||||||||||||||||||||
| map: [ "enum.WiresVisualLayers.MaintenancePanel" ] | ||||||||||||||||||||||||||||||||
| - type: Destructible | ||||||||||||||||||||||||||||||||
|
Comment on lines
+152
to
+168
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Malformed entity: missing The Apply this diff to introduce - - type: entity
+ - type: entity
id: BlastFurnace
- name: blastfurnace
- description: Used for making pig iron.
- - type: Sprite
- sprite: Civ14/Objects/metallurgy.rsi
- layers:
- - state: blast_furnace_on
- shader: unshaded
- map: [ "enum.LatheVisualLayers.IsRunning" ]
- - state: blast_furnace
- map: [ "enum.PowerDeviceVisualLayers.Powered" ]
- - state: blast_furnace
- map: [ "enum.MaterialStorageVisualLayers.Inserting" ]
- - state: blast_furnace
- map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
+ name: blast furnace
+ description: Used for making pig iron.
+ components:
+ - type: Sprite
+ sprite: Civ14/Objects/metallurgy.rsi
+ layers:
+ - state: blast_furnace_on
+ shader: unshaded
+ map: ["enum.LatheVisualLayers.IsRunning"]
+ - state: blast_furnace
+ map: ["enum.PowerDeviceVisualLayers.Powered"]
+ - state: blast_furnace
+ map: ["enum.MaterialStorageVisualLayers.Inserting"]
+ - state: blast_furnace
+ map: ["enum.WiresVisualLayers.MaintenancePanel"]
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||
| thresholds: | ||||||||||||||||||||||||||||||||
| - trigger: !type:DamageTrigger | ||||||||||||||||||||||||||||||||
| damage: 200 | ||||||||||||||||||||||||||||||||
| behaviors: | ||||||||||||||||||||||||||||||||
| - !type:PlaySoundBehavior | ||||||||||||||||||||||||||||||||
| sound: | ||||||||||||||||||||||||||||||||
| collection: StoneBreak | ||||||||||||||||||||||||||||||||
| - !type:DoActsBehavior | ||||||||||||||||||||||||||||||||
| acts: [ "Destruction" ] | ||||||||||||||||||||||||||||||||
| - type: ApcPowerReceiver | ||||||||||||||||||||||||||||||||
|
Comment on lines
+168
to
+178
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indentation within Lists ( - - type: Destructible
- thresholds:
- - trigger: !type:DamageTrigger
- damage: 200
- behaviors:
- - !type:PlaySoundBehavior
- sound:
- collection: StoneBreak
- - !type:DoActsBehavior
- acts: [ "Destruction" ]
+ - type: Destructible
+ thresholds:
+ - trigger: !type:DamageTrigger
+ damage: 200
+ behaviors:
+ - !type:PlaySoundBehavior
+ sound:
+ collection: StoneBreak
+ - !type:DoActsBehavior
+ acts: ["Destruction"]
|
||||||||||||||||||||||||||||||||
| needsPower: false | ||||||||||||||||||||||||||||||||
| - type: Lathe | ||||||||||||||||||||||||||||||||
| idleState: blast_furnace | ||||||||||||||||||||||||||||||||
| runningState: blast_furnace_on | ||||||||||||||||||||||||||||||||
| staticPacks: | ||||||||||||||||||||||||||||||||
| - BlastFurnace | ||||||||||||||||||||||||||||||||
| - type: Construction | ||||||||||||||||||||||||||||||||
| graph: BlastFurnace | ||||||||||||||||||||||||||||||||
| node: end | ||||||||||||||||||||||||||||||||
|
Comment on lines
+181
to
+187
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
- - type: Lathe
- idleState: blast_furnace
- runningState: blast_furnace_on
- staticPacks:
- - BlastFurnace
- - type: Construction
- graph: BlastFurnace
- node: end
+ - type: Lathe
+ idleState: blast_furnace
+ runningState: blast_furnace_on
+ staticPacks:
+ - BlastFurnace
+ - type: Construction
+ graph: BlastFurnace
+ node: end📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
| - type: latheRecipePack | ||||||||||||||||||||||||||||||||
| id: BlastFurnace | ||||||||||||||||||||||||||||||||
| recipes: | ||||||||||||||||||||||||||||||||
| - IngotPigIron | ||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -35,6 +35,37 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| graph: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - node: start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| edges: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - type: constructionGraph | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| id: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| start: start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| graph: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - node: start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| edges: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - to: end | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - material: Iron | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| amount: 25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doAfter: 15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - node: end | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entity: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - type: construction | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name: blastfurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| id: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| graph: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| startNode: start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| targetNode: end | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category: construction-category-production | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description: Used for smelting pig iron. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| icon: { sprite: Civ14/Objects/metallurgy.rsi, state: bloomery } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| objectType: Structure | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agemin: 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agemax: 8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| placementMode: SnapgridCenter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| canBuildInImpassable: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| conditions: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - !type:TileNotBlocked | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+39
to
+68
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Duplicate BlastFurnace graph/construction inserted mid-Bloomery graph (and wrong icon). This block creates:
Best move: remove this earlier block and keep the later, cleaner one; or keep both constructions but give them unique IDs. Below is the “remove the earlier block” option. - - type: constructionGraph
- id: BlastFurnace
- start: start
- graph:
- - node: start
- edges:
- - to: end
- steps:
- - material: Iron
- amount: 25
- doAfter: 15
- - node: end
- entity: BlastFurnace
-
- - type: construction
- name: blastfurnace
- id: BlastFurnace
- graph: BlastFurnace
- startNode: start
- targetNode: end
- category: construction-category-production
- description: Used for smelting pig iron.
- icon: { sprite: Civ14/Objects/metallurgy.rsi, state: bloomery }
- objectType: Structure
- agemin: 0
- agemax: 8
- placementMode: SnapgridCenter
- canBuildInImpassable: false
- conditions:
- - !type:TileNotBlocked📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - to: end | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - material: Stone | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -121,3 +152,34 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| canBuildInImpassable: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| conditions: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - !type:TileNotBlocked | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - type: constructionGraph | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| id: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| start: start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| graph: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - node: start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| edges: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - to: end | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - material: Iron | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| amount: 25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| doAfter: 15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - node: end | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| entity: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - type: construction | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name: blast furnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| id: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| graph: BlastFurnace | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| startNode: start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| targetNode: end | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| category: construction-category-production | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| description: Used for smelting pig iron. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| icon: { sprite: Civ14/Objects/metallurgy.rsi, state: blast_furnace } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| objectType: Structure | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agemin: 2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| agemax: 8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| placementMode: SnapgridCenter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| canBuildInImpassable: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| conditions: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - !type:TileNotBlocked | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
🛠️ Refactor suggestion
Consider inheriting from
OreProcessorlike the other furnaces.StoneKilnandBloomerybothparent: OreProcessor. Without this,BlastFurnacemay miss expected defaults/components. Add the parent unless intentionally diverging.🤖 Prompt for AI Agents