Merge pull request #7515 from nemaara/did-achievements

Add achievements to DiD
This commit is contained in:
nemaara 2023-04-16 19:38:05 -04:00 committed by GitHub
commit 5852821230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 154 additions and 8 deletions

View file

@ -1,12 +1,60 @@
#textdomain wesnoth-did
# achievements in DiD generally should be based around exploration and trying funny things in the campaign
# these achievements shouldn't be so much about battle challenges, I want to give players another incentive to explore the little details
[achievement_group]
display_name=_"Descent into Darkness"
content_for=descent_into_darkness
[achievement]
id = "did_rat_eater"
name = _"Rat Eater"
description = _"Have a Ghoul eat way too many rats during Descent into Darkness's A Haunting in Winter."
icon="data/core/images/icons/potion_red_small.png"
name = _"A Big Hunk of Flesh"
#po: the achievements are somewhat written as if from Malin's point of view which is why there's some weird and sometimes quirky flavor in them
description = _"Feed a Ghoul way too many rats."
icon="data/core/images/attacks/fangs-animal.png"
icon_completed="data/core/images/attacks/fangs-animal.png~SCALE(72,72)~BLIT("data/core/images/misc/achievement-frames/frame-8-acid.png",0,0)"
[/achievement]
[achievement]
id = "did_drogan"
#po: you can interpret this as a Harry Potter reference or you can think about it as Malin making fun of Drogan's country accent, or you can take artistic liberty with the translation
name = _"Yer a Ghoul, Drogan"
description = _"Make that arrogant jerk Drogan into just another one of your minions."
icon="data/core/images/attacks/staff-plague.png~SCALE(72,72)~BLIT("data/core/images/misc/achievement-frames/frame-8-acid.png",0,0)"
hidden = yes
[/achievement]
[achievement]
id = "did_sushi"
name = _"High Grade Sushi"
description = _"Upgrade a normal swimmer zombie into a super zombie."
icon="data/core/images/attacks/tail-merman.png"
icon_completed="data/core/images/attacks/tail-merman.png~SCALE(72,72)~BLIT("data/core/images/misc/achievement-frames/frame-8-grey.png",0,0)"
[/achievement]
[achievement]
id = "did_drunk"
name = _"Drunken Fist Style"
description = _"Make the drunken sailor zombie drink some poorly aged rum."
icon="data/core/images/attacks/fist.png"
icon_completed="data/core/images/attacks/fist.png~SCALE(72,72)~BLIT("data/core/images/misc/achievement-frames/frame-8-grey.png",0,0)"
[/achievement]
[achievement]
id = "did_monolith"
name = _"A Monolith of Stone"
description = _"Find and explore all eight unique monoliths in a single playthrough."
icon="data/core/images/attacks/curse.png"
icon_completed="data/core/images/attacks/curse.png~SCALE(72,72)~BLIT("data/core/images/misc/achievement-frames/frame-9-red.png",0,0)"
max_progress = 8
[/achievement]
[achievement]
id = "did_reflection"
name = _"Am I the Bad Guy?"
description = _"Reflect on all of your doings. Did you learn anything from them?"
icon="data/core/images/attacks/wail.png~SCALE(72,72)~BLIT("data/core/images/misc/achievement-frames/frame-7-blue.png",0,0)"
hidden = yes
[/achievement]
[achievement]
id = "did_tentacle"
name = _"Fish are Friends not Food"
description = _"Find and eat Inky in the secret underground squid village."
icon="data/core/images/attacks/tentacle.png~SCALE(72,72)~BLIT("data/core/images/misc/achievement-frames/frame-4-sky.png",0,0)"
hidden = yes
[/achievement]
[/achievement_group]

View file

@ -219,6 +219,7 @@
[/objectives]
{VARIABLE malin_used_necromancy no}
{VARIABLE monolith 0}
[/event]
[event]
@ -353,6 +354,14 @@
message= _ "A monolith of pale stone, luminous and bright, but cold and brittle to the touch."
[/message]
{VARIABLE_OP monolith add 1}
[progress_achievement]
content_for=descent_into_darkness
id="did_monolith"
amount=1
limit=$monolith
[/progress_achievement]
{GIVE_MALIN_EXPERIENCE 8}
[/event]

View file

@ -2097,10 +2097,6 @@ All sense of time and being are entombed within darkness. How long has passed si
{CLEAR_VARIABLE units}
{MODIFY_UNIT (id=Darken Volk) max_moves 6}
{MODIFY_UNIT (id=Darken Volk) moves 6}
{MODIFY_UNIT (id=Darken Volk) side 1}
[redraw]
side=1
clear_shroud=yes
@ -2157,6 +2153,11 @@ All sense of time and being are entombed within darkness. How long has passed si
object_id="potion_poison_icon"
[/remove_object]
{MODIFY_UNIT (id=Darken Volk) max_moves 6}
{MODIFY_UNIT (id=Darken Volk) moves 6}
{MODIFY_UNIT (id=Darken Volk) side 1}
{CLEAR_VARIABLE mud_puzzle,rat_puzzle}
[/event]

View file

@ -494,6 +494,14 @@
#ifdef HARD
{GIVE_MALIN_EXPERIENCE 8}
#endif
{VARIABLE_OP monolith add 1}
[progress_achievement]
content_for=descent_into_darkness
id="did_monolith"
amount=1
limit=$monolith
[/progress_achievement]
[/event]
[event]
@ -554,6 +562,11 @@
heal_full=no
[/effect]
[/object]
[set_achievement]
content_for=descent_into_darkness
id="did_sushi"
[/set_achievement]
[/event]
[event]
@ -839,6 +852,14 @@
#ifdef HARD
{GIVE_MALIN_EXPERIENCE 8}
#endif
{VARIABLE_OP monolith add 1}
[progress_achievement]
content_for=descent_into_darkness
id="did_monolith"
amount=1
limit=$monolith
[/progress_achievement]
[/event]
[event]
@ -907,6 +928,11 @@
speaker=Malin Keshar
message= _ "What you see on the outside reflects the inside. The face of truth is undoubtedly an ugly one."
[/message]
[set_achievement]
content_for=descent_into_darkness
id="did_drogan"
[/set_achievement]
[/event]
[/event]

View file

@ -542,6 +542,14 @@
#ifdef HARD
{GIVE_MALIN_EXPERIENCE 8}
#endif
{VARIABLE_OP monolith add 1}
[progress_achievement]
content_for=descent_into_darkness
id="did_monolith"
amount=1
limit=$monolith
[/progress_achievement]
[/event]
[event]
@ -594,7 +602,7 @@
[message]
speaker=Malin Keshar
message= _ "He seems to be drinking the remains of the wine in the cargo hold."
message= _ "He seems to be drinking the remains of the rum in the cargo hold."
[/message]
# now Jaime becomes a super zombie...
@ -627,6 +635,11 @@
[/set_specials]
[/effect]
[/object]
[set_achievement]
content_for=descent_into_darkness
id="did_drunk"
[/set_achievement]
[/event]
# Paladins!
@ -924,6 +937,14 @@
#ifdef HARD
{GIVE_MALIN_EXPERIENCE 8}
#endif
{VARIABLE_OP monolith add 1}
[progress_achievement]
content_for=descent_into_darkness
id="did_monolith"
amount=1
limit=$monolith
[/progress_achievement]
[/event]
[/event]

View file

@ -2002,6 +2002,14 @@
speaker=narrator
message= _ "A monolith of black stone, a fractured surface shrouded by darkened shadow."
[/message]
{VARIABLE_OP monolith add 1}
[progress_achievement]
content_for=descent_into_darkness
id="did_monolith"
amount=1
limit=$monolith
[/progress_achievement]
[/event]
# small flavor events

View file

@ -1348,8 +1348,31 @@
speaker=narrator
message= _ "A monolith of black stone, a dark surface reflecting deep shadow infinitely into the night."
[/message]
[if]
{VARIABLE_CONDITIONAL monolith equals 7}
[then]
[set_achievement]
content_for=descent_into_darkness
id="did_monolith"
[/set_achievement]
{VARIABLE_OP monolith add 1}
[/then]
[/if]
[/then]
[else]
[if]
{VARIABLE_CONDITIONAL monolith equals 6}
[then]
{VARIABLE_OP monolith add 1}
[progress_achievement]
content_for=descent_into_darkness
id="did_monolith"
amount=1
limit=$monolith
[/progress_achievement]
[/then]
[/if]
[message]
speaker=narrator
message= _ "A monolith of black stone, cold and brittle to the touch."
@ -1657,6 +1680,10 @@
message= _ "That is indeed my name."
[/message]
[set_achievement]
content_for=descent_into_darkness
id="did_reflection"
[/set_achievement]
{VARIABLE_OP reflectionPool add 1}
[/case]
[else]

View file

@ -87,6 +87,7 @@
[event]
name=prestart
{COLOR_ADJUST -15 -15 -15}
{VARIABLE squidVille 1}
{VARIABLE inkyVille 1}
[/event]
@ -713,6 +714,11 @@
message= _ "Im getting out of here!"
[/message]
[set_achievement]
content_for=descent_into_darkness
id="did_tentacle"
[/set_achievement]
{MOVE_UNIT (id=Mal Keshar) 7 1}
[endlevel]