motivation!

This commit is contained in:
Oscar 2024-10-29 19:54:53 +03:00
parent eecefb3f6c
commit 47793719cb
24 changed files with 90 additions and 7 deletions

View File

@ -0,0 +1,10 @@
{
"Portraits": [
"motivations/photo_2024-03-13_03-12-24.jpg"
],
"Messages": [
"\u0417\u0430 \u0440\u0430\u0431\u043E\u0442\u0443!"
],
"__references": [],
"__version": 0
}

View File

@ -0,0 +1,10 @@
{
"Portraits": [
"motivations/photo_2024-05-17_21-21-49.jpg"
],
"Messages": [
"\u0415\u0449\u0435 \u043D\u0435\u043C\u043D\u043E\u0433\u043E!"
],
"__references": [],
"__version": 0
}

View File

@ -0,0 +1,12 @@
{
"Portraits": [
"motivations/photo_2024-07-04_14-27-10.jpg"
],
"Messages": [
"\u041A\u043E\u0433\u0434\u0430 \u043D\u0438\u0431\u0443\u0434\u044C",
"\u0438 \u0443 \u0442\u0435\u0431\u044F",
"\u0431\u0443\u0434\u0443\u0442 \u0442\u0430\u043A\u0438\u0435!"
],
"__references": [],
"__version": 0
}

View File

@ -0,0 +1,10 @@
{
"Portraits": [
"motivations/photo_2024-07-08_01-51-47.jpg"
],
"Messages": [
"\u041D\u0435 \u0441\u043E\u0441\u0430\u0442\u044C!"
],
"__references": [],
"__version": 0
}

View File

@ -0,0 +1,10 @@
{
"Portraits": [
"motivations/photo_2024-07-16_21-25-41.jpg"
],
"Messages": [
"\u041F\u043E\u0447\u0442\u0438 \u0433\u043E\u0442\u043E\u0432\u041E\u041E\u041E\u041E\u041E\u041E"
],
"__references": [],
"__version": 0
}

View File

@ -0,0 +1,11 @@
{
"Portraits": [
"motivations/photo_2024-08-30_19-41-21.jpg"
],
"Messages": [
"\u0411\u0443\u0434\u0435\u0448\u044C \u043A\u0430\u043A \u043E\u043D,",
"\u043A\u043E\u0433\u0434\u0430 \u0434\u043E\u0434\u0435\u043B\u0430\u0435\u0448\u044C?"
],
"__references": [],
"__version": 0
}

View File

@ -0,0 +1,10 @@
{
"Portraits": [
"motivations/photo_2024-10-16_19-52-21.jpg"
],
"Messages": [
"\u041D\u0430\u0447\u0430\u0442\u044C \u0438 \u043A\u043E\u043D\u0447\u0438\u0442\u044C!"
],
"__references": [],
"__version": 0
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -1,4 +1,5 @@
using Sandbox.Citizen;
using Sandbox.Network;
using ShrimpleCharacterController;
public sealed class Kal : Component
@ -70,6 +71,8 @@ public sealed class Kal : Component
{
Controller.Punch(Vector3.Up * JumpStrength);
AnimationHelper?.TriggerJump();
getLobbies();
}
if (!AnimationHelper.IsValid()) return;
@ -80,13 +83,19 @@ public sealed class Kal : Component
AnimationHelper.IsGrounded = Controller.IsOnGround;
}
async void getLobbies()
{
List<LobbyInformation> lobbies;
lobbies = await Networking.QueryLobbies("koptilnya.kakozuzo_2");
Log.Info(lobbies.Count);
}
protected override void OnUpdate()
{
base.OnUpdate();
if ( !Network.IsOwner ) return;
Log.Info(Controller.WishVelocity);
EyeAngles += Input.AnalogLook;
EyeAngles = EyeAngles.WithPitch(MathX.Clamp(EyeAngles.pitch, -10f, 40f));

View File

@ -21,10 +21,10 @@ public static class MotivationManager
}
var notice = new MotivationNotice();
NoticeManager.Remove( notice, 30 );
NoticeManager.Remove( notice, 6 );
const int MIN_MINUTES = 15;
const int MAX_MINUTES = 30;
const int MIN_MINUTES = 2;
const int MAX_MINUTES = 5;
Cooldown = 60 * Game.Random.Next( MIN_MINUTES, MAX_MINUTES );
}

View File

@ -4,7 +4,7 @@
"Org": "koptilnya",
"Ident": "kakozuzo_2",
"Schema": 1,
"IncludeSourceFiles": false,
"IncludeSourceFiles": true,
"Resources": null,
"PackageReferences": [],
"EditorReferences": null,
@ -24,6 +24,6 @@
"CsProjName": "",
"StartupScene": "scenes/minimal.scene",
"MapStartupScene": "scenes/minimal.scene",
"LaunchMode": "Normal"
"LaunchMode": "QuickPlay"
}
}

View File

@ -1,4 +1,5 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005Chamit_005Fba31xcg_005CDocuments_005Cs_0026box_0020projects_005Ckakozuzo_005F2_005CLibraries_005Cfish_002Escc_005Ccode_005CAssembly_002Ecs/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005Chamit_005Fba31xcg_005CDocuments_005Cs_0026box_0020projects_005Ckakozuzo_005F2_005CLibraries_005Cfish_002Escc_005Cscc_002Esbproj/@EntryIndexedValue">True</s:Boolean>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANetworking_002Ecs_002Fl_003A_002E_002E_003F_002E_002E_003F_002E_002E_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E2_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003F81ecae4f6275493893a36d9c54b5776d233200_003F73_003F8bf7d187_003FNetworking_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
</wpf:ResourceDictionary>