Blacksmith role (#534)

* disable crowbar door prying

* blacksmith role

* finish role

* map update

* more recipes to anvil

* Update arenas.yml

* glass!

* ores rebalance
This commit is contained in:
Ed
2024-11-04 16:25:19 +03:00
committed by GitHub
parent c21dd891f3
commit 54c7a40967
37 changed files with 3490 additions and 2909 deletions

View File

@@ -256,7 +256,7 @@ public sealed partial class DoorComponent : Component
#endregion
[DataField, ViewVariables(VVAccess.ReadWrite)]
public bool CanPry = true;
public bool CanPry = false; //CP14 pry disabling
[DataField]
public ProtoId<ToolQualityPrototype> PryingQuality = "Prying";

View File

@@ -25,4 +25,7 @@ cp14-job-name-alchemist = Alchemist
cp14-job-desc-alchemist = A scientist of sorts, exploring the nature of substances. Create poisons and medicines from numerous natural plants and ingredients and earn money by selling them to people in need.
cp14-job-name-innkeeper = Innkeeper
cp14-job-desc-innkeeper = Anywhere in Eberron there will be people looking to drink and relax. And you can capitalize on that desire! Find a way to provide people with good rest, food and drink.
cp14-job-desc-innkeeper = Anywhere in Eberron there will be people looking to drink and relax. And you can capitalize on that desire! Find a way to provide people with good rest, food and drink.
cp14-job-name-blacksmith = Blacksmith [Early WIP]
cp14-job-desc-blacksmith = Create and improve equipment for everyone in need! You have the power of metal and fire in your hands, and only you know how to use them carefully to create masterpieces.

View File

@@ -16,6 +16,9 @@ cp14-loadout-general-trinkets = Trinkets
cp14-loadout-alchemist-head = Alchemist's head
cp14-loadout-alchemist-cloak = Alchemist's cloak
cp14-loadout-alchemist-eyes = Alchemical goggles
# Blacksmith
cp14-loadout-blacksmith-cloak = Blacksmith's cloak
# Captain

View File

@@ -8,4 +8,6 @@ cp14-stack-copper-bars = copper bars
cp14-stack-iron-bars = iron bars
cp14-stack-gold-bars = gold bars
cp14-stack-wallpaper = rolls of wallpaper
cp14-stack-wallpaper = rolls of wallpaper
cp14-stack-glass-sheet = glass

View File

@@ -25,4 +25,7 @@ cp14-job-name-alchemist = Алхимик
cp14-job-desc-alchemist = В своем роде ученый, исследующий природу веществ. Создавайте яды и лекарства, из многочисленных природных растений и ингредиентов, и зарабатывайте деньги, продавая их нуждающимся.
cp14-job-name-innkeeper = Трактирщик
cp14-job-desc-innkeeper = В любом месте Эберрона найдутся желающие выпить и отдохнуть. И вы можете заработать на этом желании! Найдите способ обеспечить людей хорошим отдыхом, едой и выпивкой.
cp14-job-desc-innkeeper = В любом месте Эберрона найдутся желающие выпить и отдохнуть. И вы можете заработать на этом желании! Найдите способ обеспечить людей хорошим отдыхом, едой и выпивкой.
cp14-job-name-blacksmith = Кузнец [Early WIP]
cp14-job-desc-blacksmith = Создавайте и улучшайте экипировку для всех нуждающихся! В ваших руках мощь металла и огня, и только вы знаете как аккуратно использовать их, чтобы создавать шедевры.

View File

@@ -17,6 +17,10 @@ cp14-loadout-alchemist-head = Шляпа алхимика
cp14-loadout-alchemist-cloak = Накидка алхимика
cp14-loadout-alchemist-eyes = Алхимические очки
# Blacksmith
cp14-loadout-blacksmith-cloak = Накидка кузнеца
# Captain
cp14-loadout-captain-cloak = Капитанская накидка

View File

@@ -8,4 +8,6 @@ cp14-stack-copper-bars = медные слитки
cp14-stack-iron-bars = железные слитки
cp14-stack-gold-bars = золотые слитки
cp14-stack-wallpaper = рулон розоев
cp14-stack-wallpaper = рулон розоев
cp14-stack-glass-sheet = стекло

View File

@@ -185,28 +185,29 @@ entities:
rot: 3.141592653589793 rad
pos: 29.5,3.5
parent: 1
- proto: CP14LamppostBlue
- proto: CP14Lamppost
entities:
- uid: 25
- uid: 27
components:
- type: Transform
pos: 1.4934161,6.5694375
pos: 29.5,0.5
parent: 1
- uid: 72
- uid: 29
components:
- type: Transform
pos: 25.5,6.5
parent: 1
- uid: 69
components:
- type: Transform
rot: -1.5707963267948966 rad
pos: 16.482132,1.6401112
parent: 1
- uid: 91
components:
- type: Transform
pos: 29.507013,0.56821394
pos: 16.5,1.5
parent: 1
- uid: 92
components:
- type: Transform
pos: 25.435242,6.471512
rot: 3.141592653589793 rad
pos: 1.5,0.5
parent: 1
- proto: CP14SpawnerExpeditionLootCommon
entities:
@@ -287,20 +288,13 @@ entities:
- type: Transform
pos: 18.5,3.5
parent: 1
- proto: CP14WallmountLamp
- proto: CP14WallmountTorchAlwaysPowered
entities:
- uid: 27
- uid: 25
components:
- type: Transform
rot: 1.5707963267948966 rad
pos: 5.5,4.5
parent: 1
- type: Fixtures
fixtures: {}
- uid: 29
components:
- type: Transform
pos: 4.5,1.5
pos: 13.5,4.5
parent: 1
- type: Fixtures
fixtures: {}
@@ -315,7 +309,7 @@ entities:
- uid: 46
components:
- type: Transform
pos: 11.5,3.5
pos: 4.5,1.5
parent: 1
- type: Fixtures
fixtures: {}
@@ -323,7 +317,7 @@ entities:
components:
- type: Transform
rot: 1.5707963267948966 rad
pos: 13.5,3.5
pos: 5.5,4.5
parent: 1
- type: Fixtures
fixtures: {}
@@ -335,14 +329,21 @@ entities:
parent: 1
- type: Fixtures
fixtures: {}
- uid: 69
- uid: 70
components:
- type: Transform
pos: 11.5,3.5
parent: 1
- type: Fixtures
fixtures: {}
- uid: 72
components:
- type: Transform
pos: 18.5,4.5
parent: 1
- type: Fixtures
fixtures: {}
- uid: 70
- uid: 91
components:
- type: Transform
rot: 1.5707963267948966 rad

File diff suppressed because it is too large Load Diff

View File

@@ -100,6 +100,20 @@
- state: green
- state: alchemist
- type: entity
id: CP14SpawnPointBlacksmith
parent: CP14SpawnPointJobBase
name: blacksmith
categories:
- Spawner
components:
- type: SpawnPoint
job_id: CP14Blacksmith
- type: Sprite
layers:
- state: green
- state: blacksmith
- type: entity
id: CP14SpawnPointInnkeeper
parent: CP14SpawnPointJobBase

View File

@@ -23,9 +23,6 @@
- bar_2
- bar_3
- type: Material
- type: PhysicalComposition # точно ли это нужно?
materialComposition:
CP14Copper: 100
- type: entity
id: CP14CopperBar5
@@ -70,9 +67,6 @@
- bar_2
- bar_3
- type: Material
- type: PhysicalComposition # точно ли это нужно?
materialComposition:
CP14Iron: 100
- type: entity
id: CP14IronBar5
@@ -116,9 +110,6 @@
- bar_2
- bar_3
- type: Material
- type: PhysicalComposition # точно ли это нужно?
materialComposition:
CP14Gold: 100
- type: entity
id: CP14GoldBar5
@@ -133,5 +124,47 @@
parent: CP14GoldBar1
suffix: 10
components:
- type: Stack
count: 10
- type: entity
id: CP14GlassSheet1
parent: BaseItem
name: glass sheet
description: Treated quartz glass, transmits light well, and is nice to look at!
categories: [ ForkFiltered ]
components:
- type: Item
size: Normal
- type: Sprite
sprite: _CP14/Objects/Materials/glass.rsi
layers:
- state: glass
map: ["base"]
- type: Appearance
- type: Stack
stackType: CP14GlassSheet
count: 1
baseLayer: base
layerStates:
- glass
- glass_2
- glass_3
- type: Material
- type: entity
id: CP14GlassSheet5
parent: CP14GlassSheet1
suffix: 5
components:
- type: Stack
count: 5
- type: entity
id: CP14GlassSheet10
parent: CP14GlassSheet1
suffix: 10
components:
- type: Stack
count: 10

View File

@@ -43,6 +43,25 @@
# graph: CP14WoodenDoor
# node: CP14WoodenDoorMirrored
#Blacksmith
- type: entity
parent: CP14IronDoor
id: CP14IronDoorBlacksmith
suffix: Blacksmith
components:
- type: CP14Lock
autoGenerateShape: Blacksmith
- type: Lock
locked: true
- type: entity
parent:
- CP14IronDoorBlacksmith
- CP14IronDoorMirrored
id: CP14IronDoorMirroredBlacksmith
suffix: Blacksmith, Mirrored
# Bank
- type: entity

View File

@@ -63,4 +63,21 @@
- CP14IronDoorWindowedBankEntrance
- CP14IronDoorWindowedMirrored
id: CP14IronDoorWindowedMirroredBankEntrance
suffix: Bank Entrance, Mirrored
suffix: Bank Entrance, Mirrored
- type: entity
parent: CP14IronDoorWindowed
id: CP14IronDoorWindowedBlacksmith
suffix: Blacksmith
components:
- type: CP14Lock
autoGenerateShape: Blacksmith
- type: Lock
locked: true
- type: entity
parent:
- CP14IronDoorWindowedBlacksmith
- CP14IronDoorWindowedMirrored
id: CP14IronDoorWindowedMirroredBlacksmith
suffix: Blacksmith, Mirrored

View File

@@ -110,7 +110,7 @@
spawn:
CP14OreCopper:
min: 1
max: 5
max: 3
- type: entity
id: CP14WallStoneIronOre
@@ -139,7 +139,7 @@
spawn:
CP14OreIron:
min: 1
max: 5
max: 3
- type: entity
id: CP14WallStoneGoldOre
@@ -168,9 +168,6 @@
spawn:
CP14OreGold:
min: 1
max: 5
CP14StoneBlock1:
min: 2
max: 3
- type: IconSmooth
base: wall

View File

@@ -52,6 +52,15 @@
- id: CP14KeyTavernDorms4
- id: CP14KeyTavernDorms5
- type: entity
parent: CP14BaseKeyRing
id: CP14KeyRingBlacksmith
suffix: Blacksmith
components:
- type: StorageFill
contents:
- id: CP14KeyBlacksmith
- type: entity
parent: CP14BaseKeyRing
id: CP14KeyRingAlchemist

View File

@@ -117,6 +117,16 @@
- type: CP14Key
autoGenerateShape: Alchemy
- type: entity
parent: CP14BaseKey
id: CP14KeyBlacksmith
name: blacksmith key
components:
- type: Sprite
state: key8
- type: CP14Key
autoGenerateShape: Blacksmith
- type: entity
parent: CP14BaseKey
id: CP14KeyBankEntrance

View File

@@ -0,0 +1,12 @@
# Cloak
- type: loadoutGroup
id: CP14BlacksmithCloak
name: cp14-loadout-blacksmith-cloak
loadouts:
- CP14ClothingCloakBlacksmithArpon
- type: loadout
id: CP14ClothingCloakBlacksmithArpon
equipment:
cloak: CP14ClothingCloakBlacksmithArpon

View File

@@ -7,7 +7,6 @@
loadouts:
- CP14ClothingCloakSimpleWhite
- CP14ClothingCloakSimpleDarkBlue
- CP14ClothingCloakBlacksmithArpon
- CP14ClothingCloakFurcapeBlack
- CP14ClothingCloakFurcapeBlue
- CP14ClothingCloakMaidArpon
@@ -23,11 +22,6 @@
equipment:
cloak: CP14ClothingCloakSimpleDarkBlue
- type: loadout
id: CP14ClothingCloakBlacksmithArpon
equipment:
cloak: CP14ClothingCloakBlacksmithArpon
- type: loadout
id: CP14ClothingCloakFurcapeBlack
equipment:

View File

@@ -40,6 +40,20 @@
- CP14GeneralBack
- CP14GeneralTrinkets
- type: roleLoadout
id: JobCP14Blacksmith
groups:
- CP14GeneralHead
- CP14GeneralEyes
- CP14GeneralMask
- CP14BlacksmithCloak
- CP14GeneralGloves
- CP14GeneralShirt
- CP14GeneralPants
- CP14GeneralShoes
- CP14GeneralBack
- CP14GeneralTrinkets
- type: roleLoadout
id: JobCP14Captain
groups:

View File

@@ -76,8 +76,12 @@
id: TavernDorms5
complexity: 3
# Alchemy
# Mercenary
- type: CP14LockCategory
id: Alchemy
complexity: 5
- type: CP14LockCategory
id: Blacksmith
complexity: 5

View File

@@ -29,7 +29,8 @@
- type: StationJobs
availableJobs:
CP14Adventurer: [ -1, -1 ]
CP14Alchemist: [ 2, 3 ]
CP14Alchemist: [ 2, 4 ]
CP14Blacksmith: [ 1, 1 ]
CP14Innkeeper: [ 3, 4 ]
#CP14Captain: [1, 1]
CP14Commandant: [1, 1]

View File

@@ -8,10 +8,10 @@
- !type:OreDunGen
entityMask:
- CP14WallStone
entity: CP14WallStoneGoldOre
count: 10
minGroupSize: 10
maxGroupSize: 15
entity: CP14WallStoneGoldOre # Hellish gold 666
count: 6
minGroupSize: 6
maxGroupSize: 6
- type: cp14DemiplaneModifier
id: IronOre
@@ -24,10 +24,25 @@
entityMask:
- CP14WallStone
entity: CP14WallStoneIronOre
count: 10
count: 5
minGroupSize: 10
maxGroupSize: 15
- type: cp14DemiplaneModifier
id: CopperOre
unique: false
reward: 0.3
requiredTags:
- CP14DemiplaneCave
layers:
- !type:OreDunGen
entityMask:
- CP14WallStone
entity: CP14WallStoneCopperOre
count: 10
minGroupSize: 5
maxGroupSize: 7
- type: cp14DemiplaneModifier
id: QuartzCrystal
reward: 0.1
@@ -226,21 +241,6 @@
minGroupSize: 3
maxGroupSize: 5
- type: cp14DemiplaneModifier
id: CopperOre
unique: false
reward: 0.3
requiredTags:
- CP14DemiplaneCave
layers:
- !type:OreDunGen
entityMask:
- CP14WallStone
entity: CP14WallStoneCopperOre
count: 10
minGroupSize: 10
maxGroupSize: 15
- type: cp14DemiplaneModifier
id: Explosive
difficulty: 0.4

View File

@@ -153,4 +153,57 @@
craftTime: 4
stacks:
CP14IronBar: 7
result: CP14ClothingCloakCuirassLeg
result: CP14ClothingCloakCuirassLeg
- type: CP14Recipe
id: CP14Nail10
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14IronBar: 2
result: CP14Nail10
- type: CP14Recipe
id: CP14CrystalLampBlueEmpty
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14CopperBar: 2
CP14IronBar: 1
result: CP14CrystalLampBlueEmpty
- type: CP14Recipe
id: CP14CrystalLampOrangeEmpty
tag: CP14RecipeAnvil
craftTime: 4
stacks:
CP14CopperBar: 2
CP14IronBar: 1
result: CP14CrystalLampOrangeEmpty
- type: CP14Recipe
id: CP14Scissors
tag: CP14RecipeAnvil
craftTime: 2
stacks:
CP14IronBar: 1
result: CP14Scissors
- type: CP14Recipe
id: CP14ClothingCloakArmoredRed
tag: CP14RecipeAnvil
craftTime: 2
entities:
CP14DyeRed: 1
stacks:
CP14Cloth: 3
CP14IronBar: 5
result: CP14ClothingCloakArmoredRed
- type: CP14Recipe
id: CP14ClothingCloakBrassArmor
tag: CP14RecipeAnvil
craftTime: 2
stacks:
CP14CopperBar: 6
result: CP14ClothingCloakBrassArmor

View File

@@ -3,7 +3,7 @@
tag: CP14RecipeMeltingFurnace
craftTime: 4
entities:
CP14OreCopper: 2
CP14OreCopper: 4
result: CP14CopperBar1
- type: CP14Recipe
@@ -11,7 +11,7 @@
tag: CP14RecipeMeltingFurnace
craftTime: 4
entities:
CP14OreIron: 2
CP14OreIron: 4
result: CP14IronBar1
- type: CP14Recipe
@@ -19,5 +19,13 @@
tag: CP14RecipeMeltingFurnace
craftTime: 4
entities:
CP14OreGold: 2
result: CP14GoldBar1
CP14OreGold: 4
result: CP14GoldBar1
- type: CP14Recipe
id: CP14GlassSheet1
tag: CP14RecipeMeltingFurnace
craftTime: 4
entities:
CP14QuartzShard: 1
result: CP14GlassSheet1

View File

@@ -0,0 +1,18 @@
- type: job
id: CP14Blacksmith
name: cp14-job-name-blacksmith
description: cp14-job-desc-blacksmith
playTimeTracker: CP14JobBlacksmith
startingGear: CP14BlacksmithGear
icon: "CP14JobIconBlacksmith"
supervisors: cp14-job-supervisors-command
special:
- !type:CP14AddSkillSpecial
skills:
- Blacksmith
- type: startingGear
id: CP14BlacksmithGear
equipment:
belt1: CP14WalletFilledTest
keys: CP14KeyRingBlacksmith

View File

@@ -29,4 +29,5 @@
roles:
- CP14Adventurer
- CP14Alchemist
- CP14Innkeeper
- CP14Innkeeper
- CP14Blacksmith

View File

@@ -6,6 +6,9 @@
- type: playTimeTracker
id: CP14JobAlchemist
- type: playTimeTracker
id: CP14JobBlacksmith
- type: playTimeTracker
id: CP14JobInnkeeper

View File

@@ -52,4 +52,11 @@
name: cp14-stack-gold-bars
spawn: CP14GoldBar1
icon: { sprite: _CP14/Objects/Materials/gold_bar.rsi, state: bar_2 }
maxCount: 10
- type: stack
id: CP14GlassSheet
name: cp14-stack-glass-sheet
spawn: CP14GlassSheet1
icon: { sprite: _CP14/Objects/Materials/glass.rsi, state: glass_2 }
maxCount: 10

View File

@@ -60,3 +60,11 @@
sprite: /Textures/_CP14/Interface/Misc/job_icons.rsi
state: Banker
jobName: cp14-job-name-banker
- type: jobIcon
parent: CP14JobIcon
id: CP14JobIconBlacksmith
icon:
sprite: /Textures/_CP14/Interface/Misc/job_icons.rsi
state: Blacksmith
jobName: cp14-job-name-blacksmith

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

View File

@@ -14,19 +14,22 @@
"name": "Alchemist"
},
{
"name": "Innkeeper"
"name": "Banker"
},
{
"name": "Blacksmith"
},
{
"name": "Captain"
},
{
"name": "Commandant"
},
{
"name": "GuardCommander"
},
{
"name": "Banker"
},
{
"name": "Commandant"
"name": "Innkeeper"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -16,6 +16,9 @@
{
"name": "banker"
},
{
"name": "blacksmith"
},
{
"name": "commandant"
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

View File

@@ -7,6 +7,15 @@
"y": 32
},
"states": [
{
"name": "glass"
},
{
"name": "glass_2"
},
{
"name": "glass_3"
},
{
"name": "shard2"
},