added base old magic scroll

This commit is contained in:
comasqw
2024-12-09 21:34:28 +04:00
parent cd618efc31
commit ac5579c7fd
4 changed files with 132 additions and 4 deletions

View File

@@ -19,6 +19,7 @@
startProtoPart: CP14ClothingMagicRingBase
startSlots:
- RingMagicCrystal1
- OldMagicScroll1
- type: CP14MagicManacostModify
# Blue ring

View File

@@ -0,0 +1,98 @@
# Base
- type: entity
parent: BaseItem
id: CP14BaseOldMagicScroll
categories: [ ForkFiltered ]
name: old magic scroll
abstract: true
components:
- type: Sprite
sprite: _CP14/Objects/Bureaucracy/paper.rsi
- type: Item
size: Tiny
- type: Flammable
fireSpread: true
alwaysCombustible: true
damage:
types:
Heat: 1
- type: FireVisuals
sprite: Effects/fire.rsi
normalState: fire
- type: Damageable
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 15
behaviors:
- !type:SpawnEntitiesBehavior
spawn:
Ash:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Food
solution: food
delay: 7
forceFeedDelay: 7
- type: FlavorProfile
flavors:
- paper
- CP14Magic
- type: BadFood
- type: SolutionContainerManager
solutions:
food:
maxVol: 1
reagents:
- ReagentId: Fiber
Quantity: 1
# Earth
- type: entity
id: CP14OldMagicScroll_Earth5
parent: CP14BaseOldMagicScroll
suffix: Earth, 5
components:
- type: Sprite
layers:
- state: paper_filled
color: "#000000"
- state: magic
shader: unshaded
- type: CP14ModularCraftPart
possibleParts:
- OldMagicScroll_Earth5
- type: entity
id: CP14OldMagicScroll_Earth10
parent: CP14BaseOldMagicScroll
suffix: Earth, 10
components:
- type: Sprite
layers:
- state: paper_filled
color: "#000000"
- state: magic
shader: unshaded
- type: CP14ModularCraftPart
possibleParts:
- OldMagicScroll_Earth10
- type: entity
id: CP14OldMagicScroll_Earth15
parent: CP14BaseOldMagicScroll
suffix: Earth, 15
components:
- type: Sprite
layers:
- state: paper_filled
color: "#000000"
- state: magic
shader: unshaded
- type: CP14ModularCraftPart
possibleParts:
- OldMagicScroll_Earth15

View File

@@ -55,12 +55,13 @@
breakOnMove: false
slots:
- neck
- type: CP14MagicManacostModify
globalModifier: 0.9
- type: CP14ModularCraftStartPoint
startProtoPart: CP14MagicStaff_GlowingWooden
startSlots:
- MagicCrystalHolder
- type: CP14MagicManacostModify
globalModifier: 0.9
- OldMagicScroll1
# Wooden staff
- type: entity
@@ -79,9 +80,10 @@
breakOnMove: false
slots:
- neck
- type: CP14MagicManacostModify
globalModifier: 1.1
- type: CP14ModularCraftStartPoint
startProtoPart: CP14MagicStaff_Wooden
startSlots:
- MagicCrystalHolder
- type: CP14MagicManacostModify
globalModifier: 1.1
- OldMagicScroll1

View File

@@ -0,0 +1,27 @@
# Earth
- type: modularPart
id: OldMagicScroll_Earth5
targetSlot: OldMagicScroll1
sourcePart: CP14OldMagicScroll_Earth5
modifiers:
- !type:EditManacostModify
modifiers:
Earth: 0.95
- type: modularPart
id: OldMagicScroll_Earth10
targetSlot: OldMagicScroll1
sourcePart: CP14OldMagicScroll_Earth10
modifiers:
- !type:EditManacostModify
modifiers:
Earth: 0.90
- type: modularPart
id: OldMagicScroll_Earth15
targetSlot: OldMagicScroll1
sourcePart: CP14OldMagicScroll_Earth15
modifiers:
- !type:EditManacostModify
modifiers:
Earth: 0.85