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

Reme's warning not to get too attached to clansmen: get variation for the clansman being loyal to work #23

Open
cooljeanius opened this issue Oct 12, 2021 · 7 comments · May be fixed by #194
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@cooljeanius
Copy link
Collaborator

I tried doing so, but it doesn't seem to work:

[event]
name=last breath
[filter]
type=Akladian Clansman
side=1
[/filter]
{MSG_Gawen _"Poor fellow!"}
{MSG_Reme _"He dies an honorable death. You cannot let the fear of losing units paralyse you; there are many more clansmen ready to fight for you."}
# FIXME: This loyalty check doesn't seem to work, even after changing it from a "die" event to a "last breath" event, so I don't know what's wrong:
[if]
[have_unit]
id=$unit.id
[filter_wml]
upkeep="loyal"
[or]
[modifications]
[trait]
id=loyal
[/trait]
[/modifications]
[/or]
[/filter_wml]
[/have_unit]
[then]
{MSG_Gawen _"But he was loyal to our cause though!"}
{MSG_Reme _"Well, I suppose you do have a point there. Feel free to be more careful with our most loyal supporters."}
[/then]
[/if]
[/event]

@cooljeanius cooljeanius added enhancement New feature or request help wanted Extra attention is needed labels May 29, 2022
@cooljeanius cooljeanius changed the title Reme's warning not to get too attached to clansmen: add a variation if the clansman was loyal Reme's warning not to get too attached to clansmen: get variation for the clansman being loyal to work Oct 31, 2022
@cooljeanius
Copy link
Collaborator Author

(this is in S02, "Fighting for Passage", for reference)

cooljeanius added a commit to cooljeanius/A_New_Order that referenced this issue Mar 1, 2023
I finally managed to solve nemaara/A_New_Order#23 (with some help with celmin)
cooljeanius referenced this issue in cooljeanius/A_New_Order-1 Mar 1, 2023
get loyalty check to work
fixes issue #23
nemaara added a commit that referenced this issue Mar 1, 2023
Fix loyalty check in S02 for issue #23
@cooljeanius
Copy link
Collaborator Author

I think #110 closes this... @Toranks might be submitting an alternate solution, though, but I guess if that happens, we can reopen this...

@cooljeanius cooljeanius added this to the 1.6.0 milestone Jun 21, 2023
@cooljeanius
Copy link
Collaborator Author

I think we might actually need to reopen this; I've been trying running the validator lately, and it issues the following complaint about the new filter we're using:

20231231 01:39:40 error validation: Invalid key 'upkeep=' in tag [have_unit]
at ~add-ons/A_New_Order/./scenarios/02_Fighting_for_Passage.cfg:939
    included from ~add-ons/A_New_Order/_main.cfg:94

Although maybe that's an example of wesnoth/wesnoth#7817?
cc @Toranks

@cooljeanius cooljeanius reopened this Dec 31, 2023
@cooljeanius cooljeanius removed this from the 1.6.0 milestone Jan 1, 2024
@cooljeanius cooljeanius added this to the 1.7.0 milestone Jan 27, 2024
@cooljeanius
Copy link
Collaborator Author

ok yeah I think that validator message is actually correct, as I've seen that conditional fire on the death of a non-loyal Clansman...
cc @Toranks

@cooljeanius
Copy link
Collaborator Author

I think #110 closes this... @Toranks might be submitting an alternate solution, though, but I guess if that happens, we can reopen this...

OK so looking back at #110 it looks like @Toranks actually put his alternate solution in the comments there, so I might need to try using that instead...

@cooljeanius
Copy link
Collaborator Author

I think #110 closes this... @Toranks might be submitting an alternate solution, though, but I guess if that happens, we can reopen this...

OK so looking back at #110 it looks like @Toranks actually put his alternate solution in the comments there, so I might need to try using that instead...

(his and @knyghtmare's, that is)

cooljeanius added a commit to cooljeanius/A_New_Order that referenced this issue Feb 19, 2024
more messing with loyalty check; see nemaara/A_New_Order#23 and nemaara/A_New_Order#110
(I *think* I've finally got it correct?)
@cooljeanius
Copy link
Collaborator Author

ok I think the check in cooljeanius/A_New_Order@8d30be6 finally gets it right; will re-close this once a PR that contains that commit is merged...

cooljeanius referenced this issue in cooljeanius/A_New_Order-1 Apr 2, 2024
- Another attempt at fixing #23 again; cc @Toranks and @knyghtmare
- Refer to Gawen as "Haldric" in S08 for nemaara#182
- Dune is probably ok to reference explicitly by name in the translators' comments
- try Lorin stat changes suggested in nemaara#179
@cooljeanius cooljeanius self-assigned this Apr 6, 2024
@cooljeanius cooljeanius linked a pull request May 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant