[+] Added WeaponDeal System (Gangs Only) (WIP)
[+] New Timer in WeaponRack (will be removed for LSPD and FIB)
[+] New Items for WeaponDeal System
[**] Huge Improvements on Inventory System w/ bug fixes (WIP)
This commit is contained in:
1312
ReallifeGamemode.Database/Migrations/20190922163450_WeaponDealTimer.Designer.cs
generated
Normal file
1312
ReallifeGamemode.Database/Migrations/20190922163450_WeaponDealTimer.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,35 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ReallifeGamemode.Database.Migrations
|
||||
{
|
||||
public partial class WeaponDealTimer : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "WeaponDealTime",
|
||||
table: "Factions",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "PaydayTimer",
|
||||
table: "Users",
|
||||
nullable: false,
|
||||
defaultValue: 60);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "WeaponDealTime",
|
||||
table: "Factions");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "PaydayTimer",
|
||||
table: "Users",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
1339
ReallifeGamemode.Database/Migrations/20190929202101_FactionWeaponAmount.Designer.cs
generated
Normal file
1339
ReallifeGamemode.Database/Migrations/20190929202101_FactionWeaponAmount.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,23 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ReallifeGamemode.Database.Migrations
|
||||
{
|
||||
public partial class FactionWeaponAmount : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Ammount",
|
||||
table: "FactionWeapons",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Ammount",
|
||||
table: "FactionWeapons");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -356,6 +356,8 @@ namespace ReallifeGamemode.Database.Migrations
|
||||
|
||||
b.Property<bool>("StateOwned");
|
||||
|
||||
b.Property<int>("WeaponDealTime");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Factions");
|
||||
@@ -408,6 +410,8 @@ namespace ReallifeGamemode.Database.Migrations
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<int>("Ammount");
|
||||
|
||||
b.Property<int?>("FactionId");
|
||||
|
||||
b.Property<int>("Rank");
|
||||
|
||||
Reference in New Issue
Block a user