Skip to content

Commit

Permalink
Updated to add mood modifiers and moved to appropriate files
Browse files Browse the repository at this point in the history
  • Loading branch information
neuPanda committed Sep 14, 2024
1 parent 6bbdf76 commit 0358154
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Resources/Locale/en-US/Floof/mood/mood.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mood-effect-BeingKissed = That kiss was delightful.
mood-effect-BeingLicked = I've been Licked!
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,30 @@
id: Kiss
parent: [BaseGlobal, BaseHands]
priority: 0
delay: 0.7
delay: 0.4
range: {max: 1}
hideByRequirement: true
requirement:
!type:MobStateRequirement
inverted: true
action:
# TODO: this should pull the target closer or sumth, but I need to code that action first
!type:NoOpAction
!type:MoodAction
effect: BeingHugged

- type: Interaction
id: Lick
parent: [BaseGlobal, BaseHands]
priority: 1
priority: 0
#icon: /Textures/Interface/Actions/hug.png
delay: 0.4
delay: 0.7
range: {max: 1}
hideByRequirement: true
requirement:
!type:MobStateRequirement
inverted: true
action:
!type:NoOpAction
# TODO: this should pull the target closer or sumth, but I need to code that action first
!type:MoodAction
effect: BeingHugged

12 changes: 12 additions & 0 deletions Resources/Prototypes/Floof/Mood/genericPositiveEffects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- type: moodEffect
id: BeingKissed
moodChange: 4
timeout: 120
category: PositiveInteraction

- type: moodEffect
id: BeingLicked
moodChange: 4
timeout: 120
category: PositiveInteraction

0 comments on commit 0358154

Please sign in to comment.