HttT: add gendered variants to item pickup prompts
Should help to address the issue with gendered verb forms or noun cases in some languages as described in #4436 . This reuses the same preexisting mechanism as in the latter part of httt_utils.cfg.
This commit is contained in:
parent
2b5d36e832
commit
536d6a226c
2 changed files with 16 additions and 8 deletions
|
@ -607,9 +607,11 @@
|
|||
[/not]
|
||||
[then]
|
||||
[message]
|
||||
speaker=narrator
|
||||
speaker=$unit.id|
|
||||
caption=""
|
||||
image="wesnoth-icon.png"
|
||||
message= _ "Should $unit.name| read the book?"
|
||||
male_message= _ "Should $unit.name| read the book?"
|
||||
female_message= _ "female^Should $unit.name| read the book?"
|
||||
[option]
|
||||
label= _ "Yes"
|
||||
[command]
|
||||
|
@ -632,9 +634,11 @@
|
|||
x,y=1,1
|
||||
[/remove_item]
|
||||
[message]
|
||||
speaker=narrator
|
||||
speaker=$unit.id|
|
||||
caption=""
|
||||
image="wesnoth-icon.png"
|
||||
message= _ "Upon finishing the book, $unit.name| has a much greater understanding of the forest, its nature and ways, and all the creatures within it. Unfortunately, as the last page was turned, the book crumbled to dust."
|
||||
male_message= _ "Upon finishing the book, $unit.name| has a much greater understanding of the forest, its nature and ways, and all the creatures within it. Unfortunately, as the last page was turned, the book crumbled to dust."
|
||||
female_message= _ "female^Upon finishing the book, $unit.name| has a much greater understanding of the forest, its nature and ways, and all the creatures within it. Unfortunately, as the last page was turned, the book crumbled to dust."
|
||||
[/message]
|
||||
[/then]
|
||||
[effect]
|
||||
|
|
|
@ -113,9 +113,11 @@
|
|||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=narrator
|
||||
speaker=$unit.id|
|
||||
caption=""
|
||||
image="wesnoth-icon.png"
|
||||
message= _ "Should $unit.name| attempt to pick up the sword?"
|
||||
male_message= _ "Should $unit.name| attempt to pick up the sword?"
|
||||
female_message= _ "female^Should $unit.name| attempt to pick up the sword?"
|
||||
[option]
|
||||
label= _ "Yes"
|
||||
[command]
|
||||
|
@ -196,9 +198,11 @@
|
|||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=narrator
|
||||
speaker=$unit.id|
|
||||
caption=""
|
||||
image="wesnoth-icon.png"
|
||||
message= _ "Should $unit.name| attempt to pick up the armor?"
|
||||
male_message= _ "Should $unit.name| attempt to pick up the armor?"
|
||||
female_message= _ "female^Should $unit.name| attempt to pick up the armor?"
|
||||
[option]
|
||||
label= _ "Yes"
|
||||
[command]
|
||||
|
|
Loading…
Add table
Reference in a new issue