diff --git a/ReallifeGamemode.Server/Managers/HanfManager.cs b/ReallifeGamemode.Server/Managers/HanfManager.cs index 3edd2d54..d2a21bc9 100644 --- a/ReallifeGamemode.Server/Managers/HanfManager.cs +++ b/ReallifeGamemode.Server/Managers/HanfManager.cs @@ -32,8 +32,8 @@ namespace ReallifeGamemode.Server.Managers /// public static int SEED_PRICE = 0; - private const int SEED_PRICE_MIN = 40; - private const int SEED_PRICE_MAX = 75; + private const int SEED_PRICE_MIN = 175; + private const int SEED_PRICE_MAX = 225; /// /// Aktueller Hanf-Verkaufspreis @@ -416,6 +416,7 @@ namespace ReallifeGamemode.Server.Managers if (user.FactionId != 3 && user.FactionId != 1) // Zivi / Gangmember erntet ab { + logger.LogInformation("Player {0} harvested the cannabis plant {1} from {2}", player.Name, plant.Id, plant.PlantedBy.Name); player.SyncAnimation("harvestPlant"); plant.Harvested = true; bool isPlantRotten = DateTime.Now - plant.PlantDate > MAX_PLANT_TIME; @@ -468,6 +469,7 @@ namespace ReallifeGamemode.Server.Managers { if (!(player.HasData("IsCarryingPlant") || player.GetData("IsCarryingPlant"))) { + logger.LogInformation("Cop {0} harvested the cannabis plant {1} from {2}", player.Name, plant.Id, plant.PlantedBy.Name); player.SetData("IsCarryingPlant", true); player.SendNotification($"Du hast eine Pflanze von ~y~{plant.PlantedBy.Name}~s~ ausgegraben"); @@ -536,6 +538,8 @@ namespace ReallifeGamemode.Server.Managers InventoryManager.RemoveUserItem(user, userCannabisItem, CANNABIS_NEEDED_FOR_JOINT); InventoryManager.AddItemToInventory(player, jointItem.Id, 1); + logger.LogInformation("Player {0} used the joint manufacturer to build {1} cannabis to 1 joint", player.Name, CANNABIS_NEEDED_FOR_JOINT); + player.SendNotification($"Du hast {CANNABIS_NEEDED_FOR_JOINT} Hanfblüten in einen Joint verarbeitet"); NAPI.ClientEvent.TriggerClientEventInRange(player.Position, 100.0f, "SERVER:Hanf_PlayManufacturerAnim", _manufacturerAnim);