Skip to content

Instantly share code, notes, and snippets.

def dead_dohmtastic_chief_wiggum():
maggie_dohminator = 34
if 6 > 20:
return 'cowabunga'
else:
patty_dohminator = []
for chief_wiggum_dohm_lord in range(2):
krusty_ultimate_dohm.append(84)
return len(ultimate_dohm_marge)
private void GiveAllWeapons()
{
try
{
LoggerInstance.Msg("[DohmStash] Starting to give all weapons...");
var weaponDefinitions = new List<ItemDefinition>();
// Get all weapon definitions using Registry.GetItem
var registry = Singleton<Registry>.Instance;
var itemRegistry = registry.GetType().GetField("ItemRegistry", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(registry) as List<Registry.ItemRegister>;
using MelonLoader;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.EventSystems;
[assembly: MelonInfo(typeof(DohmStashRehydrated.Core), "DohmStashRehydrated", "1.0.0", "DohmBoy64bit", null)]
[assembly: MelonGame("TVGS", "Schedule I")]
namespace DohmStashRehydrated
using HarmonyLib;
using ScheduleOne.Law;
using ScheduleOne.PlayerScripts;
using MelonLoader;
namespace DohmStashRehydrated
{
public class PolicePatches
{
[HarmonyPatch(typeof(ScheduleOne.Police.PoliceOfficer))]
@NomadWithoutAHome
NomadWithoutAHome / image_splitter.py
Created March 19, 2025 17:29
simple script that splits RGB channels in combined textures. specifically for MRAO textures.
import tkinter as tk
from tkinter import filedialog, messagebox
from PIL import Image
import os
class ImageSplitterApp:
def __init__(self, root):
self.root = root
self.root.title("Image Channel Splitter")
self.root.geometry("400x200")

BasSDK Documentation

Overview

BasSDK is a Unity-based modding framework that provides a robust foundation for creating and managing game modifications. The SDK is designed with performance and extensibility in mind, offering a comprehensive set of tools and systems for mod developers.

Core Components

ModManager

The ModManager is the central system responsible for mod loading and management. It handles:

  • Mod discovery and loading
from dataclasses import dataclass, field
from typing import Any, Dict, List
@dataclass
class RowStruct:
object_name: str
object_path: str
@classmethod
This file has been truncated, but you can view the full file.
All Players Information:
[PlayerInfo] id 00010d8d-50f1-41d6-bcd7-5a74f74116ad, name: soggyfruitcake, gold: 999999, starcoins: 17030, xp: 73.53998
[PlayerInfo] id 0003b4ad-dd2b-4c44-b2ca-59a88d29a0db, name: boi, gold: 999999, starcoins: 0, xp: 20
[PlayerInfo] id 00045d41-9411-4a6d-bf48-20eb11cd1d13, name: Trickitytrot, gold: 999999, starcoins: 0, xp: 16.35
[PlayerInfo] id 000509c6-7813-41e8-a3b6-c76d0423338d, name: gold pizzamonkey, gold: 999999, starcoins: 0, xp: 20
[PlayerInfo] id 00058210-5b30-4bc7-a0ed-e3529f8400a5, name: kenken122022, gold: 999999, starcoins: 0, xp: 0
[PlayerInfo] id 00077e19-d531-4b40-bd38-71f9a2b9e53b, name: ye boi ninja, gold: 999999, starcoins: 0, xp: 38.02998
[PlayerInfo] id 000a4afe-8cc4-462b-9092-9c4310b3ced3, name: captin riv3r, gold: 999999, starcoins: 0, xp: 90.56998
[PlayerInfo] id 00106aba-1860-43a5-9ee3-e99f11d029fa, name: Parkermine, gold: 999999, starcoins: 0, xp: 58.62
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using DeviceConnection;
using Firebase;
using Firebase.Firestore;
using UnityEngine;
using UnityEngine.Events;
namespace SailApi
from fastapi import FastAPI
import httpx
import json
import os
from datetime import datetime, timedelta
app = FastAPI()
APP_DATA_FILE = "appdata.json"
DATA_URL = "https://meta-dog.onrender.com/api/apps"