Skip to content

Instantly share code, notes, and snippets.

View jeremyckahn's full-sized avatar

Jeremy Kahn jeremyckahn

View GitHub Profile
# Adapted from https://raw.githubusercontent.com/RudyMis/Bubbles/master/.github/workflows/godot-ci.yml
name: godot-ci
on:
push:
branches: [ main ]
env:
EXPORT_NAME: farmhand-go
# Adapted from https://raw.githubusercontent.com/RudyMis/Bubbles/master/.github/workflows/godot-ci.yml
name: godot-ci
on:
push:
branches: [ main ]
env:
EXPORT_NAME: NAME-OF-YOUR-GAME
farmhand.localforage.setItem('state', JSON.parse("{\"completedAchievements\":{\"plant-crop\":true,\"water-crop\":true,\"harvest-crop\":true,\"unlock-crop-price-guide\":true,\"daily-profit-1\":true,\"purchase-cow-pen\":true,\"daily-profit-2\":true,\"daily-profit-3\":true,\"purchase-all-cow-colors\":true,\"profit-average-1\":true,\"profit-average-2\":true,\"i-am-rich-1\":true,\"i-am-rich-2\":true},\"cowBreedingPen\":{\"cowId1\":\"d97f2117-6918-4181-8284-3f8dc6a0058e\",\"cowId2\":\"9044dd6e-23e7-4bb1-819d-eeb62dc8e90d\",\"daysUntilBirth\":-426},\"cowColorsPurchased\":{\"BROWN\":3,\"GREEN\":2,\"YELLOW\":2,\"ORANGE\":2,\"WHITE\":2,\"PURPLE\":1,\"BLUE\":1},\"cowForSale\":{\"baseWeight\":1983,\"color\":\"WHITE\",\"colorsInBloodline\":{\"WHITE\":true},\"daysOld\":1,\"daysSinceMilking\":0,\"daysSinceProducingFertilizer\":0,\"gender\":\"FEMALE\",\"happiness\":0,\"happinessBoostsToday\":0,\"id\":\"05fe1e3f-dc4f-4f86-bd16-d9afb718cc73\",\"isBred\":false,\"isUsingHuggingMachine\":false,\"name\":\"Crabapple\",\"weightMulti
@jeremyckahn
jeremyckahn / postmortem-template.md
Last active October 21, 2021 23:16
Incident postmortem template

Description of the incident

Root cause of the problem

{
"completedAchievements": {
"plant-crop": true,
"water-crop": true,
"harvest-crop": true,
"purchase-cow-pen": true,
"purchase-all-cow-colors": true
},
"cowBreedingPen": {
"cowId1": null,
This file has been truncated, but you can view the full file.
diff --git a/package-lock.json b/package-lock.json
index 1cbc6ab..47f4072 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6,7 +6,7 @@
"packages": {
"": {
"name": "@jeremyckahn/farmhand",
- "version": "1.7.7",
+ "version": "1.10.17",
{
"completedAchievements": {
"plant-crop": true,
"water-crop": true,
"harvest-crop": true
},
"cowBreedingPen": {
"cowId1": null,
"cowId2": null,
"daysUntilBirth": -1
{
"completedAchievements": {
"plant-crop": true,
"water-crop": true,
"harvest-crop": true,
"unlock-crop-price-guide": true,
"i-am-rich-1": true
},
"cowBreedingPen": {
"cowId1": null,
@jeremyckahn
jeremyckahn / trigger-release.yml
Created March 25, 2021 13:06
Draft of a GitHub Action for Farmhand
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
on:
workflow_dispatch:
inputs:
releaseType:
description: 'Release type'
required: true
default: 'patch'
jobs:

User Story/Task

Description

A high-level explanation of the singular feature that is needed.

Background

Any context that might help an uninitiated person understand why this feature is needed.