0.3.2.12 업데이트
This commit is contained in:
parent
4b2eb0c117
commit
11c4e11a14
@ -55,7 +55,10 @@ namespace BlueWater.Npcs.Crews.Bartender
|
||||
|
||||
public void MakingCocktail()
|
||||
{
|
||||
OrderedCustomer.CurrentBill?.BartenderMakingCocktail();
|
||||
if (OrderedCustomer.CurrentBill)
|
||||
{
|
||||
OrderedCustomer.CurrentBill.BartenderMakingCocktail();
|
||||
}
|
||||
BalloonUi.OrderItem(OrderedCustomer.OrderedCocktailData.Idx, 0, 15);
|
||||
|
||||
IsMakingCocktail = true;
|
||||
@ -63,7 +66,11 @@ namespace BlueWater.Npcs.Crews.Bartender
|
||||
|
||||
public void CompletedMakingCocktail()
|
||||
{
|
||||
OrderedCustomer.CurrentBill?.BartenderCompleteMakingCocktail();
|
||||
if (OrderedCustomer.CurrentBill)
|
||||
{
|
||||
OrderedCustomer.CurrentBill.BartenderCompleteMakingCocktail();
|
||||
}
|
||||
|
||||
BalloonUi.DiscardItem();
|
||||
MyBartenderTable.CompleteMakingCocktail(OrderedCustomer.OrderedCocktailData);
|
||||
IsMakingCocktail = false;
|
||||
|
@ -132,6 +132,9 @@ namespace BlueWater.Tycoons
|
||||
{
|
||||
var waitTime = new WaitForSeconds(2f);
|
||||
var tycoonIngredientController = TycoonManager.Instance.TycoonIngredientController;
|
||||
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
|
||||
while (true)
|
||||
{
|
||||
foreach (var element in BartenderCrews)
|
||||
|
@ -178,15 +178,11 @@ namespace BlueWater
|
||||
|
||||
public void BartenderMakingCocktail()
|
||||
{
|
||||
if (!gameObject) return;
|
||||
|
||||
_makingCocktailPivotObject.gameObject.SetActive(true);
|
||||
}
|
||||
|
||||
public void BartenderCompleteMakingCocktail()
|
||||
{
|
||||
if (!gameObject) return;
|
||||
|
||||
_makingCocktailPivotObject.gameObject.SetActive(false);
|
||||
_checkImageObject.gameObject.SetActive(true);
|
||||
_animationController.SetAnimationParameter("isBartenderChecked", true);
|
||||
|
Loading…
Reference in New Issue
Block a user