Skip to content
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

Some changes for "big salvage and miners update #208." #210

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Resources/Locale/en-US/research/technologies.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ research-technology-bluespace-chemistry = Bluespace Chemistry
research-technology-cloning = Cloning

research-technology-salvage-weapons = Salvage Weapons
research-technology-salvage-cutters = Ion weapons
research-technology-draconic-munitions = Draconic Munitions
research-technology-explosive-technology = Explosive Technology
research-technology-advanced-laser-manipulation = Advanced Laser Manipulation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ ent-CratePartsT3T4 = tier 3/4 parts crate
ent-CratePartsT4 = tier 4 parts crate
.desc = Contains 5 random tier 4 parts for upgrading machines.
.suffix = { "" }
ent-CrateAdvSalvageEquipment = advanced salvage equipment crate
.desc = Contains one advanced set of miner's tools.
.suffix = Filled
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/research/technologies.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ research-discipline-arsenal = Оружейная
research-discipline-experimental = Экспериментальная
research-discipline-civilian-services = Сервисная
research-technology-salvage-weapons = Оружия утилизаторов
research-technology-salvage-cutters = Ионная экипировка
research-technology-salvage-equipment = Экипировка для утилизаторов
research-technology-advanced-powercells = Продвинутые батареи
research-technology-compact-power = Компактное энергопитание
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ ent-CratePartsT3T4 = ящик деталей 3/4 уровня
ent-CratePartsT4 = ящик деталей 4 уровня
.desc = Содержит 5 случайных деталей 4 уровня для улучшения оборудования.
.suffix = { "" }
ent-CrateMinerEquipment = ящик шахтерских инструментов
.desc = Содержит набор инструментов для двух шахтеров
.suffix = Заполненный
ent-CrateMinerAdvancedEquipment = ящик продвинутых шахтерских инструментов
.desc = Содержит набор продвинутых инструментов для двух шахтеров
ent-CrateAdvSalvageEquipment = ящик продвинутых шахтерских инструментов
.desc = Содержит в себе один продвинутый набор шахтёрских инструментов.
.suffix = Заполненный
21 changes: 0 additions & 21 deletions Resources/Prototypes/Catalog/Cargo/cargo_cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,3 @@
cost: 250
category: Cargo
group: market

- type: cargoProduct
id: CargoCrateMinerEquipment
icon:
sprite: Objects/Weapons/Guns/Battery/cutter.rsi
state: icon
product: CrateMinerEquipment
cost: 7500
category: Cargo
group: market

- type: cargoProduct
id: CargoCrateMinerAdvancedEquipment
icon:
sprite: Objects/Weapons/Guns/Battery/cutteradv.rsi
state: icon
product: CrateMinerAdvancedEquipment
cost: 12500
category: Cargo
group: market

27 changes: 5 additions & 22 deletions Resources/Prototypes/Catalog/Fills/Crates/salvage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,30 +148,13 @@
amount: 5

- type: entity
id: CrateMinerEquipment
name: "mining"
description: For the daring.
suffix: Filled
parent: CrateGenericSteel
components:
- type: StorageFill
contents:
- id: WeaponCutter
amount: 2
- id: OreBagBluespace
amount: 2

- type: entity
id: CrateMinerAdvancedEquipment
name: "mining advanced"
description: For the daring.
id: CrateAdvSalvageEquipment
name: advanced salvage equipment
suffix: Filled
parent: CrateGenericSteel
description: Contains one advanced plasma cutter and bluespace ore bag.
components:
- type: StorageFill
contents:
- id: WeaponCutterAdv
amount: 2
- id: OreBagBluespace
amount: 2

- id: WeaponCutterAdv
- id: OreBagBluespace
Original file line number Diff line number Diff line change
Expand Up @@ -496,28 +496,33 @@
sprite: Objects/Weapons/Guns/Battery/cutter.rsi
state: icon
- type: Gun
fireRate: 6
fireRate: 0.6
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/plasma_cutter.ogg
- type: Item
size: 25
- type: ProjectileBatteryAmmoProvider
proto: BulletCutter
fireCost: 10
fireCost: 200
- type: Battery
maxCharge: 5000
startingCharge: 5000
- type: Appearance

- type: entity
name: Advanced Cutter
parent: BaseWeaponBatterySmall
parent: WeaponCutter
id: WeaponCutterAdv
description: A self-defense weapon that exhausts organic targets, weakening them until they collapse.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Battery/cutteradv.rsi
state: icon
- type: Gun
fireRate: 8
fireRate: 1
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/plasma_cutter.ogg
- type: ProjectileBatteryAmmoProvider
proto: BulletCutter
fireCost: 5
proto: BulletCutterAdv
fireCost: 100
- type: Appearance
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,49 @@
path: "/Audio/Weapons/tap.ogg"
soundForce: true

- type: entity
id: BulletCutter
name: cutter bolt
parent: BaseBullet
noSpawn: true
description: Not too bad, but you still don't want to get hit by it.
components:
- type: Reflective
reflective:
- NonEnergy
- type: Sprite
noRot: false
sprite: Objects/Weapons/Guns/Projectiles/bullet_cutter.rsi
layers:
- state: icon
shader: unshaded
- type: GatheringProjectile
amount: 30
- type: Projectile
deleteOnCollide: false
damage:
types:
Heat: 10
- type: TimedDespawn
lifetime: 0.2
- type: PointLight
radius: 2
color: purple
energy: 1

- type: entity
id: BulletCutterAdv
name: cutter bolt advanced
parent: BulletCutter
noSpawn: true
components:
- type: Projectile
damage:
types:
Heat: 15
- type: TimedDespawn
lifetime: 0.25

- type: entity
name: emitter bolt
id: EmitterBolt
Expand Down Expand Up @@ -766,27 +809,3 @@
lifetime: 0.4
- type: StaminaDamageOnCollide
damage: 65

- type: entity
id: BulletCutter
name: Cutter bolt
parent: BaseBullet
noSpawn: true
description: Not too bad, but you still don't want to get hit by it.
components:
- type: Reflective
reflective:
- NonEnergy
- type: Sprite
noRot: false
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
layers:
- state: scatterlaser
- type: GatheringProjectile
- type: Projectile
damage:
types:
Heat: 0.5
# Short lifespan
- type: TimedDespawn
lifetime: 0.4
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
- WeaponCrusherDagger
- WeaponForceGun
- WeaponProtoKineticAccelerator
- WeaponCutter
- WeaponTetherGun
- WeaponGrapplingGun
- ClothingBackpackHolding
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Procedural/salvage_rewards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
CrateArmoryLaser: 1.0
CrateArmoryShotgun: 1.0
BoxCursedKatana: 1.0
# rare equipment
CrateAdvSalvageEquipment: 1.0
# rare armor
ClothingOuterArmorRiot: 1.0
# rare chemicals
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/Recipes/Lathes/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
Glass: 800
Plastic: 500

- type: latheRecipe
id: WeaponCutter
result: WeaponCutter
completetime: 10
materials:
Steel: 1100
Glass: 200
Gold: 300
Plasma: 800

- type: latheRecipe
id: WeaponAdvancedLaser
result: WeaponAdvancedLaser
Expand Down
12 changes: 12 additions & 0 deletions Resources/Prototypes/Research/arsenal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@

# Tier 2

- type: technology
id: SalvageCutters
name: research-technology-salvage-cutters
icon:
sprite: Objects/Weapons/Guns/Battery/cutter.rsi
state: icon
discipline: Arsenal
tier: 2
cost: 8500
recipeUnlocks:
- WeaponCutter

- type: technology
id: OptimizedBallistics
name: research-technology-optimized-ballistics
Expand Down
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,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken and modified from tgstation commit: https://github.com/tgstation/tgstation/commit/2b8b045d5a237147d736e3ba3c77c8cc5fb66cb5#diff-db041845cfd01e0f883d2bf4f74cd897b7f63ea5e856e64109d7dd3b6543d1ab",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}
Loading