Skip to content

Commit

Permalink
Add 4 New Mining Materials (#1693)
Browse files Browse the repository at this point in the history
# Description

This PR adds 4 new materials for use with lathe recipes. As well as
plenty of assets to implement more as we need. Nothing actually
currently uses these yet, so they're just sellable for now. Eventually
we're going to start differentiating ore loot by biome, so that we can

# TODO

<details><summary><h1>Media</h1></summary>
<p>
new materials


![image](https://github.com/user-attachments/assets/27efa510-592a-4d4c-8de5-f35a929c3b1f)


![image](https://github.com/user-attachments/assets/7eddd91b-c49a-4ec8-aa80-f68d2dc88c17)

new ores

![image](https://github.com/user-attachments/assets/259c0213-efba-4c5b-8baf-ea565d54c142)

</p>
</details>

# Changelog

:cl:
- add: Added lathe and ore processor materials for Lead, Aluminium,
Copper, Tungsten-Carbide, and Circuitry. Only Tungsten-Carbide currently
has a use.
- add: Tacsuits now require Tungsten-Carbide to make instead of
Plasteel, and require a lot less.
- add: Reworked ore drops for Lava planets. Lava planets now have random
ores that drop from any rock, but with their own drop table. Iron & Gold
are "Plentiful" on lava planets, with moderate amounts of Aluminium and
Tungsten. All other ores are very rare from Lava rocks.
- add: Energy Swords can now be manufactured at a Secfab after
researching Arsenal T3 Prototype Weapons

---------

Co-authored-by: stellar-novas <stellar_novas@riseup.net>
  • Loading branch information
VMSolidus and stellar-novas authored Feb 5, 2025
1 parent 9448bac commit dad3d5d
Show file tree
Hide file tree
Showing 119 changed files with 1,526 additions and 26 deletions.
9 changes: 9 additions & 0 deletions Resources/Locale/en-US/materials/materials.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ materials-steel = steel
materials-gold = gold
materials-silver = silver
materials-plasteel = plasteel
materials-aluminium = aluminium
materials-copper = copper
materials-tungsten = tungsten-carbide
materials-lead = lead
# Other
materials-biomass = biomass
Expand Down Expand Up @@ -41,6 +45,11 @@ materials-raw-bananium = raw bananium
materials-raw-salt = raw salt
materials-raw-bluespace = raw bluespace
materials-raw-normality = raw normality
materials-raw-aluminium = raw aluminium
materials-raw-lead = raw lead
materials-raw-sulfur = raw sulfur
materials-raw-copper = raw copper
materials-raw-tungsten = raw tungsten
# Material Reclaimer
material-reclaimer-upgrade-process-rate = process rate
37 changes: 37 additions & 0 deletions Resources/Prototypes/Entities/Objects/Materials/ingots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,40 @@
state: silver
- type: Stack
count: 1

- type: entity
parent: IngotBase
id: IngotTungsten
name: tungsten-carbide bar
suffix: Full
components:
- type: Material
- type: PhysicalComposition
materialComposition:
Tungsten: 100
- type: Stack
stackType: Tungsten
baseLayer: base
layerStates:
- tungsten_1
- tungsten_2
- tungsten_3
- type: Sprite
state: tungsten_3
layers:
- state: tungsten_3
map: ["base"]
- type: Item
heldPrefix: tungsten
- type: Appearance

- type: entity
parent: IngotTungsten
id: IngotTungsten1
name: tungsten-carbide bar
suffix: Single
components:
- type: Sprite
state: tungsten_1
- type: Stack
count: 1
23 changes: 23 additions & 0 deletions Resources/Prototypes/Entities/Objects/Materials/ore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,3 +424,26 @@
components:
- type: Stack
count: 1

- type: entity
parent: OreBase
id: TungstenOre
name: wolframite
suffix: Full
components:
- type: Stack
stackType: TungstenOre
- type: Sprite
state: tungsten
- type: Material
- type: PhysicalComposition
materialComposition:
RawTungsten: 500

- type: entity
parent: TungstenOre
id: TungstenOre1
suffix: Single
components:
- type: Stack
count: 1
10 changes: 10 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
- RootSpeakTranslator
- BasicGalaticCommonTranslatorImplanter
- MofficTranslator
- N14MaterialCircuitry
- type: EmagLatheRecipes
emagStaticRecipes:
- BoxLethalshot
Expand Down Expand Up @@ -295,6 +296,7 @@
- LargeBeaker
- Dropper
- ClothingEyesGlassesChemical
- N14MaterialCircuitry
dynamicRecipes:
- PowerDrill
- MiningDrill
Expand Down Expand Up @@ -494,6 +496,7 @@
- ReagentGrinderIndustrialMachineCircuitboard
- StasisBedMachineCircuitboard
- CryoPodMachineCircuitboard
- N14MaterialCircuitry
dynamicRecipes:
- ThermomachineFreezerMachineCircuitBoard
- HellfireFreezerMachineCircuitBoard
Expand Down Expand Up @@ -1056,6 +1059,9 @@
- WeaponMechCombatDisabler
- WeaponMechCombatFlashbangLauncher
- WeaponMechCombatMissileRack8
- EnergySword
- EnergySwordDouble
- EnergyCutlass
- type: MaterialStorage
whitelist:
tags:
Expand Down Expand Up @@ -1481,6 +1487,10 @@
- IngotGold1
- IngotSilver1
- MaterialBananium1
- N14IngotLead1
- N14IngotCopper1
- N14IngotAluminium1
- IngotTungsten1
- type: MaterialStorageMagnetPickup # Delta V - Summary: Adds magnet pull from Frontier
magnetEnabled: True
range: 0.30 # Delta V - End Magnet Pull
Expand Down
Loading

0 comments on commit dad3d5d

Please sign in to comment.