Merge branch 'master' of https://github.com/crystallpunk-14/crystall-punk-14
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
using Content.Server._CP14.MagicEnergy.Components;
|
||||
using Content.Shared._CP14.MagicEnergy.Components;
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Mobs.Components;
|
||||
using Content.Shared.Mobs.Systems;
|
||||
using Robust.Shared.Map.Components;
|
||||
|
||||
namespace Content.Server._CP14.MagicEnergy;
|
||||
|
||||
public partial class CP14MagicEnergySystem
|
||||
{
|
||||
[Dependency] private readonly MobStateSystem _mobState = default!;
|
||||
|
||||
private void InitializeDraw()
|
||||
{
|
||||
SubscribeLocalEvent<CP14MagicEnergyDrawComponent, MapInitEvent>(OnDrawMapInit);
|
||||
@@ -52,6 +56,9 @@ public partial class CP14MagicEnergySystem
|
||||
if (draw.NextUpdateTime >= _gameTiming.CurTime)
|
||||
continue;
|
||||
|
||||
if (TryComp<MobStateComponent>(uid, out var mobState) && !_mobState.IsAlive(uid, mobState))
|
||||
continue;
|
||||
|
||||
draw.NextUpdateTime = _gameTiming.CurTime + TimeSpan.FromSeconds(draw.Delay);
|
||||
|
||||
ChangeEnergy(uid, draw.Energy, out _, out _, magicContainer, draw.Safe);
|
||||
@@ -63,6 +70,9 @@ public partial class CP14MagicEnergySystem
|
||||
if (draw.NextUpdateTime >= _gameTiming.CurTime)
|
||||
continue;
|
||||
|
||||
if (TryComp<MobStateComponent>(uid, out var mobState) && !_mobState.IsAlive(uid, mobState))
|
||||
continue;
|
||||
|
||||
draw.NextUpdateTime = _gameTiming.CurTime + TimeSpan.FromSeconds(draw.Delay);
|
||||
|
||||
var daylight = false;
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
id: CP14RuneResurrection
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#328643"
|
||||
@@ -77,6 +78,7 @@
|
||||
id: CP14ImpactEffectResurrection
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
id: CP14RuneDemiplaneInfiltration
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5e427e"
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
suffix: Teleport to demiplane crystal
|
||||
name: pulsating demiplane rift
|
||||
description: This rift is gaining strength, and will trap all nearby creatures in a demiplane in a second!
|
||||
save: false
|
||||
components:
|
||||
- type: Transform
|
||||
anchored: True
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
id: CP14ImpactEffectShadowGrab
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
id: CP14ImpactEffectShadowStep
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
id: CP14ImpactEffectDigging
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/material_splash.rsi
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
id: CP14RuneEarthWall
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#8f6a2b"
|
||||
@@ -55,6 +56,7 @@
|
||||
id: CP14ImpactEffectEarthWall
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -65,6 +67,7 @@
|
||||
- type: entity
|
||||
id: CP14WallSpawnEarthWall
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
id: CP14RuneFlameCreation
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#eea911"
|
||||
@@ -50,6 +51,7 @@
|
||||
id: CP14ImpactEffectFlameCreation
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
- type: entity
|
||||
id: CP14AreaEntityEffectHellBallade
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 1.6
|
||||
@@ -60,6 +61,7 @@
|
||||
id: CP14ImpactEffectHellBallade
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/music.rsi
|
||||
@@ -72,6 +74,7 @@
|
||||
id: CP14RuneHellBallade
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#eea911"
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
id: CP14ImpactEffectTieflingRevenge
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -53,6 +54,7 @@
|
||||
id: CP14RuneTieflingRevenge
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#eea911"
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
id: CP14TelegraphyFireRune
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#eea911"
|
||||
@@ -56,6 +57,7 @@
|
||||
id: CP14AreaEntityEffectFireRune
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#eea911"
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
id: CP14RuneFireball
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#eea911"
|
||||
@@ -59,6 +60,7 @@
|
||||
id: CP14ImpactEffectFireball
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -69,7 +71,7 @@
|
||||
- type: entity
|
||||
id: CP14Fireball
|
||||
parent: BulletRocket
|
||||
name: artificial flame
|
||||
name: fireball
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: PointLight
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
id: CP14RuneCureBurn
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#328643"
|
||||
@@ -70,6 +71,7 @@
|
||||
id: CP14ImpactEffectCureBurn
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
id: CP14RuneBloodPurification
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#328643"
|
||||
@@ -73,6 +74,7 @@
|
||||
id: CP14ImpactEffectBloodPurification
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
id: CP14RuneCureWounds
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#328643"
|
||||
@@ -67,6 +68,7 @@
|
||||
id: CP14ImpactEffectCureWounds
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
- type: entity
|
||||
id: CP14AreaEntityEffectHealBallade
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 1.6
|
||||
@@ -66,6 +67,7 @@
|
||||
id: CP14ImpactEffectHealthBallade
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/music.rsi
|
||||
@@ -78,6 +80,7 @@
|
||||
id: CP14RuneHealBallade
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#79b330"
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
- type: entity
|
||||
id: CP14AreaEntityEffectPeaceBallade
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 1.6
|
||||
@@ -59,6 +60,7 @@
|
||||
id: CP14ImpactEffectPeaceBallade
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/music.rsi
|
||||
@@ -71,6 +73,7 @@
|
||||
id: CP14RunePeaceBallade
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#bd4fda"
|
||||
|
||||
@@ -95,6 +95,7 @@
|
||||
id: CP14ImpactEffectPlantGrowth
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -106,6 +107,7 @@
|
||||
id: CP14RunePlantGrowth
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#328643"
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
- type: entity
|
||||
id: CP14AreaEntityEffectSpeedBallade
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 1.6
|
||||
@@ -58,6 +59,7 @@
|
||||
id: CP14ImpactEffectSpeedBallade
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/music.rsi
|
||||
@@ -70,6 +72,7 @@
|
||||
id: CP14RuneSpeedBallade
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#e8cb56"
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
id: CP14MagicAccelerationDustEffect
|
||||
parent: CP14DustEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
drawdepth: Items
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
id: CP14RuneSphereOfLight
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#efedff"
|
||||
@@ -51,6 +52,7 @@
|
||||
id: CP14ImpactEffectSphereOfLight
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
id: CP14RuneFlashLight
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#efedff"
|
||||
@@ -52,6 +53,7 @@
|
||||
id: CP14ImpactEffectFlashLight
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -62,6 +64,7 @@
|
||||
- type: entity
|
||||
id: CP14SpawnEffectFlashLight
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: /Textures/Objects/Fun/goldbikehorn.rsi
|
||||
@@ -79,6 +82,7 @@
|
||||
- type: entity
|
||||
id: CP14SpellFlashEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
enabled: true
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
id: CP14RuneSignalLightRed
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#db1616"
|
||||
@@ -87,6 +88,7 @@
|
||||
id: CP14RuneSignalLightYellow
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#ebc942"
|
||||
@@ -131,6 +133,7 @@
|
||||
id: CP14RuneSignalLightBlue
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#42aaeb"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
- type: entity
|
||||
id: CP14AreaEntityEffectMagicBallade
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 1.6
|
||||
@@ -59,6 +60,7 @@
|
||||
id: CP14ImpactEffectMagicBallade
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/music.rsi
|
||||
@@ -71,6 +73,7 @@
|
||||
id: CP14RuneMagicBallade
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5096d4"
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
id: CP14RuneManaConsume
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5096d4"
|
||||
@@ -71,6 +72,7 @@
|
||||
id: CP14ImpactEffectManaConsume
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
id: CP14RuneManaGift
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5096d4"
|
||||
@@ -74,6 +75,7 @@
|
||||
id: CP14ImpactEffectManaGift
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
id: CP14RuneMagicSplitting
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5096d4"
|
||||
@@ -62,6 +63,7 @@
|
||||
id: CP14ImpactEffectMagicSplitting
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Effects/electricity.rsi
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
id: CP14DustEffectKickSound
|
||||
parent: CP14DustEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: EmitSoundOnSpawn
|
||||
sound: !type:SoundPathSpecifier
|
||||
|
||||
@@ -46,8 +46,9 @@
|
||||
|
||||
- type: entity
|
||||
id: CP14ImpactEffectVampireBite
|
||||
parent: CP14SnowEffect
|
||||
parent: CP14SnowEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
id: CP14ImpactEffectVampireHypnosis
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Effects/electricity.rsi
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
id: CP14ImpactEffectBloodStep
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
sprite: _CP14/Actions/Spells/water.rsi
|
||||
state: beer_creation
|
||||
- type: CP14MagicEffectManaCost
|
||||
manaCost: 50
|
||||
manaCost: 20
|
||||
- type: CP14MagicEffect
|
||||
effects:
|
||||
- !type:CP14SpellSpawnEntityOnTarget
|
||||
@@ -30,7 +30,7 @@
|
||||
sprite: _CP14/Actions/Spells/water.rsi
|
||||
state: beer_creation
|
||||
event: !type:CP14DelayedInstantActionEvent
|
||||
cooldown: 60
|
||||
cooldown: 30
|
||||
castDelay: 5
|
||||
breakOnMove: true
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
id: CP14RuneBeerCreation
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5eabeb"
|
||||
@@ -68,6 +69,7 @@
|
||||
id: CP14ImpactEffectBeerCreation
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
id: CP14ImpactEffectFreeze
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -58,6 +59,7 @@
|
||||
id: CP14RunePlantFreeze
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5eabeb"
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
id: CP14RuneIceShards
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5eabeb"
|
||||
@@ -54,6 +55,7 @@
|
||||
parent: BaseBullet
|
||||
name: ice shard
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5eabeb"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
id: CP14RuneWaterCreation
|
||||
parent: CP14BaseMagicRune
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#5eabeb"
|
||||
@@ -144,6 +145,7 @@
|
||||
id: CP14ImpactEffectWaterCreation
|
||||
parent: CP14BaseMagicImpact
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
|
||||
@@ -40,6 +40,15 @@
|
||||
outerClothing:
|
||||
- state: equipped-OUTERCLOTHING
|
||||
color: "#ffaf47"
|
||||
- type: Item
|
||||
sprite: _CP14/Clothing/OuterClothing/ModularArmor/Breastplate/Chainmail/chainmail.rsi
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: inhand-left
|
||||
color: "#ffaf47"
|
||||
right:
|
||||
- state: inhand-right
|
||||
color: "#ffaf47"
|
||||
- type: Armor
|
||||
modifiers:
|
||||
coefficients:
|
||||
@@ -72,6 +81,15 @@
|
||||
outerClothing:
|
||||
- state: equipped-OUTERCLOTHING
|
||||
color: "#bd712f"
|
||||
- type: Item
|
||||
sprite: _CP14/Clothing/OuterClothing/ModularArmor/Breastplate/Chainmail/chainmail.rsi
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: inhand-left
|
||||
color: "#bd712f"
|
||||
right:
|
||||
- state: inhand-right
|
||||
color: "#bd712f"
|
||||
- type: Armor
|
||||
modifiers:
|
||||
coefficients:
|
||||
@@ -101,6 +119,15 @@
|
||||
outerClothing:
|
||||
- state: equipped-OUTERCLOTHING
|
||||
color: "#45d2a4"
|
||||
- type: Item
|
||||
sprite: _CP14/Clothing/OuterClothing/ModularArmor/Breastplate/Chainmail/chainmail.rsi
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: inhand-left
|
||||
color: "#45d2a4"
|
||||
right:
|
||||
- state: inhand-right
|
||||
color: "#45d2a4"
|
||||
- type: Armor
|
||||
modifiers:
|
||||
coefficients:
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
id: CP14Mist
|
||||
name: mist
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/mist.rsi
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
- type: entity
|
||||
id: CP14DirtEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: _CP14/Effects/material_splash.rsi
|
||||
@@ -26,6 +27,7 @@
|
||||
id: CP14SnowEffect
|
||||
parent: CP14DirtEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -40,6 +42,7 @@
|
||||
- type: entity
|
||||
id: CP14DustEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 0.4
|
||||
@@ -56,6 +59,7 @@
|
||||
- type: entity
|
||||
id: CP14MagicBeam1
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: /Textures/_CP14/Effects/Beams/magic.rsi
|
||||
@@ -75,6 +79,7 @@
|
||||
- type: entity
|
||||
id: CP14ElectrifiedEffect
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Effects/electricity.rsi
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
id: CP14WeaponArcSlash
|
||||
parent: WeaponArcStatic
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: WeaponArcVisuals
|
||||
animation: CPSlash
|
||||
@@ -10,6 +11,7 @@
|
||||
id: CP14WeaponArcThrust
|
||||
parent: WeaponArcStatic
|
||||
categories: [ HideSpawnMenu ]
|
||||
save: false
|
||||
components:
|
||||
- type: WeaponArcVisuals
|
||||
animation: CPThrust
|
||||
@@ -41,6 +41,9 @@
|
||||
- type: CP14NightVision #Night vision
|
||||
- type: FootstepModifier
|
||||
footstepSoundCollection: null # Silent footstep
|
||||
- type: CP14SkillStorage
|
||||
progress:
|
||||
Atlethic: 1
|
||||
- type: Inventory
|
||||
templateId: CP14Carcat # Cant wear shoes
|
||||
speciesId: carcat
|
||||
|
||||
@@ -25,6 +25,9 @@
|
||||
requiredLegs: 2
|
||||
- type: Bloodstream
|
||||
bloodReagent: CP14BloodElf
|
||||
- type: CP14SkillStorage
|
||||
progress:
|
||||
Metamagic: 1
|
||||
- type: CP14MagicEnergyContainer #Increased mana container
|
||||
maxEnergy: 200
|
||||
energy: 200
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
#- type: CP14MagicEnergyPhotosynthesis # Silva special feature #Disabled until sunlight fixed
|
||||
#- type: CP14MagicEnergyDraw #Enabled default mana regen until sunlight fixed
|
||||
# enable: false
|
||||
- type: CP14SkillStorage
|
||||
progress:
|
||||
Healing: 1
|
||||
- type: Body
|
||||
prototype: CP14Silva
|
||||
requiredLegs: 2
|
||||
|
||||
@@ -47,10 +47,13 @@
|
||||
globalModifier: 1.2
|
||||
modifiers:
|
||||
Fire: 0.5
|
||||
- type: CP14SkillStorage
|
||||
progress:
|
||||
Pyrokinetic: 1
|
||||
- type: CP14SpellStorage
|
||||
grantAccessToSelf: true
|
||||
spells:
|
||||
- CP14ActionSpellTieflingInnerFire
|
||||
#grantAccessToSelf: true
|
||||
#spells:
|
||||
#- CP14ActionSpellTieflingInnerFire
|
||||
- type: Inventory
|
||||
templateId: CP14Human
|
||||
femaleDisplacements:
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
size: Tiny
|
||||
- type: Appearance
|
||||
- type: PaperVisuals
|
||||
contentImageModulate: "#998665"
|
||||
- type: Flammable
|
||||
fireSpread: true
|
||||
alwaysCombustible: true
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
name: aer
|
||||
components:
|
||||
- type: Sprite
|
||||
color: "#def9ff"
|
||||
color: "#fdfe86"
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
essence:
|
||||
|
||||
@@ -183,9 +183,9 @@
|
||||
suffix: Aer
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#def9ff"
|
||||
color: "#fdfe86"
|
||||
- type: Sprite
|
||||
color: "#def9ff"
|
||||
color: "#fdfe86"
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
name: aer quartz shard
|
||||
components:
|
||||
- type: Sprite
|
||||
color: "#def9ff"
|
||||
color: "#fdfe86"
|
||||
- type: CP14MagicEssenceContainer
|
||||
essences:
|
||||
Air: 3
|
||||
|
||||
@@ -93,9 +93,9 @@
|
||||
suffix: aer
|
||||
components:
|
||||
- type: PointLight
|
||||
color: "#def9ff"
|
||||
color: "#fdfe86"
|
||||
- type: Sprite
|
||||
color: "#def9ff"
|
||||
color: "#fdfe86"
|
||||
- type: TimedSpawner
|
||||
prototypes:
|
||||
- CP14EssenceAir
|
||||
|
||||
@@ -26,14 +26,7 @@
|
||||
id: CP14SkillTreePyrokinetic
|
||||
dummyEntity: CP14SkillTreePyrokineticLoadoutDummy
|
||||
skillTree:
|
||||
Pyrokinetic: 2
|
||||
effects:
|
||||
- !type:JobRequirementLoadoutEffect
|
||||
requirement:
|
||||
!type:TraitsRequirement
|
||||
inverted: true
|
||||
traits:
|
||||
- CP14ManaWasting
|
||||
Pyrokinetic: 1
|
||||
|
||||
|
||||
|
||||
@@ -50,14 +43,7 @@
|
||||
id: CP14SkillTreeHydrosophistry
|
||||
dummyEntity: CP14SkillTreeHydrosophistryLoadoutDummy
|
||||
skillTree:
|
||||
Hydrosophistry: 2
|
||||
effects:
|
||||
- !type:JobRequirementLoadoutEffect
|
||||
requirement:
|
||||
!type:TraitsRequirement
|
||||
inverted: true
|
||||
traits:
|
||||
- CP14ManaWasting
|
||||
Hydrosophistry: 1
|
||||
|
||||
|
||||
- type: entity
|
||||
@@ -73,14 +59,7 @@
|
||||
id: CP14SkillTreeIllusion
|
||||
dummyEntity: CP14SkillTreeIllusionLoadoutDummy
|
||||
skillTree:
|
||||
Illusion: 2
|
||||
effects:
|
||||
- !type:JobRequirementLoadoutEffect
|
||||
requirement:
|
||||
!type:TraitsRequirement
|
||||
inverted: true
|
||||
traits:
|
||||
- CP14ManaWasting
|
||||
Illusion: 1
|
||||
|
||||
|
||||
- type: entity
|
||||
@@ -96,14 +75,7 @@
|
||||
id: CP14SkillTreeMetamagic
|
||||
dummyEntity: CP14SkillTreeMetamagicLoadoutDummy
|
||||
skillTree:
|
||||
Metamagic: 2
|
||||
effects:
|
||||
- !type:JobRequirementLoadoutEffect
|
||||
requirement:
|
||||
!type:TraitsRequirement
|
||||
inverted: true
|
||||
traits:
|
||||
- CP14ManaWasting
|
||||
Metamagic: 1
|
||||
|
||||
|
||||
- type: entity
|
||||
@@ -119,14 +91,7 @@
|
||||
id: CP14SkillTreeHealing
|
||||
dummyEntity: CP14SkillTreeHealingLoadoutDummy
|
||||
skillTree:
|
||||
Healing: 2
|
||||
effects:
|
||||
- !type:JobRequirementLoadoutEffect
|
||||
requirement:
|
||||
!type:TraitsRequirement
|
||||
inverted: true
|
||||
traits:
|
||||
- CP14ManaWasting
|
||||
Healing: 1
|
||||
|
||||
|
||||
- type: entity
|
||||
@@ -142,4 +107,4 @@
|
||||
id: CP14SkillTreeAtlethic
|
||||
dummyEntity: CP14SkillTreeAtlethicLoadoutDummy
|
||||
skillTree:
|
||||
Atlethic: 2
|
||||
Atlethic: 1
|
||||
@@ -51,7 +51,7 @@
|
||||
name: cp14-reagent-name-essence-air
|
||||
desc: cp14-reagent-desc-essence-air
|
||||
group: CP14MagicEssenceT0
|
||||
color: "#def9ff"
|
||||
color: "#fdfe86"
|
||||
tileReactions:
|
||||
- !type:CreateEntityTileReaction
|
||||
entity: CP14EssenceAir
|
||||
@@ -130,7 +130,7 @@
|
||||
name: cp14-reagent-name-essence-energia
|
||||
desc: cp14-reagent-desc-essence-energia
|
||||
group: CP14MagicEssenceT1
|
||||
color: "#caed72"
|
||||
color: "#c0ffff"
|
||||
tileReactions:
|
||||
- !type:CreateEntityTileReaction
|
||||
entity: CP14EssenceEnergia
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: CP14ActionSpellCureBurn
|
||||
skillUiPosition: 0, 0
|
||||
tree: Healing
|
||||
learnCost: 10 #Temp disable healing
|
||||
learnCost: 1
|
||||
icon:
|
||||
sprite: _CP14/Actions/Spells/healing.rsi
|
||||
state: cure_burn
|
||||
@@ -12,7 +12,7 @@
|
||||
- type: cp14Skill
|
||||
id: CP14ActionSpellBloodPurification
|
||||
skillUiPosition: 2, 0
|
||||
learnCost: 10 #Temp disable healing
|
||||
learnCost: 1
|
||||
tree: Healing
|
||||
icon:
|
||||
sprite: _CP14/Actions/Spells/healing.rsi
|
||||
@@ -23,7 +23,7 @@
|
||||
- type: cp14Skill
|
||||
id: CP14ActionSpellCureWounds
|
||||
skillUiPosition: 4, 0
|
||||
learnCost: 10 #Temp disable healing
|
||||
learnCost: 1
|
||||
tree: Healing
|
||||
icon:
|
||||
sprite: _CP14/Actions/Spells/healing.rsi
|
||||
@@ -44,7 +44,7 @@
|
||||
- type: cp14Skill
|
||||
id: CP14ActionSpellHealBallade
|
||||
skillUiPosition: 0, 6
|
||||
learnCost: 10 #Temp disable healing
|
||||
learnCost: 1
|
||||
tree: Healing
|
||||
icon:
|
||||
sprite: _CP14/Actions/Spells/healing.rsi
|
||||
|
||||
Reference in New Issue
Block a user