コード例 #1
0
 protected override IEnumerable <WeightedStat> GetWeightedStats()
 {
     return(new List <WeightedStat>()
     {
         PlaystyleHelper.ItemStat <StoreItem, CraftAction>(PlayerActions.Craft, 10, "store"),
         PlaystyleHelper.Stat(PlayerActions.Sell, 1, "sold", "item"),
     });
 }
コード例 #2
0
 protected override IEnumerable <WeightedStat> GetWeightedStats()
 {
     return(new List <WeightedStat>()
     {
         PlaystyleHelper.GainSkillStat <SurvivalistSkill>(10),
         PlaystyleHelper.ItemStat <BlockItem, SellAction>(PlayerActions.Sell, 1, "block"),
     });
 }
コード例 #3
0
 protected override IEnumerable <WeightedStat> GetWeightedStats()
 {
     return(new List <WeightedStat>()
     {
         PlaystyleHelper.ItemStat <SkillBook, CraftAction>(PlayerActions.Craft, 4, "skill book"),
         PlaystyleHelper.ItemStat <SkillScroll, SellAction>(PlayerActions.Sell, 1, "skill scroll"),
     });
 }
コード例 #4
0
 protected override IEnumerable <WeightedStat> GetWeightedStats()
 {
     return(new List <WeightedStat>()
     {
         PlaystyleHelper.Stat(PlayerActions.Message, 0.1f, "sent", "message"),
         PlaystyleHelper.Stat(PlayerActions.Vote, 1, "voted", "time"),
         PlaystyleHelper.Stat(PlayerActions.ProposeVote, 5, "proposed", "vote"),
         PlaystyleHelper.Stat(PlayerActions.GetElected, 10, "got elected", "time"),
     });
 }
コード例 #5
0
 protected override IEnumerable <WeightedStat> GetWeightedStats()
 {
     return(new List <WeightedStat>()
     {
         PlaystyleHelper.Stat(PlayerActions.Craft, 1, "crafted", "item"),
         PlaystyleHelper.Stat(PlayerActions.Sell, 1, "sold", "item"),
         PlaystyleHelper.GainSkillStat <EngineerSkill>(4),
         PlaystyleHelper.GainSkillStat <SmithSkill>(4),
     });
 }
コード例 #6
0
 protected override IEnumerable <WeightedStat> GetWeightedStats()
 {
     return(new List <WeightedStat>()
     {
         PlaystyleHelper.Stat(PlayerActions.Harvest, 1, "harvested", "organism"),
         PlaystyleHelper.ItemStat <FoodItem, CraftAction>(PlayerActions.Craft, 2, "food item"),
         PlaystyleHelper.GainSkillStat <CookingSkill>(10),
         PlaystyleHelper.GainSkillStat <FarmerSkill>(10),
     });
 }
コード例 #7
0
 protected override IEnumerable <WeightedStat> GetWeightedStats()
 {
     return(new List <WeightedStat>()
     {
         PlaystyleHelper.Stat(PlayerActions.Place, 1, "placed", "block"),
         PlaystyleHelper.ItemStat <BlockItem, CraftAction>(PlayerActions.Craft, 1, "block"),
         PlaystyleHelper.GainSkillStat <CarpenterSkill>(10),
         PlaystyleHelper.GainSkillStat <MasonSkill>(10),
     });
 }