Температурные пушки (#90)
* - add: Temperature guns. * - tweak: Change cryo sting slowdown. * - tweak: Tempgun tweaks. * - add: Hardsuit temperature adjustment system.
@@ -54,3 +54,5 @@ gun-speedloader-empty = Спидлоадер пуст
|
||||
gun-twomode-mode-examine = Выбран тип огня [color={ $color }]{ $mode }[/color].
|
||||
gun-twomode-Stun = шокер
|
||||
gun-twomode-Laser = лазер
|
||||
gun-twomode-Cool = охлаждение
|
||||
gun-twomode-Heat = нагрев
|
||||
|
||||
4
Resources/Locale/ru-RU/white/tempgun.ftl
Normal file
@@ -0,0 +1,4 @@
|
||||
ent-WeaponTempGun = температурная пушка
|
||||
.desc = Пушка, изменяющая температуру.
|
||||
|
||||
research-technology-temperature-weaponry = Температурное вооружение
|
||||
@@ -71,6 +71,7 @@
|
||||
- id: WeaponDisabler
|
||||
- id: HoloprojectorSecurity
|
||||
prob: 0.6
|
||||
- id: WeaponTempGun
|
||||
|
||||
- type: entity
|
||||
id: LockerBrigmedicFilled
|
||||
@@ -235,3 +236,13 @@
|
||||
contents:
|
||||
- id: WeaponLaserCarbine
|
||||
amount: 3
|
||||
|
||||
- type: entity
|
||||
parent: GunSafe
|
||||
id: GunSafeTempGun
|
||||
name: temperature gun safe
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: WeaponTempGun
|
||||
amount: 3
|
||||
|
||||
@@ -114,6 +114,7 @@
|
||||
tags:
|
||||
- Hardsuit
|
||||
- WhitelistChameleon
|
||||
- type: ClothingTemperatureAdjust
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
|
||||
@@ -63,6 +63,8 @@
|
||||
- type: MobPrice
|
||||
price: 1000 # Living critters are valuable in space.
|
||||
- type: Perishable
|
||||
- type: Temperature
|
||||
slowdown: false
|
||||
|
||||
- type: entity
|
||||
parent:
|
||||
@@ -106,3 +108,5 @@
|
||||
price: 150
|
||||
- type: FloatingVisuals
|
||||
- type: Penetrated
|
||||
- type: Temperature
|
||||
slowdown: true
|
||||
|
||||
@@ -1324,3 +1324,56 @@
|
||||
- type: Reflective
|
||||
reflective:
|
||||
- Energy
|
||||
|
||||
- type: entity
|
||||
name: heat beam
|
||||
id: BulletHeat
|
||||
parent: BaseBullet
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: FlyBySound
|
||||
sound:
|
||||
collection: EnergyMiss
|
||||
params:
|
||||
volume: 5
|
||||
- type: Sprite
|
||||
sprite: White/Objects/Projectiles/temperature.rsi
|
||||
layers:
|
||||
- state: heat
|
||||
shader: unshaded
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
projectile:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.15,-0.3,0.15,0.3"
|
||||
hard: false
|
||||
mask:
|
||||
- Opaque
|
||||
fly-by: *flybyfixture
|
||||
- type: Ammo
|
||||
muzzleFlash: null
|
||||
- type: ChangeTemperatureOnCollide
|
||||
temperature: 20
|
||||
- type: Projectile
|
||||
damage:
|
||||
types:
|
||||
Heat: 0
|
||||
soundHit:
|
||||
collection: WeakHit
|
||||
soundForce: true
|
||||
|
||||
- type: entity
|
||||
name: cold beam
|
||||
id: BulletCold
|
||||
parent: BulletHeat
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: White/Objects/Projectiles/temperature.rsi
|
||||
layers:
|
||||
- state: cold
|
||||
shader: unshaded
|
||||
- type: ChangeTemperatureOnCollide
|
||||
temperature: -20
|
||||
|
||||
@@ -319,6 +319,7 @@
|
||||
- ClothingEyesNightVisionGoggles # WD EDIT
|
||||
- KitchenKnife # WD EDIT
|
||||
- ButchCleaver # WD EDIT
|
||||
- WeaponTempGun # WD EDIT
|
||||
- DeviceQuantumSpinInverter
|
||||
- type: EmagLatheRecipes
|
||||
emagDynamicRecipes:
|
||||
@@ -723,6 +724,7 @@
|
||||
- WeaponLaserCannon
|
||||
- WeaponLaserCarbine
|
||||
- WeaponXrayCannon
|
||||
- WeaponTempGun # WD EDIT
|
||||
- PowerCageSmall
|
||||
- PowerCageMedium
|
||||
- PowerCageHigh
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
- type: entity
|
||||
name: temperature gun
|
||||
parent: WeaponEgun
|
||||
id: WeaponTempGun
|
||||
description: A gun that changes temperatures.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: White/Objects/Weapons/Guns/Battery/tempgun.rsi
|
||||
- type: Gun
|
||||
soundGunshot:
|
||||
path: /Audio/Weapons/Guns/Gunshots/laser.ogg
|
||||
- type: TwoModeEnergyAmmoProvider
|
||||
stunPrototype: BulletCold
|
||||
fireCost: 64
|
||||
stunFireCost: 64
|
||||
laserPrototype: BulletHeat
|
||||
laserFireCost: 64
|
||||
stunProjectileSpeed: 48
|
||||
laserProjectileSpeed: 48
|
||||
projSound: "/Audio/Weapons/Guns/Gunshots/laser.ogg"
|
||||
hitscanSound: "/Audio/Weapons/Guns/Gunshots/laser.ogg"
|
||||
modeNames:
|
||||
Stun: Cool
|
||||
Laser: Heat
|
||||
- type: BatterySelfRecharger
|
||||
autoRecharge: true
|
||||
autoRechargeRate: 20
|
||||
@@ -11,6 +11,7 @@
|
||||
completetime: 5
|
||||
materials:
|
||||
Steel: 1500
|
||||
|
||||
- type: latheRecipe
|
||||
id: ClothingEyesNightVisionGoggles
|
||||
result: ClothingEyesNightVisionGoggles
|
||||
@@ -21,3 +22,11 @@
|
||||
Silver: 100
|
||||
Gold: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: WeaponTempGun
|
||||
result: WeaponTempGun
|
||||
completetime: 8
|
||||
materials:
|
||||
Steel: 1500
|
||||
Glass: 1000
|
||||
Silver: 200
|
||||
|
||||
11
Resources/Prototypes/White/Research/arsenal.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- type: technology
|
||||
id: TemperatureWeaponry
|
||||
name: research-technology-temperature-weaponry
|
||||
icon:
|
||||
sprite: White/Objects/Weapons/Guns/Battery/tempgun.rsi
|
||||
state: icon
|
||||
discipline: Arsenal
|
||||
tier: 2
|
||||
cost: 7500
|
||||
recipeUnlocks:
|
||||
- WeaponTempGun
|
||||
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 245 B |
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "taken from vgstation at https://github.com/vgstation-coders/vgstation13 at 6f3d7af6acf4f100cd88deec74cc750d6e90e4f3",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "cold"
|
||||
},
|
||||
{
|
||||
"name": "heat"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 681 B |
|
After Width: | Height: | Size: 681 B |
|
After Width: | Height: | Size: 876 B |
|
After Width: | Height: | Size: 878 B |
|
After Width: | Height: | Size: 871 B |
|
After Width: | Height: | Size: 877 B |
|
After Width: | Height: | Size: 221 B |
|
After Width: | Height: | Size: 112 B |
|
After Width: | Height: | Size: 115 B |
|
After Width: | Height: | Size: 115 B |
|
After Width: | Height: | Size: 115 B |
|
After Width: | Height: | Size: 221 B |
|
After Width: | Height: | Size: 109 B |
|
After Width: | Height: | Size: 113 B |
|
After Width: | Height: | Size: 113 B |
|
After Width: | Height: | Size: 113 B |
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from vgstation and tgstation",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "base"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode1-0",
|
||||
"delays": [
|
||||
[
|
||||
0.3,
|
||||
0.3
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode1-1"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode1-2"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode1-3"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode1-4"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode2-0",
|
||||
"delays": [
|
||||
[
|
||||
0.3,
|
||||
0.3
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode2-1"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode2-2"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode2-3"
|
||||
},
|
||||
{
|
||||
"name": "mag-twomode2-4"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "laser-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "laser-inhand-right",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||