Degulleo3D/Assets/LIN/HousingConstants.cs

44 lines
1.6 KiB
C#

//퇴근 후 발생할 수 있는 돌발 이벤트
using System.Collections.Generic;
public enum AfterWorkEvent
{
None,
TeamGathering,
OvertimeWork
}
public static class HousingConstants
{
//돌발 이벤트 확률 계산
public static int AFTER_WORK_DENOMINATOR = 4;
#region
public static readonly Dictionary<ActionType, InteractionTexts> interactions =
new Dictionary<ActionType, InteractionTexts>
{
{ ActionType.Sleep, new InteractionTexts("침대에서 잘까?","숙면으로 시간 당 체력 1을 회복한다.", ".")},
{ ActionType.Housework, new InteractionTexts("밀린 집안일을 처리할까?","체력 1을 사용하고 좋은일이 일어날지도 모른다","힘들어서 못해..")},
{ ActionType.Dungeon, new InteractionTexts("던전에 입장할까?","체력 3을 사용하고 3시간이 흐른다.","던전에 갈 체력이 되지 않아..")},
{ ActionType.Work, new InteractionTexts("출근한다.","체력 3을 사용하고 저녁 6시에나 돌아오겠지..", "도저히 출근할 체력이 안되는걸..?")}
};
#endregion
public struct InteractionTexts
{
public string ActionText { get; private set; }
public string DescriptionText { get; private set; }
public string LackOfHealth { get; private set; }
public InteractionTexts(string actionText, string descriptionText, string lackOfHealth)
{
ActionText = actionText;
DescriptionText = descriptionText;
LackOfHealth = lackOfHealth;
}
}
}