Line 221: |
Line 221: |
| | | |
| The dialogue portraits are stored in <samp>Portraits/NpcName</samp>. Each frame is exactly 64x64 per portrait. The first six represent specific emotions (see [[Modding:Dialogue#Portrait commands]]), followed by any number of custom portraits. The first portrait is used when the dialogue doesn't specify one. | | The dialogue portraits are stored in <samp>Portraits/NpcName</samp>. Each frame is exactly 64x64 per portrait. The first six represent specific emotions (see [[Modding:Dialogue#Portrait commands]]), followed by any number of custom portraits. The first portrait is used when the dialogue doesn't specify one. |
− |
| |
− | Here's an [https://cdn.discordapp.com/attachments/156109690059751424/729820558966915122/unknown.png example portrait guide], courtesy of TheLimeyDragon#1993 on Discord.
| |
| | | |
| ===Schedule=== | | ===Schedule=== |
Line 240: |
Line 238: |
| ===Spouse room=== | | ===Spouse room=== |
| If your NPC will be a marriage candidate, note that you can add a spouse room for them much more easily after game version 1.5.5. See [[Modding:Migrate_to_Stardew_Valley_1.5.5#Custom_spouse_rooms]] for details. | | If your NPC will be a marriage candidate, note that you can add a spouse room for them much more easily after game version 1.5.5. See [[Modding:Migrate_to_Stardew_Valley_1.5.5#Custom_spouse_rooms]] for details. |
| + | |
| + | ===Sleep animation=== |
| + | When the NPC goes to bed, they'll play the looping sleep animation set via <samp>{{t|lowercase NPC name}}_sleep</samp> in <samp>Data/animationDescriptions</samp>, if it exists. For example, this content pack adds a sleep animation for an NPC named 'Pufferbob': |
| + | {{#tag:syntaxhighlight| |
| + | { |
| + | "Format": "{{Content Patcher version}}", |
| + | "Changes": [ |
| + | { |
| + | "Action": "EditData", |
| + | "Target": "Data/animationDescriptions", |
| + | "Entries": { |
| + | "pufferbob_sleep": "50/50/50" // note: make name lowercase |
| + | } |
| + | } |
| + | ] |
| + | } |
| + | |lang=json}} |
| + | } |
| | | |
| ==Adding your NPC== | | ==Adding your NPC== |
Line 311: |
Line 327: |
| </ol> | | </ol> |
| That's it! If you load your game, the NPC should appear. If you want to create events, don't forget to add that file too. | | That's it! If you load your game, the NPC should appear. If you want to create events, don't forget to add that file too. |
− |
| |
− | ===NPC Birthday and Festival List===
| |
− |
| |
− | While the [https://www.nexusmods.com/stardewvalley/mods/7495 Show Birthdays mod] will let the player view overlapping birthdays, but if you add a new NPC it's a good idea to not conflict with the birthdays of existing NPCs, including NPCs in popular mods, or festivals. Here's a mostly complete list of birthdays from the main game and the following mods: [https://www.nexusmods.com/stardewvalley/mods/3753 Stardew Valley Expanded (SVE)], [https://www.nexusmods.com/stardewvalley/mods/7286 Ridgeside Village (RV)], [https://www.nexusmods.com/stardewvalley/mods/5787 East Scarp (ES)], [https://www.nexusmods.com/stardewvalley/mods/9999 Always Raining in the Valley (ARV)], [https://www.nexusmods.com/stardewvalley/mods/6626 Lunna Astray in Stardew Valley (LASV)], [https://www.nexusmods.com/stardewvalley/mods/3732 Shiko NPC (Shiko)]
| |
− |
| |
− | {| class="wikitable"
| |
− | |-
| |
− | ! Date
| |
− | ! Birthday/Festival
| |
− | |-
| |
− | | Spring 1
| |
− | | Torts (RV)
| |
− | |-
| |
− | | Spring 2
| |
− | | Morris (SVE)
| |
− | |-
| |
− | | Spring 4
| |
− | | [[Kent]]
| |
− | |-
| |
− | | Spring 7
| |
− | | [[Lewis]]
| |
− | |-
| |
− | | Spring 10
| |
− | | [[Vincent]]
| |
− | |-
| |
− | | Spring 13
| |
− | | [[Egg Festival]]
| |
− | |-
| |
− | | Spring 14
| |
− | | [[Haley]]
| |
− | |-
| |
− | | Spring 15
| |
− | | Juliet (ES)
| |
− | |-
| |
− | | Spring 17
| |
− | | Beatrice (ES)
| |
− | |-
| |
− | | Spring 18
| |
− | | [[Pam]]
| |
− | |-
| |
− | | Spring 20
| |
− | | [[Shane]]
| |
− | |-
| |
− | | Spring 22
| |
− | | Eloise (ES)
| |
− | |-
| |
− | | Spring 23
| |
− | | Andy (SVE)
| |
− | |-
| |
− | | Spring 24
| |
− | | [[Flower Dance]]
| |
− | |-
| |
− | | Spring 26
| |
− | | [[Pierre]]
| |
− | |-
| |
− | | Spring 27
| |
− | | [[Emily]]
| |
− | |-
| |
− | | Summer 1
| |
− | | Jessie (ES)
| |
− | |-
| |
− | | Summer 3
| |
− | | Rodney (ES)
| |
− | |-
| |
− | | Summer 4
| |
− | | [[Jas]]
| |
− | |-
| |
− | | Summer 6
| |
− | | Martin (SVE), Oliver (ES)
| |
− | |-
| |
− | | Summer 7
| |
− | | Scarlett (SVE)
| |
− | |-
| |
− | | Summer 8
| |
− | | [[Gus]]
| |
− | |-
| |
− | | Summer 11
| |
− | | [[Luau]]
| |
− | |-
| |
− | | Summer 10
| |
− | | [[Maru]]
| |
− | |-
| |
− | | Summer 12
| |
− | | Lexi (ES)
| |
− | |-
| |
− | | Summer 13
| |
− | | [[Alex]]
| |
− | |-
| |
− | | Summer 15
| |
− | | Sterling (ES)
| |
− | |-
| |
− | | Summer 17
| |
− | | [[Sam]]
| |
− | |-
| |
− | | Summer 19
| |
− | | [[Demetrius]]
| |
− | |-
| |
− | | Summer 20
| |
− | | Tristan (ES), Mr. Ginger (ES)
| |
− | |-
| |
− | | Summer 21
| |
− | | Aideen (ES)
| |
− | |-
| |
− | | Summer 22
| |
− | | [[Dwarf]]
| |
− | |-
| |
− | | Summer 24
| |
− | | [[Willy]]
| |
− | |-
| |
− | | Summer 26
| |
− | | [[Leo]]
| |
− | |-
| |
− | | Summer 27
| |
− | | Jacob (ES)
| |
− | |-
| |
− | | Summer 28
| |
− | | [[Dance of the Moonlight Jellies]], Lavril (ES)
| |
− | |-
| |
− | | Fall 2
| |
− | | [[Penny]]
| |
− | |-
| |
− | | Fall 5
| |
− | | [[Elliot]]
| |
− | |-
| |
− | | Fall 6
| |
− | | Fievel (ES)
| |
− | |-
| |
− | | Fall 7
| |
− | | Morgan (SVE)
| |
− | |-
| |
− | | Fall 11
| |
− | | [[Jodi]]
| |
− | |-
| |
− | | Fall 12
| |
− | | June (RV)
| |
− | |-
| |
− | | Fall 13
| |
− | | [[Abigail]]
| |
− | |-
| |
− | | Fall 15
| |
− | | [[Sandy]]
| |
− | |-
| |
− | | Fall 16
| |
− | | [[Stardew Valley Fair]]
| |
− | |-
| |
− | | Fall 18
| |
− | | [[Marnie]]
| |
− | |-
| |
− | | Fall 20
| |
− | | Ridgeside Gathering Festival (RSV)
| |
− | |-
| |
− | | Fall 21
| |
− | | [[Robin]]
| |
− | |-
| |
− | | Fall 22
| |
− | | Jasper (ES)
| |
− | |-
| |
− | | Fall 24
| |
− | | [[George]]
| |
− | |-
| |
− | | Fall 25
| |
− | | Mateo (ES)
| |
− | |-
| |
− | | Fall 27
| |
− | | [[Spirit's Eve]]
| |
− | |-
| |
− | | Fall 28
| |
− | | Susan (SVE)
| |
− | |-
| |
− | | Winter 1
| |
− | | [[Krobus]]
| |
− | |-
| |
− | | Winter 3
| |
− | | [[Linus]]
| |
− | |-
| |
− | | Winter 6
| |
− | | Shiko (Shiko)
| |
− | |-
| |
− | | Winter 7
| |
− | | [[Caroline]]
| |
− | |-
| |
− | | Winter 8
| |
− | | [[Festival of Ice]]
| |
− | |-
| |
− | | Winter 10
| |
− | | [[Sebastian]]
| |
− | |-
| |
− | | Winter 12
| |
− | | Gunther (SVE)
| |
− | |-
| |
− | | Winter 14
| |
− | | [[Harvey]]
| |
− | |-
| |
− | | Winter 16
| |
− | | Barron (ES)
| |
− | |-
| |
− | | Winter 17
| |
− | | [[Wizard]]
| |
− | |-
| |
− | | Winter 19
| |
− | | Marlon (SVE)
| |
− | |-
| |
− | | Winter 20
| |
− | | [[Evelyn]]
| |
− | |-
| |
− | | Winter 23
| |
− | | [[Leah]]
| |
− | |-
| |
− | | Winter 25
| |
− | | [[Feast of the Winter Star]]
| |
− | |-
| |
− | | Winter 26
| |
− | | [[Clint]]
| |
− | |-
| |
− | | Winter 28
| |
− | | Ember of Resolutions Festival (RSV)
| |
− | |}
| |
− |
| |
| ==Guidance on pixel art== | | ==Guidance on pixel art== |
| If you'd like additional guidance on pixel art, See [[Modding:Index#See_also]] for some recommended guides. | | If you'd like additional guidance on pixel art, See [[Modding:Index#See_also]] for some recommended guides. |