Skip to content

Instantly share code, notes, and snippets.

View CrumblyLiquid's full-sized avatar

CrumblyLiquid CrumblyLiquid

View GitHub Profile
@CrumblyLiquid
CrumblyLiquid / kcd-lua.md
Created May 31, 2024 20:24
Kingdom Come: Deliverance - Lua Scripting Handbook

Kingdom Come: Deliverance - Lua Scripting Handbook

This is meant to be a reference for all the resource I could find for KCD1 modding and especially Lua scripting in KCD1

Resources

@CrumblyLiquid
CrumblyLiquid / wordpractice.py
Created May 23, 2022 16:19
Quick and dirty script to practice words
from pathlib import Path
import random
# File should be in format:
# word - translation
file = Path(input("Please enter file: "))
wordlist = []
# Load file and create wordlist
@CrumblyLiquid
CrumblyLiquid / autoexec.cfg
Last active September 6, 2021 17:49
My config for Counter-Strike: Global Offensive
// -- CrumblyLiquid's config --
// Still a lot more that could be added like audio
// === Launch options ===
// -nojoy -novid +exec autoexec.cfg
// -nojoy - launches with controller input disabled (required on Linux)
// -novid - launches CS:GO without the intro video
// +exec autoexec.cfg - executes this configuration file ie it runs all the commands listed below
@CrumblyLiquid
CrumblyLiquid / error_handler.py
Created March 7, 2020 11:20 — forked from EvieePy/error_handler.py
Simple Error Handling for ext.commands - discord.py
import traceback
import sys
from discord.ext import commands
import discord
"""
If you are not using this inside a cog, add the event decorator e.g:
@bot.event
async def on_command_error(ctx, error)