Skip to content

Instantly share code, notes, and snippets.

View valkyrienyanko's full-sized avatar

Valk valkyrienyanko

View GitHub Profile
public class State
{
public Action Enter { get; set; } = () => { };
public Action Update { get; set; } = () => { };
public Action Exit { get; set; } = () => { };
public void Switch(ref State curState, State newState)
{
Exit();
curState = newState;
// Transfer the item in the inventory slot we are currently hovering over
private void TransferItem()
{
// Do not transfer item if this item is currently being animated
if (CurrentlyAnimating)
return;
// There is no item here thus no item to transfer
if (InventoryItem == null)
return;
namespace Inventory;
public partial class ItemPanelDescription : Control
{
private static Control ItemPanelDescriptionParent { get; set; }
public static void Clear()
{
foreach (Node child in ItemPanelDescriptionParent.GetChildren())
child.QueueFree();
namespace CatCafe;
public class Dialogue
{
public string Name { get; set; }
public string Text { get; set; }
public List<Choice> Choices { get; set; }
}
public class Choice
using Microsoft.VisualBasic;
namespace CatCafe;
public class Dialogue
{
public string Name { get; set; }
public string Text { get; set; }
public List<Choice> Choices { get; set; }
}
namespace CatCafe;
public class Dialogue
{
public string Name { get; set; }
public string Text { get; set; }
public List<Choice> Choices { get; set; }
}
public class Choice
public void NextDialogue(bool firstDialogue)
{
// Hide the choices before each new dialogue is shown
HideChoices();
// Get the current conversation
var conversation = Conversations[CurConversation];
// Are we at the end of the conversation?
if (CurDialogIndex >= conversation.Count)
global using Godot;
global using System;
global using System.Collections.Generic;
global using System.Collections.Concurrent;
global using System.Diagnostics;
global using System.Runtime.CompilerServices;
global using System.Threading;
global using System.Text.RegularExpressions;
global using System.Threading.Tasks;
global using System.Linq;

I'm creating this because this is just rediculous.

Issue

  • You can't copy paste text from outside of discord into discord.

Solution for Firefox Users

  • Go to about:config in your url search, and set dom.event.clipboardevents.enabled to false
  • Disable all the settings in "Text & Images" in discord
  • Enable "Use the legacy chat input" in discords Asscesibility options
Godot_v4.0-beta4_mono_win64.exe --verbose
C:\Users\VALK-DESKTOP\Downloads\Godot_v4.0-beta4_mono_win64>
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Godot Engine v4.0.beta4.mono.official.e6751549c - https://godotengine.org
Text-to-Speech: SAPI initialized.
Vulkan devices:
#0: AMD AMD Radeon RX 6600 - Supported, Discrete
Vulkan API 1.2.0 - Using Vulkan Device #0: AMD - AMD Radeon RX 6600