From 25c4e6efd98e4459fd97e555758313b51993916e Mon Sep 17 00:00:00 2001 From: hydrant Date: Tue, 1 Jun 2021 22:47:22 +0200 Subject: [PATCH] =?UTF-8?q?konfiszierungsgeld=20erh=C3=B6ht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReallifeGamemode.Server/Inventory/Items/Cannabis.cs | 2 +- ReallifeGamemode.Server/Inventory/Items/CannabisSeeds.cs | 2 +- ReallifeGamemode.Server/Inventory/Items/Joint.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ReallifeGamemode.Server/Inventory/Items/Cannabis.cs b/ReallifeGamemode.Server/Inventory/Items/Cannabis.cs index 11f2c7bf..e8656793 100644 --- a/ReallifeGamemode.Server/Inventory/Items/Cannabis.cs +++ b/ReallifeGamemode.Server/Inventory/Items/Cannabis.cs @@ -27,6 +27,6 @@ namespace ReallifeGamemode.Server.Inventory.Items public override bool Legal => false; - public int PriceForConfiscation { get; } = 5; + public int PriceForConfiscation { get; } = 15; } } diff --git a/ReallifeGamemode.Server/Inventory/Items/CannabisSeeds.cs b/ReallifeGamemode.Server/Inventory/Items/CannabisSeeds.cs index 7d3d098a..61a0a033 100644 --- a/ReallifeGamemode.Server/Inventory/Items/CannabisSeeds.cs +++ b/ReallifeGamemode.Server/Inventory/Items/CannabisSeeds.cs @@ -22,7 +22,7 @@ namespace ReallifeGamemode.Server.Inventory.Items public override uint Object { get; } public override bool RemoveWhenUsed { get; } = false; - public int PriceForConfiscation { get; } = 10; + public int PriceForConfiscation { get; } = 105; public override bool Use(Player player, User user, DatabaseContext databaseContext) { diff --git a/ReallifeGamemode.Server/Inventory/Items/Joint.cs b/ReallifeGamemode.Server/Inventory/Items/Joint.cs index 21ed6a6f..8b7c2730 100644 --- a/ReallifeGamemode.Server/Inventory/Items/Joint.cs +++ b/ReallifeGamemode.Server/Inventory/Items/Joint.cs @@ -25,7 +25,7 @@ namespace ReallifeGamemode.Server.Inventory.Items public override bool Legal => false; public override bool RemoveWhenUsed => true; - public int PriceForConfiscation { get; } = 25; + public int PriceForConfiscation { get; } = 150; public override bool Use(Player player, User user, DatabaseContext databaseContext) { @@ -46,7 +46,7 @@ namespace ReallifeGamemode.Server.Inventory.Items private bool CanUserUseJoint(User user) { - if(!lastJointUse.ContainsKey(user.Id)) + if (!lastJointUse.ContainsKey(user.Id)) { return true; }