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()
|
public void MakingCocktail()
|
||||||
{
|
{
|
||||||
OrderedCustomer.CurrentBill?.BartenderMakingCocktail();
|
if (OrderedCustomer.CurrentBill)
|
||||||
|
{
|
||||||
|
OrderedCustomer.CurrentBill.BartenderMakingCocktail();
|
||||||
|
}
|
||||||
BalloonUi.OrderItem(OrderedCustomer.OrderedCocktailData.Idx, 0, 15);
|
BalloonUi.OrderItem(OrderedCustomer.OrderedCocktailData.Idx, 0, 15);
|
||||||
|
|
||||||
IsMakingCocktail = true;
|
IsMakingCocktail = true;
|
||||||
@ -63,7 +66,11 @@ namespace BlueWater.Npcs.Crews.Bartender
|
|||||||
|
|
||||||
public void CompletedMakingCocktail()
|
public void CompletedMakingCocktail()
|
||||||
{
|
{
|
||||||
OrderedCustomer.CurrentBill?.BartenderCompleteMakingCocktail();
|
if (OrderedCustomer.CurrentBill)
|
||||||
|
{
|
||||||
|
OrderedCustomer.CurrentBill.BartenderCompleteMakingCocktail();
|
||||||
|
}
|
||||||
|
|
||||||
BalloonUi.DiscardItem();
|
BalloonUi.DiscardItem();
|
||||||
MyBartenderTable.CompleteMakingCocktail(OrderedCustomer.OrderedCocktailData);
|
MyBartenderTable.CompleteMakingCocktail(OrderedCustomer.OrderedCocktailData);
|
||||||
IsMakingCocktail = false;
|
IsMakingCocktail = false;
|
||||||
|
@ -132,6 +132,9 @@ namespace BlueWater.Tycoons
|
|||||||
{
|
{
|
||||||
var waitTime = new WaitForSeconds(2f);
|
var waitTime = new WaitForSeconds(2f);
|
||||||
var tycoonIngredientController = TycoonManager.Instance.TycoonIngredientController;
|
var tycoonIngredientController = TycoonManager.Instance.TycoonIngredientController;
|
||||||
|
|
||||||
|
yield return new WaitForSeconds(0.5f);
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
foreach (var element in BartenderCrews)
|
foreach (var element in BartenderCrews)
|
||||||
|
@ -178,15 +178,11 @@ namespace BlueWater
|
|||||||
|
|
||||||
public void BartenderMakingCocktail()
|
public void BartenderMakingCocktail()
|
||||||
{
|
{
|
||||||
if (!gameObject) return;
|
|
||||||
|
|
||||||
_makingCocktailPivotObject.gameObject.SetActive(true);
|
_makingCocktailPivotObject.gameObject.SetActive(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void BartenderCompleteMakingCocktail()
|
public void BartenderCompleteMakingCocktail()
|
||||||
{
|
{
|
||||||
if (!gameObject) return;
|
|
||||||
|
|
||||||
_makingCocktailPivotObject.gameObject.SetActive(false);
|
_makingCocktailPivotObject.gameObject.SetActive(false);
|
||||||
_checkImageObject.gameObject.SetActive(true);
|
_checkImageObject.gameObject.SetActive(true);
|
||||||
_animationController.SetAnimationParameter("isBartenderChecked", true);
|
_animationController.SetAnimationParameter("isBartenderChecked", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user