This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bora Horza Gobuchul | |
Determinist | |
Eschatologist | |
Irregular Apocalypse | |
No More Mr Nice Guy | |
Profit Margin | |
Nervous Energy | |
Prosthetic Conscience | |
Revisionist | |
Trade Surplus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires AutoHotKey v2.0 | |
#SingleInstance Force | |
SendMode "Input" | |
;;; Generic mouse look script, aka action camera | |
;;; * Should work on any game that requires you to hold down a key (such as | |
;;; the right mouse button) to move the camera | |
;;; * By default, caps lock will toggle mouse look mode on or off | |
;;; * When mouse look is enabled, you can press RMB to temporarily release | |
;;; mouse look and get your cursor back. Great for mouseover targeting! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance force | |
#NoEnv | |
SendMode Input | |
; Keybinds | |
AutoCenterToggle := "RWin" | |
MouseLook := "RButton" | |
; Config | |
CenterOffsetX := 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
A simple utility for Phantasy Star Online 2 to calculate the overall success | |
rate of upslotting a weapon/unit to N slots from N-1. | |
Can also take number of (filled) S-Grade Augment slots (aka SSA slots) which, | |
when present, always improve the overall chance (because they are 100% even | |
on upslot). | |
Specifying additional boosts (e.g. boost week) and/or manually specifying the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated from ZerothAngel's SEScripts version 11998d7043c3 tip | |
// Modules: satellitecontroller, batterymanager, solargyrocontroller, gyrocontrol, thrustcontrol, shiporientation, shipcontrol, eventdriver, commons | |
const string BATTERY_MANAGER_DISCHARGE_INTERVAL = "00:00:57"; // HH:MM[:SS] | |
const string BATTERY_MANAGER_RECHARGE_INTERVAL = "00:00:03"; // HH:MM[:SS] | |
// BatteryManager | |
const uint BATTERY_MANAGER_DRAIN_CHECK_TICKS = 120; | |
const uint BATTERY_MANAGER_DRAIN_CHECK_THRESHOLD = 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Rangefinder | |
{ | |
public struct LineSample | |
{ | |
public Vector3D Point; | |
public Vector3D Direction; | |
public LineSample(IMyCubeBlock reference, Vector3I forward3I) | |
{ | |
Point = reference.GetPosition(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Generated from ZerothAngel's SEScripts version 56430963671f tip | |
// Modules: undocktest, smartundock, gyrocontrol, thrustcontrol, shiporientation, shipcontrol, translateauto, pid, velocimeter, eventdriver, commons | |
// SmartUndock (ship-dependent) | |
const double SMART_UNDOCK_RTB_SPEED = 25.0; // In meters per second | |
const double AUTOPILOT_MIN_SPEED = 1.0; // In meters per second | |
const double AUTOPILOT_TTT_BUFFER = 5.0; // Time-to-target buffer, in seconds | |
const double AUTOPILOT_DISENGAGE_DISTANCE = 5.0; // In meters | |
// SmartUndock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private const float StackSize = 10000.0f; | |
public bool SplitContainerContents(IMyCargoContainer container) | |
{ | |
var inventory = ((Sandbox.ModAPI.Interfaces.IMyInventoryOwner)container).GetInventory(0); | |
var items = inventory.GetItems(); | |
// NB We only check the first item | |
var item = items.Count > 0 ? items[0] : null; | |
var amount = item != null ? (float)item.Amount : 0.0f; | |
if (amount >= StackSize * 2.0f) |