コード例 #1
0
ファイル: Player.cs プロジェクト: Barklc/Ulfric.ColonyAddOns
 public static void AfterWorldLoad()
 {
     //Give players water to start off to support Hydration if enabled
     if (Configuration.AllowDehydration)
     {
         Logger.Log("Add 10 Water buckets to initial stockpile");
         Stockpile.AddToInitialPile(new InventoryItem(Blocks.MOD_NAMESPACE + ".WaterBucket", 10));
     }
 }