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

Kirgo doesn't give a beer to the player #20

Closed
AmProsius opened this issue Jan 1, 2021 · 2 comments · Fixed by #77
Closed

Kirgo doesn't give a beer to the player #20

AmProsius opened this issue Jan 1, 2021 · 2 comments · Fixed by #77
Labels
impl: hook script func This issue requires hooking script functions. type: session fix The fix for this issues is persistent across a session.
Milestone

Comments

@AmProsius
Copy link
Owner

Kirgo doesn't give a beer if the player agrees not to challenge him to a fight in the arena.

@AmProsius AmProsius added this to To Do in v1.0.0 via automation Jan 1, 2021
@AmProsius AmProsius removed ai labels Jan 1, 2021
@catalinstoian
Copy link

catalinstoian commented Jan 16, 2021

DIA_GRD_251_Kirgo.d

func void Info_Kirgo_Charge_Beer()
{
	AI_Output (other, self,"Info_Kirgo_Charge_Beer_15_00"); //Okay, give me a beer then!
	AI_Output (self, other,"Info_Kirgo_Charge_Beer_05_01"); //Here you are!
	AI_Output (other, self,"Info_Kirgo_Charge_Beer_15_02"); //Thanks! I'm afraid I can't tell you much about the outside world - they kept me locked away in a dark hole for almost two months before throwing me in here.
	AI_Output (self, other,"Info_Kirgo_Charge_Beer_05_03"); //That's a shame... Oh well, never mind... Hey, you're still looking pretty good for someone who's been locked up for two months.
	AI_Output (other, self,"Info_Kirgo_Charge_Beer_15_04"); //I'd like it to stay that way, too.
	AI_Output (self, other,"Info_Kirgo_Charge_Beer_05_05"); //Then why do you insist on fighting one of us?
	AI_Output (other, self,"Info_Kirgo_Charge_Beer_15_06"); //I want to get acknowledged in the Camp!
	AI_Output (self, other,"Info_Kirgo_Charge_Beer_05_07"); //By Scatty, you mean? Hm, he's one of the most influential men in the Outer Ring... You might be able to impress him by defeating me...
	AI_Output (self, other,"Info_Kirgo_Charge_Beer_05_08"); //But if you really want to impress him, it's Kharim you need to beat. Only thing is, I'm afraid he might be too good for you!
	AI_Output (self, other,"Info_Kirgo_Charge_Beer_05_09"); //If you still want to fight me, let me know! But I won't enjoy knocking you out cold.
	
	CreateInvItem (self, ItFoBeer);
	B_GiveInvItems (self, other, ItFoBeer, 1);
	
	self.npctype = npctype_FRIEND;
	
	Info_ClearChoices	(Info_Kirgo_Charge );
};

@catalinstoian
Copy link

catalinstoian commented Jan 16, 2021

bonus - German ou translated to English

func VOID Info_Kirgo_InArena_Info()
{
	if (Kapitel <= 1)			//Fix für spätere Kapitel ****Björn****
	{
		AI_Output (self, other,"Info_Kirgo_InArena_05_00"); //Right, let's get to it. May the best man win!
		
		AI_StopProcessInfos	( self );
			
		Npc_ExchangeRoutine(self,"START");
		
		Npc_SetTarget(self,other);
		AI_StartState(self,ZS_ATTACK,1,"");
	}
	else
	{
		AI_Output (self, other,"SVM_5_LetsForgetOurLittleFight"); //Let's forget about that little argument, okay?		
		AI_StopProcessInfos	( self );
		Npc_ExchangeRoutine(self,"START");
	};

};

@szapp szapp added the type: session fix The fix for this issues is persistent across a session. label Jan 18, 2021
szapp added a commit that referenced this issue Jan 24, 2021
v1.0.0 automation moved this from To Do to Done Jan 24, 2021
AmProsius added a commit that referenced this issue Jan 24, 2021
#20: Correct who is giving who a beer
szapp added a commit that referenced this issue Jan 25, 2021
@AmProsius AmProsius added this to the v1.0.0 milestone Feb 9, 2021
@AmProsius AmProsius added this to Dialog: Give items in Fix templates Mar 3, 2021
@szapp szapp added the impl: hook script func This issue requires hooking script functions. label Mar 16, 2021
AmProsius added a commit that referenced this issue Apr 13, 2021
szapp added a commit that referenced this issue Apr 25, 2021
@AmProsius AmProsius moved this from Dialog: Give items to Dialog: Receive items in Fix templates Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impl: hook script func This issue requires hooking script functions. type: session fix The fix for this issues is persistent across a session.
Projects
Fix templates
Modify item transaction in dialog
v1.0.0
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants