Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wizard NPCs Rework #1522

Draft
wants to merge 30 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8cd4fb5
initial commit
ErhardSteinhauer Jun 15, 2024
3dca8ae
lic update
ErhardSteinhauer Jun 15, 2024
3d92fc5
chargeable staves and staff charging altar
ErhardSteinhauer Jun 15, 2024
6b05efe
fx
ErhardSteinhauer Jun 16, 2024
5da790a
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jun 17, 2024
09c806b
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jun 30, 2024
b34c1d5
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jul 1, 2024
7a22fda
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jul 4, 2024
35dccd2
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jul 6, 2024
c714419
cult recharger
ErhardSteinhauer Jul 6, 2024
36cc837
split hoods and robes
ErhardSteinhauer Jul 8, 2024
43345f1
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jul 8, 2024
1a237f0
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jul 10, 2024
9e732c3
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
dvir001 Jul 10, 2024
d12163e
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Jul 23, 2024
be0bc79
couple more wiz staffs, a bit of clean up
ErhardSteinhauer Jul 23, 2024
8136bdb
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
dvir001 Aug 4, 2024
6322c35
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Aug 12, 2024
5425378
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Aug 16, 2024
f121aec
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Aug 19, 2024
77b2a8f
constructible staff altars and forge
ErhardSteinhauer Aug 19, 2024
06e2aae
Merge branch 'new-frontiers-14:master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Aug 21, 2024
02bc9dd
small edits
ErhardSteinhauer Aug 21, 2024
056f94c
purple robes, new scroll sprite
ErhardSteinhauer Aug 21, 2024
8664219
fix
ErhardSteinhauer Aug 21, 2024
29f5ead
wizard belts and masks
ErhardSteinhauer Aug 21, 2024
7eab6b3
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Sep 6, 2024
59016af
Merge branch 'master' into 2024-06-Wizard-NPCs-Rework
ErhardSteinhauer Sep 8, 2024
3c2020e
toying with scrolls
ErhardSteinhauer Sep 8, 2024
ddeb77d
Merge branch '2024-06-Wizard-NPCs-Rework' of https://github.com/Erhar…
ErhardSteinhauer Sep 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Content.Shared.Weapons.Ranged.Components;

[RegisterComponent]
public sealed partial class WizardStaffRechargeableComponent : Component
{

}

[RegisterComponent]
public sealed partial class BloodCultStaffRechargeableComponent : Component
{

}
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Structures/Power/chargers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@
slots:
charger_slot:
ejectOnInteract: true
blacklist: # Frontier
components: # Frontier
- WizardStaffRechargeable # Frontier
whitelist:
components:
- HitscanBatteryAmmoProvider
Expand Down Expand Up @@ -191,6 +194,8 @@
blacklist:
tags:
- PotatoBattery
components: # Frontier
- WizardStaffRechargeable # Frontier

- type: entity
parent: BaseItemRecharger
Expand All @@ -212,6 +217,9 @@
slots:
charger_slot:
ejectOnInteract: true
blacklist: # Frontier
components: # Frontier
- WizardStaffRechargeable # Frontier
whitelist:
components:
- HitscanBatteryAmmoProvider
Expand Down
86 changes: 86 additions & 0 deletions Resources/Prototypes/_NF/Entities/Clothing/Belt/belts_wizard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
- type: entity
id: ClothingBeltWizardBlue
parent:
- ClothingBeltStorageBase
- RecyclableItemClothBasic
- ContrabandClothing
name: blue wizard sash
description: A webbing with pockets lined with waterproof (water, huh?) material.
components:
- type: Sprite
sprite: _NF/Clothing/Belt/wizard_sash.rsi
layers:
- state: icon-base-01
color: "#9595af"
- type: Item
inhandVisuals:
left:
- state: inhand-left-base-01
color: "#9595af"
right:
- state: inhand-right-base-01
color: "#9595af"
- type: Clothing
sprite: _NF/Clothing/Belt/wizard_sash.rsi
clothingVisuals:
belt:
- state: equipped-belt-base-01
color: "#9595af"

- type: entity
id: ClothingBeltWizardRed
parent:
- ClothingBeltStorageBase
- RecyclableItemClothBasic
- ContrabandClothing
name: blue wizard sash
description: A webbing with pockets lined with waterproof (water, huh?) material.
components:
- type: Sprite
sprite: _NF/Clothing/Belt/wizard_sash.rsi
layers:
- state: icon-base-01
color: "#d81919"
- type: Item
inhandVisuals:
left:
- state: inhand-left-base-01
color: "#d81919"
right:
- state: inhand-right-base-01
color: "#d81919"
- type: Clothing
sprite: _NF/Clothing/Belt/wizard_sash.rsi
clothingVisuals:
belt:
- state: equipped-belt-base-01
color: "#d81919"

- type: entity
id: ClothingBeltWizardPurple
parent:
- ClothingBeltStorageBase
- RecyclableItemClothBasic
- ContrabandClothing
name: purple wizard sash
description: A webbing with pockets lined with waterproof (water, huh?) material.
components:
- type: Sprite
sprite: _NF/Clothing/Belt/wizard_sash.rsi
layers:
- state: icon-base-01
color: "#3e2147"
- type: Item
inhandVisuals:
left:
- state: inhand-left-base-01
color: "#3e2147"
right:
- state: inhand-right-base-01
color: "#3e2147"
- type: Clothing
sprite: _NF/Clothing/Belt/wizard_sash.rsi
clothingVisuals:
belt:
- state: equipped-belt-base-01
color: "#3e2147"
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
- type: entity
id: ClothingHeadHatHoodTacticalWizardBlue
parent:
- ClothingHeadBase
- ContrabandClothing
name: blue wizard tactical hood
noSpawn: true
components:
- type: Sprite
sprite: _NF/Clothing/Head/Hoods/Coat/wizard_robe_blue.rsi
- type: Clothing
sprite: _NF/Clothing/Head/Hoods/Coat/wizard_robe_blue.rsi
- type: HideLayerClothing
slots:
- Hair
- type: Tag
tags:
- HidesHair
- WhitelistChameleon

- type: entity
id: ClothingHeadHatHoodTacticalWizardRed
parent:
- ClothingHeadBase
- ContrabandClothing
name: red wizard tactical hood
noSpawn: true
components:
- type: Sprite
sprite: _NF/Clothing/Head/Hoods/Coat/wizard_robe_red.rsi
- type: Clothing
sprite: _NF/Clothing/Head/Hoods/Coat/wizard_robe_red.rsi
- type: HideLayerClothing
slots:
- Hair
- type: Tag
tags:
- HidesHair
- WhitelistChameleon

- type: entity
id: ClothingHeadHatHoodTacticalWizardPurple
parent:
- ClothingHeadBase
- ContrabandClothing
name: purple wizard tactical hood
noSpawn: true
components:
- type: Sprite
sprite: _NF/Clothing/Head/Hoods/Coat/wizard_robe_purple.rsi
- type: Clothing
sprite: _NF/Clothing/Head/Hoods/Coat/wizard_robe_purple.rsi
- type: HideLayerClothing
slots:
- Hair
- type: Tag
tags:
- HidesHair
- WhitelistChameleon
86 changes: 86 additions & 0 deletions Resources/Prototypes/_NF/Entities/Clothing/Masks/masks_wizard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
- type: entity
id: ClothingMaskWizardBlue
parent:
- ClothingMaskGasExplorer
- RecyclableItemClothDevice
- ContrabandClothing
name: blue wizard gas mask
description: A close-fitting magical mask.
components:
- type: Sprite
sprite: _NF/Clothing/Mask/wizard.rsi
layers:
- state: icon-base-01
color: "#9595af"
- type: Item
inhandVisuals:
left:
- state: inhand-left-base-01
color: "#9595af"
right:
- state: inhand-right-base-01
color: "#9595af"
- type: Clothing
sprite: _NF/Clothing/Mask/wizard.rsi
clothingVisuals:
mask:
- state: equipped-mask-base-01
color: "#9595af"

- type: entity
id: ClothingMaskWizardRed
parent:
- ClothingMaskGasExplorer
- RecyclableItemClothDevice
- ContrabandClothing
name: red wizard gas mask
description: A close-fitting magical mask.
components:
- type: Sprite
sprite: _NF/Clothing/Mask/wizard.rsi
layers:
- state: icon-base-01
color: "#d81919"
- type: Item
inhandVisuals:
left:
- state: inhand-left-base-01
color: "#d81919"
right:
- state: inhand-right-base-01
color: "#d81919"
- type: Clothing
sprite: _NF/Clothing/Mask/wizard.rsi
clothingVisuals:
mask:
- state: equipped-mask-base-01
color: "#d81919"

- type: entity
id: ClothingMaskWizardPurple
parent:
- ClothingMaskGasExplorer
- RecyclableItemClothDevice
- ContrabandClothing
name: purple wizard gas mask
description: A close-fitting magical mask.
components:
- type: Sprite
sprite: _NF/Clothing/Mask/wizard.rsi
layers:
- state: icon-base-01
color: "#3e2147"
- type: Item
inhandVisuals:
left:
- state: inhand-left-base-01
color: "#3e2147"
right:
- state: inhand-right-base-01
color: "#3e2147"
- type: Clothing
sprite: _NF/Clothing/Mask/wizard.rsi
clothingVisuals:
mask:
- state: equipped-mask-base-01
color: "#3e2147"
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
- type: entity
id: ClothingOuterRobeTacticalWizardBlue
parent:
- ClothingOuterStorageBase
- ClothingOuterBaseToggleable
- ContrabandClothing
- RecyclableItemClothArmor
name: blue wizard tactical robes
description: The perfect synthesis of tradition with modern materials and warfare practices.
components:
- type: Sprite
sprite: _NF/Clothing/OuterClothing/Coats/wizard_robe_blue.rsi
- type: Clothing
sprite: _NF/Clothing/OuterClothing/Coats/wizard_robe_blue.rsi
- type: ToggleableClothing
clothingPrototype: ClothingHeadHatHoodTacticalWizardBlue
- type: Armor # placeholder stats, will be changed to something else
modifiers:
coefficients:
Blunt: 0.8
Slash: 0.8
Piercing: 0.4
Heat: 0.9
Cold: 0.4
- type: ExplosionResistance
damageCoefficient: 0.40

- type: entity
id: ClothingOuterRobeTacticalWizardRed
parent:
- ClothingOuterStorageBase
- ClothingOuterBaseToggleable
- ContrabandClothing
- RecyclableItemClothArmor
name: red wizard tactical robes
description: The perfect synthesis of tradition with modern materials and warfare practices.
components:
- type: Sprite
sprite: _NF/Clothing/OuterClothing/Coats/wizard_robe_red.rsi
- type: Clothing
sprite: _NF/Clothing/OuterClothing/Coats/wizard_robe_red.rsi
- type: ToggleableClothing
clothingPrototype: ClothingHeadHatHoodTacticalWizardRed
- type: Armor
modifiers:
coefficients:
Blunt: 0.8
Slash: 0.8
Piercing: 0.4
Heat: 0.4
- type: ExplosionResistance
damageCoefficient: 0.40

- type: entity
id: ClothingOuterRobeTacticalWizardPurple
parent:
- ClothingOuterStorageBase
- ClothingOuterBaseToggleable
- ContrabandClothing
- RecyclableItemClothArmor
name: purple wizard tactical robes
description: The perfect synthesis of tradition with modern materials and warfare practices.
components:
- type: Sprite
sprite: _NF/Clothing/OuterClothing/Coats/wizard_robe_purple.rsi
- type: Clothing
sprite: _NF/Clothing/OuterClothing/Coats/wizard_robe_purple.rsi
- type: ToggleableClothing
clothingPrototype: ClothingHeadHatHoodTacticalWizardPurple
- type: Armor
modifiers:
coefficients:
Blunt: 0.8
Slash: 0.8
Piercing: 0.4
Heat: 0.4
- type: ExplosionResistance
damageCoefficient: 0.40
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,28 @@
lifetime: 30
- type: Ammo
muzzleFlash: null

- type: entity
noSpawn: true
parent: WaterElementalConjured
id: WaterElementalConjuredStaff
components:
- type: NPCImprintingOnSpawnBehaviour
whitelist:
components:
- HumanoidAppearance
- type: HTN
rootTask:
task: KillerTomatoCompound
blackboard:
NavClimb: !type:Bool
false
NavInteract: !type:Bool
true
NavPry: !type:Bool
true
#- type: NpcFactionMember
#factions:
#- NanoTrasen
- type: TimedDespawn
lifetime: 180
Loading
Loading