Skip to content

Instantly share code, notes, and snippets.

View MaxNeedsSnacks's full-sized avatar
🧑‍🎓
may be slow to respond for a bit, dealing with uni work

Max MaxNeedsSnacks

🧑‍🎓
may be slow to respond for a bit, dealing with uni work
View GitHub Profile
@MaxNeedsSnacks
MaxNeedsSnacks / base_functions.zs
Last active March 28, 2019 12:52
[WIP-ish] This CoT script can easily create tons of materials and materialparts from a basic data map
#loader contenttweaker
#priority 50
import mods.contenttweaker.MaterialPartData;
global toCamelCase as function(string)string = function(stringIn as string) as string {
# Return an invalid string as empty
if(!stringIn.matches(".*[A-Z,a-z].*")) { return ""; }
# Split string by spaces, underscores, etc.

Keybase proof

I hereby claim:

  • I am MaxNeedsSnacks on github.
  • I am maxneedssnacks (https://keybase.io/maxneedssnacks) on keybase.
  • I have a public key whose fingerprint is 0419 139B B75D 36C6 83C8 0FD9 2A25 F24F BADC B619

To claim this, I am signing this object: