Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ranaya on Sun 12/01/2014 09:20:07

Title: Customize "Use ITEM on ???" in Verb-Coin-Style
Post by: Ranaya on Sun 12/01/2014 09:20:07
Hi everybody,

I am using the Verb-Coin-Style for the first time.
I started with the default Verb-Coin game of AGS 3.2.1.111. But as I am designing my game in German, I would like to change the text output for the "Verbs".

That was no problem for the direct Verb-Coin-Actions (Look, Interact, Talk), as they are directly defined in the default game's global script. Probably it is simple as well, but I just cannot find where to change the default text output for items.
So instead of  "Use ITEM on ???" i just want my game to say "ITEM + ???". Where can I change that?

Thanks in advance.
Ranaya
Title: Re: Customize "Use ITEM on ???" in Verb-Coin-Style
Post by: Khris on Sun 12/01/2014 14:39:14
Line 561 of Scumm VerbCoin GUI.asc:
Code (ags) Select
standard_txt = String.Format("Use %s on %s",action_name,location_name);
Title: Re: Customize "Use ITEM on ???" in Verb-Coin-Style
Post by: Ranaya on Mon 13/01/2014 06:31:16

Thank you Khris,
it worked.

As a small addendum:
line 561 handles ITEM on "ROOM".
To customize the ITEM on ITEM text output, I had to change line 609 as well.

Thanks again and bye,
Ranaya