Skip to content

Commit

Permalink
god fucking damn it, untyped content ruined the alignment system
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Aug 13, 2024
1 parent fdf844b commit a358e1b
Show file tree
Hide file tree
Showing 45 changed files with 1,164 additions and 1,262 deletions.
9 changes: 4 additions & 5 deletions npcScripts/alignment/Ralteun.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

tag: Ralteun
name: Ralteun
affiliation: Bastion of Neutrality
Expand Down Expand Up @@ -27,7 +26,7 @@ dialog:
actions:
- type: checkAlignment
alignment: neutral

checkPassActions:
- type: chat
maxDistance: 0
Expand All @@ -47,7 +46,7 @@ dialog:
options:
- text: Yep, neutralize me
action: neutral

- text: I'm fine where I am
action: noop

Expand All @@ -61,6 +60,6 @@ dialog:
message: >
You are now a follower of Neutrality.
options:
options:
- text: Thanks
action: noop
action: noop
4 changes: 2 additions & 2 deletions npcsStats/Miscellaneous.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- npcId: Training Dummy
name: training dummy
sprite: 280
alignment: Neutral
alignment: neutral
stats: 1
level: 1
monsterGroup: NeverAttack
Expand Down Expand Up @@ -39,7 +39,7 @@
- Clover

allegiance: None
alignment: Neutral
alignment: neutral
monsterClass: Beast
stats: 15
skillLevels: 5
Expand Down
47 changes: 22 additions & 25 deletions npcsStats/Rare.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@


- npcId: Aynamai
affiliation: Avatar of Tai
name: Aynamai
sprite: 470
hostility: OnHit
monsterClass: Beast
monsterGroup: WildlandBear
alignment: Evil
alignment: evil
stats: 15
skillLevels: 5
level: 10
Expand All @@ -21,7 +19,7 @@
equipment:
armor: Aynamai Cloak
hands: Werebear Claws

cr: -5

hpMult: 10
Expand All @@ -41,13 +39,13 @@
- name: Attribute
extra:
potency: 0.25
damageType: 'magical'
damageType: "magical"

- name: Attribute
extra:
potency: 0.25
damageType: 'physical'
damageType: "physical"

- name: Mood
extra:
enrageTimer: 300000
Expand All @@ -61,20 +59,20 @@
maxChance: 25

copyDrops:
- result: 'equipment.armor'
- result: "equipment.armor"
chance: -1

triggers:
leash:
messages:
- "a strange chirping roar"
sfx:
sfx:
name: "monster-bear"
maxChance: 1
spawn:
messages:
- "a strange chirping roar"
sfx:
sfx:
name: "monster-bear"
maxChance: 1

Expand All @@ -93,7 +91,7 @@
level: 15

skillOnKill: 350

cr: -5

hpMult: 5
Expand All @@ -115,15 +113,15 @@
- Boost

copyDrops:
- result: 'equipment.armor'
- result: "equipment.armor"
chance: -1

- npcId: Kroin
name: Kroin
affiliation: Manifestation of Maer
hostility: OnHit
sprite: 320
alignment: Evil
alignment: evil
stats: 14
skillLevels: 5
level: 15
Expand All @@ -143,7 +141,7 @@
otherStats:
con: 25
perception: 8

cr: -3

hpMult: 10
Expand Down Expand Up @@ -205,7 +203,7 @@
con: 30
perception: 30
mpregen: 30

cr: -6

hpMult: 10
Expand Down Expand Up @@ -262,13 +260,13 @@
HealingFocus: 5

copyDrops:
- result: 'equipment.robe2'
- result: "equipment.robe2"
chance: -1
- result: 'equipment.head'
- result: "equipment.head"
chance: -1
- result: 'equipment.rightHand'
- result: "equipment.rightHand"
chance: -1
- result: 'equipment.leftHand'
- result: "equipment.leftHand"
chance: -1

- npcId: Glebog
Expand All @@ -288,7 +286,6 @@

items:
equipment:

rightHand: Glebog Sabre

leftHand: Frostlands Shield
Expand All @@ -300,11 +297,11 @@
hands: Frostlands Frostgolem Gloves

copyDrops:
- result: 'equipment.robe2'
- result: "equipment.robe2"
chance: -1
- result: 'equipment.rightHand'
- result: "equipment.rightHand"
chance: -1
- result: 'equipment.leftHand'
- result: "equipment.leftHand"
chance: -1

traitLevels:
Expand All @@ -321,7 +318,7 @@
- Blindstrike
- Boost
- Shield

cr: -3

hpMult: 10
Expand All @@ -336,4 +333,4 @@

gold:
min: 0
max: 0
max: 0
27 changes: 13 additions & 14 deletions npcsStats/Tutorial.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@

- npcId: Tutorial Townee
name: townee
allegiance: 'None'
allegiance: "None"
stats: 10
level: 1

skillOnKill: 1

sprite: [580, 595, 610, 615]

cr: -10

hpMult: 20
Expand Down Expand Up @@ -39,42 +38,42 @@
- Antanian Cloak

copyDrops:
- result: 'equipment.leftHand'
- result: "equipment.leftHand"
chance: -1
- result: 'equipment.rightHand'
- result: "equipment.rightHand"
chance: -1
- result: 'equipment.armor'
- result: "equipment.armor"
chance: -1
- result: 'equipment.robe1'
- result: "equipment.robe1"
chance: -1

- npcId: Tutorial Deer
name: deer
allegiance: Wilderness
sprite: 205
alignment: Good
alignment: good
stats: 1
level: 1

items:
equipment:
armor: Tutorial Fur
hands: Basic Claws

cr: -10

- npcId: Tutorial Wolf
name: wolf
hostility: Always
monsterGroup: Wolf
sprite: 215
alignment: Evil
alignment: evil
stats: 2
level: 1

otherStats:
accuracy: -10

cr: -10

items:
Expand All @@ -86,7 +85,7 @@
spawn:
messages:
- "the howling of a wolf"
sfx:
sfx:
radius: 4
name: "monster-wolf"
maxChance: 20
Expand All @@ -103,7 +102,7 @@
accuracy: -10

skillOnKill: 30

cr: -10

hpMult: 2
Expand All @@ -114,7 +113,7 @@
head: Tutorial Yeti Skull

copyDrops:
- result: 'equipment.rightHand'
- result: "equipment.rightHand"
chance: -1

drops:
Expand Down
Loading

0 comments on commit a358e1b

Please sign in to comment.