Skip to content

Instantly share code, notes, and snippets.

ship = First Plane
version = 1.12.3
description =
type = SPH
size = 8.82935619,3.36824536,8.05357552
steamPublishedFileId = 0
persistentId = 514044562
rot = 0,0,0,0
missionFlag = Squad/Flags/FoxSpaceProgram
vesselType = Debris
@LottieVixen
LottieVixen / player.log
Created November 18, 2021 20:19
Player.log Derail Valley Speedo broke
This file has been truncated, but you can view the full file.
Mono path[0] = 'Z:/home/lottie/.local/share/Steam/steamapps/common/Derail Valley/DerailValley_Data/Managed'
Mono config path = 'Z:/home/lottie/.local/share/Steam/steamapps/common/Derail Valley/MonoBleedingEdge/etc'
Initialize engine version: 2019.4.22f1 (9fdda2fe27ad)
[Subsystems] Discovering subsystems at path Z:/home/lottie/.local/share/Steam/steamapps/common/Derail Valley/DerailValley_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: Radeon RX 5700 / 5700 XT (ID=0x731f)
Vendor:
VRAM: 8192 MB
Mono path[0] = '/home/lottie/.local/share/Steam/steamapps/common/7 Days To Die/7DaysToDie_Data/Managed'
Mono config path = '/home/lottie/.local/share/Steam/steamapps/common/7 Days To Die/7DaysToDie_Data/MonoBleedingEdge/etc'
Preloaded 'libMagick.so'
Preloaded 'libMouseLib.so'
Preloaded 'libeac_server.so'
Preloaded 'libeasyanticheat.so'
Preloaded 'libgetrss.so'
Preloaded 'libsteam_api.so'
Preloaded 'ScreenSelector.so'
Preloaded 'steamclient.so'
#!/bin/sh
# BepInEx running script
#
# HOW TO USE:
# 1. Make this script executable with `chmod u+x ./start_game_bepinex.sh`
# 2. In Steam, go to game's preferences and change game's launch args to:
# ./start_game_bepinex.sh %command%
# 3. Start the game via Steam
#
# Note that you won't get a console this way
Mono path[0] = 'Z:/home/lottie/.local/share/Steam/steamapps/common/Derail Valley/DerailValley_Data/Managed'
Mono config path = 'Z:/home/lottie/.local/share/Steam/steamapps/common/Derail Valley/MonoBleedingEdge/etc'
Initialize engine version: 2019.4.22f1 (9fdda2fe27ad)
[Subsystems] Discovering subsystems at path Z:/home/lottie/.local/share/Steam/steamapps/common/Derail Valley/DerailValley_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: Radeon RX 5700 / 5700 XT (ID=0x731f)
Vendor:
VRAM: 8192 MB
@LottieVixen
LottieVixen / short.gd
Last active September 18, 2021 23:43
#explaination and example (current) vector
#forward is a 0 or 1 indicating player intent
var thrust_force = Vector2(150, 0)
apply_impulse( Vector2.LEFT, thrust_force.rotated(global_rotation) * forward) #has a slight clockwise spin
apply_central_impulse( thrust_force.rotated(global_rotation) * forward) #works as expected, flies straight at the ship's heading
extends RigidBody2D
var screensize
var centered = false
export (Vector2) var thrust_force = Vector2(15,0)
var forward = 0
func _ready():
screensize = get_viewport().get_visible_rect().size
@LottieVixen
LottieVixen / BuildInDungeon.cs
Created April 4, 2021 12:01
files I tested on
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BepInEx;
using HarmonyLib;
using UnityEngine;
namespace Valheim_BuildInDungeon
First lockdown came just after I moved into a new flat and a lot of the stuff in the boxes required
refrigeration and or were days from going off, a lot of the time the perishables I got were already going bad in the boxes
and also I am lactose intolerant and they kept sending litres of milk about to go off.
at the time I didn't have a fridge, microwave or an oven so I couldn't use a lot of the stuff and ended up giving away
the usable stuff to a local friend. I told the council of the issue and they once went out and bought me some stuff from
local shops but that was it, I told them I wanted a change to the food boxes and they said they would deal with it but
nothing came of it leading to a lot of it just going straight in the bin.
They (council) offered but then didn't follow through with helping me get a supermarket delivery slot so I spent a lot
Shader "Custom/test"
{
Properties
{
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Glossiness ("Smoothness", Range(0,1)) = 0.5
_Metallic ("Metallic", Range(0,1)) = 0.0
}
SubShader