diff --git a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl index 7c40a9644c..dbfb72da2b 100644 --- a/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl +++ b/Resources/Locale/ru-RU/_CP14/_PROTO/entities/entities.ftl @@ -1114,3 +1114,48 @@ ent-CP14CookedFoodMeat = Стейк из баранины ent-CP14CuttingBoard = Разделочная доска .desc = Поможет вам приготовить еду. + +ent-CP14ActionSpellCureWounds = Лечение ран + .desc = Вы касаетесь существа, исцеляя его тело от физических повреждений. + +ent-CP14ActionSpellEarthWall = Земляная стена + .desc = Поднимает из недр прочную стену земли. + +ent-CP14ActionSpellFireball = Огненный шар + .desc = Эффективный метод уничтожения - взрывной огненный шар. + +ent-CP14ActionSpellFlameCreation = Создание пламени + .desc = В вашей руке образуется искусственное пламя, освещающее окружающее пространство. Вы можете бросить его, чтобы использовать в качестве одноразового оружия. + +ent-CP14FlameCreationArtificialFlame = искусственное пламя + .desc = Магически созданное искусственное пламя, горящее прямо в воздухе. Неплохой источник света или оружие, если бросить его кому-нибудь в лицо. + +ent-CP14ActionSpellFlashLight = Вспышка света + .desc = Создает вспышку яркого, ослепительного света. + +ent-CP14ActionSpellIceDagger = Ледяной кинжал + .desc = Материализация временного острого ледяного метательного кинжала. + +ent-CP14DaggerIce = ледяной кинжал + .desc = Кусок острого магического льда. Через некоторое время действие заклинания ослабнет, и он исчезнет. + +ent-CP14ActionSpellIceFloor = Ледяной пол + .desc = Покрывает определенный участок земли скользким льдом. + +ent-CP14IceFloor = ледяная корка + .desc = Холодно и скользко. + +ent-CP14ActionSpellIceShards = Ледяные осколки + .desc = Быстрые ледяные иглы для быстрой стрельбы по мишеням. + +ent-CP14ActionSpellShadowGrab = Теневой захват + .desc = Вы вызываете призрачную руку, которая притягивает к вам предмет или сущность. + +ent-CP14ActionSpellShadowStep = Теневой шаг + .desc = Шаг сквозь прореху реальности, позволяющий быстро преодолеть небольшое расстояние. + +ent-CP14ActionSpellSphereOfLight = Сфера света + .desc = Материализация яркого и безопасного источника света. + +ent-CP14SphereOfLight = Сфера света + .desc = Сгусток яркого света в форме сферы. diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/flash_light.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/flash_light.yml new file mode 100644 index 0000000000..9bace3ba26 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/flash_light.yml @@ -0,0 +1,86 @@ +- type: entity + id: CP14ActionSpellFlashLight + name: Flash Light + description: Creates a flash of bright, blinding light. + components: + - type: CP14MagicEffect + manaCost: 10 + telegraphyEffects: + - !type:CP14SpellSpawnEntityOnTarget + spawns: + - CP14ImpactEffectFlashLight + effects: + - !type:CP14SpellSpawnEntityOnTarget + spawns: + - CP14SpawnEffectFlashLight + - type: CP14MagicEffectVerbalAspect + startSpeech: "Lux clara..." + endSpeech: "excaecant inimicos meos" + - type: CP14MagicEffectCastingVisual + proto: CP14RuneFlashLight + - type: WorldTargetAction + useDelay: 5 + range: 10 + itemIconStyle: BigAction + sound: !type:SoundPathSpecifier + path: /Audio/Magic/rumble.ogg + icon: + sprite: _CP14/Effects/Magic/spells_icons.rsi + state: flash_light + event: !type:CP14DelayedWorldTargetActionEvent + delay: 0.5 + +- type: entity + id: CP14RuneFlashLight + parent: CP14BaseMagicRune + categories: [ HideSpawnMenu ] + components: + - type: PointLight + color: "#efedff" + - type: Sprite + layers: + - state: sun + color: "#efedff" + shader: unshaded + +- type: entity + id: CP14ImpactEffectFlashLight + parent: CP14BaseMagicImpact + categories: [ HideSpawnMenu ] + components: + - type: Sprite + layers: + - state: particles_up + color: "#efedff" + shader: unshaded + +- type: entity + id: CP14SpawnEffectFlashLight + components: + - type: Sprite + sprite: /Textures/Objects/Fun/goldbikehorn.rsi + visible: false + state: icon + - type: TriggerOnSpawn + - type: TimedDespawn + lifetime: 5 + - type: FlashOnTrigger + range: 4 + duration: 4 + - type: SpawnOnTrigger + proto: CP14SpellFlashEffect + +- type: entity + id: CP14SpellFlashEffect + noSpawn: true + components: + - type: PointLight + enabled: true + radius: 5 + energy: 14 + netsync: false + - type: LightFade + duration: 0.5 + - type: TimedDespawn + lifetime: 0.5 + diff --git a/Resources/Prototypes/_CP14/Entities/Actions/Spells/sphere_of_light.yml b/Resources/Prototypes/_CP14/Entities/Actions/Spells/sphere_of_light.yml new file mode 100644 index 0000000000..1915ab002a --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Actions/Spells/sphere_of_light.yml @@ -0,0 +1,113 @@ +- type: entity + id: CP14ActionSpellSphereOfLight + name: Sphere of Light + description: Materialization of a bright and safe light source. + components: + - type: CP14MagicEffect + manaCost: 10 + effects: + - !type:CP14SpellSpawnEntityOnTarget + spawns: + - CP14ImpactEffectSphereOfLight + - !type:CP14SpellSpawnInHandEntity + spawns: + - CP14SphereOfLight + - type: CP14MagicEffectVerbalAspect + startSpeech: "Appare in manu tua..." + endSpeech: "sphaera lucis" + - type: CP14MagicEffectSomaticAspect + - type: CP14MagicEffectCastingVisual + proto: CP14RuneSphereOfLight + - type: InstantAction + useDelay: 15 + itemIconStyle: BigAction + sound: !type:SoundPathSpecifier + path: /Audio/Magic/rumble.ogg + icon: + sprite: _CP14/Effects/Magic/spells_icons.rsi + state: sphere_of_light + event: !type:CP14DelayedInstantActionEvent + delay: 0.5 + breakOnMove: false + +- type: entity + id: CP14RuneSphereOfLight + parent: CP14BaseMagicRune + categories: [ HideSpawnMenu ] + components: + - type: PointLight + color: "#efedff" + - type: Sprite + layers: + - state: sun + color: "#efedff" + shader: unshaded + +- type: entity + id: CP14ImpactEffectSphereOfLight + parent: CP14BaseMagicImpact + categories: [ HideSpawnMenu ] + components: + - type: Sprite + layers: + - state: particles_up + color: "#efedff" + shader: unshaded + +- type: entity + id: CP14SphereOfLight + name: Sphere of light + parent: BaseItem + description: A lump of bright light in the shape of a sphere. + components: + - type: TimedDespawn + lifetime: 300 # 5 min + - type: Sprite + sprite: _CP14/Effects/Magic/sphere_of_light.rsi + noRot: true + layers: + - state: icon + shader: unshaded + - type: Item + size: Ginormous + - type: Tag + tags: + - ForceableFollow + - type: Fixtures + fixtures: + fix1: + shape: + !type:PhysShapeAabb + bounds: "-0.2,-0.2,0.2,0.2" + density: 30 + hard: true + mask: + - ItemMask + layer: + - Opaque + - type: LandAtCursor + - type: MovementIgnoreGravity + - type: PointLight + radius: 5.0 + energy: 6 + color: "#efedff" + - type: Damageable + - type: EmitSoundOnLand + sound: + path: /Audio/Effects/drop.ogg + params: + volume: -100 #Yes, it's stupid, but it's easier + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 10 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] + - !type:PlaySoundBehavior + sound: + path: /Audio/Weapons/Guns/Hits/energy_meat1.ogg + params: + variation: 0.250 + volume: -12 diff --git a/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml b/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml index c3a88edd7f..c1263d51bd 100644 --- a/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml +++ b/Resources/Prototypes/_CP14/Entities/Clothing/Rings/ring.yml @@ -172,3 +172,40 @@ - type: CP14SpellStorage spells: - CP14ActionSpellIceFloor + +- type: entity + id: CP14ClothingRingSphereOfLight + parent: CP14ClothingRingBase + name: conductive ring + description: A standard mana-conductive ring that allows the user to create a sphere of light. + suffix: Sphere of Light + components: + - type: Sprite + layers: + - state: brass_ring + - state: citrine_stone_small + - type: CP14SpellStorageRequireAttune + - type: CP14MagicAttuningItem + - type: CP14SpellStorageAccessWearing + - type: CP14SpellStorage + spells: + - CP14ActionSpellSphereOfLight + +- type: entity + id: CP14ClothingRingFlashLight + parent: CP14ClothingRingBase + name: conductive ring + description: A standard mana-conductive ring that allows the user to create a bright flash of light that blinds enemies. + suffix: Flash Light + components: + - type: Sprite + layers: + - state: brass_ring + - state: citrine_stone_small + - type: CP14SpellStorageRequireAttune + - type: CP14MagicAttuningItem + - type: CP14SpellStorageAccessWearing + - type: CP14SpellStorage + spells: + - CP14ActionSpellFlashLight + diff --git a/Resources/Textures/_CP14/Clothing/Rings/rings.rsi/citrine_stone_small.png b/Resources/Textures/_CP14/Clothing/Rings/rings.rsi/citrine_stone_small.png new file mode 100644 index 0000000000..20ff822b6c Binary files /dev/null and b/Resources/Textures/_CP14/Clothing/Rings/rings.rsi/citrine_stone_small.png differ diff --git a/Resources/Textures/_CP14/Clothing/Rings/rings.rsi/meta.json b/Resources/Textures/_CP14/Clothing/Rings/rings.rsi/meta.json index e1ec44f32e..92cea0860e 100644 --- a/Resources/Textures/_CP14/Clothing/Rings/rings.rsi/meta.json +++ b/Resources/Textures/_CP14/Clothing/Rings/rings.rsi/meta.json @@ -24,6 +24,9 @@ }, { "name": "berill_stone_small" + }, + { + "name": "citrine_stone_small" } ] } diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/flash_light.png b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/flash_light.png new file mode 100644 index 0000000000..3a2d9a18d7 Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/flash_light.png differ diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json index 8d0879f91a..c046f6ede0 100644 --- a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json +++ b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/meta.json @@ -33,6 +33,12 @@ }, { "name": "earth_wall" + }, + { + "name": "sphere_of_light" + }, + { + "name": "flash_light" } ] } \ No newline at end of file diff --git a/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/sphere_of_light.png b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/sphere_of_light.png new file mode 100644 index 0000000000..5975057e4c Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/spells_icons.rsi/sphere_of_light.png differ diff --git a/Resources/Textures/_CP14/Effects/Magic/sphere_of_light.rsi/icon.png b/Resources/Textures/_CP14/Effects/Magic/sphere_of_light.rsi/icon.png new file mode 100644 index 0000000000..e776bf22ca Binary files /dev/null and b/Resources/Textures/_CP14/Effects/Magic/sphere_of_light.rsi/icon.png differ diff --git a/Resources/Textures/_CP14/Effects/Magic/sphere_of_light.rsi/meta.json b/Resources/Textures/_CP14/Effects/Magic/sphere_of_light.rsi/meta.json new file mode 100644 index 0000000000..f809969dbd --- /dev/null +++ b/Resources/Textures/_CP14/Effects/Magic/sphere_of_light.rsi/meta.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "All rights reserved for the CrystallPunk14 project only", + "copyright": "Created by Nimfar11 for CrystallPunk", + "states": [ + { + "name": "icon", + "delays": [ + [ + 0.2, + 0.2, + 0.2, + 0.2 + ] + ] + } + ] +}