Skip to content

Instantly share code, notes, and snippets.

@wjrogers
wjrogers / natura_sticks.zs
Created June 30, 2018 06:33
Fix Natura recipe conflicts and update fence recipes
import crafttweaker.item.IItemStack;
#modloaded natura
/*
Remove Natura sticks from the game; use vanilla sticks and the new
varied recipes for fences and fence gates instead.
*/
# metadata of first nether sticks
@wjrogers
wjrogers / SAGMillRecipes_User.xml
Created June 6, 2015 11:39
Disable AE2 features in EnderIO
<SAGMillRecipes>
<recipeGroup name="Applied Energistics" enabled="false" />
<recipeGroup name="Vanilla">
<recipe name="Quartz Ore" energyCost="7200">
<input>
<itemStack oreDictionary="oreQuartz" />
</input>
<output>
<itemStack modID="minecraft" itemName="quartz" number="4" />
<itemStack oreDictionary="dustNetherQuartz" chance="0.05" />
@wjrogers
wjrogers / dfhack_workflow.txt
Created March 4, 2012 20:18
dfhack configuration
# enable the plugin
workflow enable drybuckets auto-melt
# farming
workflow amount FOOD 120 30
workflow amount DRINK 300 50
workflow amount THREAD//GRASS_TAIL_PIG:THREAD 30 20
workflow count LIQUID_MISC//POD_SWEET:EXTRACT 20 10
# storage
@wjrogers
wjrogers / Active Mod Files
Created July 10, 2011 23:10
Oblivion Mod Configuration
00 Oblivion.esm [CRC: 2FF840C5]
01 All Natural Base.esm [Version 1.3.1] [CRC: 47867C56]
02 Francesco's Leveled Creatures-Items Mod.esm [Version 4.5bSI] [CRC: 2D78AA91]
03 Cobl Main.esm [Version 1.73] [CRC: 7C04DAFB]
04 Oscuro's_Oblivion_Overhaul.esm [Version 1.34] [CRC: C09734F4]
05 Mart's Monster Mod.esm [Version 3.7b3p3] [CRC: 5D909483]
06 FCOM_Convergence.esm [Version 0.9.9MB3] [CRC: 8899BA8D]
07 Armamentarium.esm [Version 1.35] [CRC: BCF36F0D]
08 Artifacts.esm [Version 1.1] [CRC: 86C8B7A8]
09 Progress.esm [Version 2.2] [CRC: C2F22F8B]
@ECHO OFF
REM -- Automates cygwin installation
SETLOCAL
REM -- Change to the directory of the executing batch file
CD %~dp0
REM -- Configure our paths
SET SITE=http://mirrors.kernel.org/sourceware/cygwin/
@wjrogers
wjrogers / ja2_113_ncth_recoil_compensation_cleanup_4222.diff
Created March 3, 2011 00:47
Cleans up and simplifies math in the recoil calculations.
Index: Build/Tactical/LOS.cpp
===================================================================
--- Build/Tactical/LOS.cpp (revision 4223)
+++ Build/Tactical/LOS.cpp (working copy)
@@ -7950,11 +7950,11 @@
// Calculate Ideal X and limit to max force
FLOAT iIdealCounterForceX = 0.0;
- iIdealCounterForceX = __min( iCounterForceMax, (bGunRecoilX + (*dMuzzleOffsetX / iDistanceRatio / iRound) ));
+ iIdealCounterForceX = -(bGunRecoilX + (*dMuzzleOffsetX / iDistanceRatio / iRound) );
require 'nokogiri'
# Standard maven2 repository
repositories.remote << 'http://www.ibiblio.org/maven2'
repositories.remote << 'http://www.terracotta.org/download/reflector/maven2'
# constants?
GERONIMO_ACTIVEMQ_RA = 'org.apache.geronimo.modules:geronimo-activemq-ra:rar:2.2'
# the project