Skip to content

Instantly share code, notes, and snippets.

View WesCook's full-sized avatar

Wes Cook WesCook

View GitHub Profile
@WesCook
WesCook / melvor-township-ticks.js
Created March 27, 2023 13:29
Quickly spend town "ticks" in Melvor Township
/*
Quick and dirty script to bulk spend Township ticks in Melvor Idle
Make sure you're on the Township page (no need to be on trader tab)
Ensure the buy amount is set to 100% in advance
CSS selectors are how you choose which item to buy
Unfortunately not Firefox-compatible until they support the :has() function
*/
async function buyAndSkip() {
@WesCook
WesCook / keybase.md
Created January 13, 2017 09:58
Keybase proof

Keybase proof

I hereby claim:

  • I am WesCook on github.
  • I am wescook (https://keybase.io/wescook) on keybase.
  • I have a public key whose fingerprint is 1D41 5621 9D5C 6631 D0BA 97B9 9C9A B31D F256 ADF0

To claim this, I am signing this object:

@WesCook
WesCook / Forge - Fluids Tutorial (1.10.2)
Last active June 21, 2021 21:25
Forge tutorial covering implementation of Fluids
## Introduction
In Forge, "fluids" is a catch-all term representing both liquids and gasses in Minecraft. You can register your own fluids, define their appearance and functionality, and interact with them in different ways.
## Preparing your Workspace
Before being used, fluids first need to be registered with the Forge FluidRegistry. This acts as a list of all fluids that Forge knows about, as well as their properties and apperance.
To get started, you'll want to first create a class to manage your fluids. A common name is `ModFluids`. It serves the same purpose as `ModBlocks` or `ModItems` classes.