This file contains 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
{ | |
"Action":"EditData", | |
"Target":"spacechase0.SpaceCore/ShopExtensionData", | |
"Entries": | |
{ | |
"SeedShop": | |
{ | |
"Tabs": "Custom", | |
"CustomTabs": [ |
This file contains 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
{ | |
"Action":"EditData", | |
"Target":"spacechase0.SpaceCore/FurnitureExtensionData", | |
"Entries": | |
{ | |
"1304": | |
{ | |
"TileProperties": { | |
"0, 0": { | |
"Buildings": { |
This file contains 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
{ | |
"Format": "1.24.0", | |
"Changes": [ | |
{ | |
"Action": "EditData", | |
"Target": "spacechase0.MonstersTheFramework/Monsters", | |
"Entries": { | |
"SpookySkeletonMage": { | |
"Name": "{{i18n: spooky-skeleton-mage}}", | |
"CorrespondingMonsterGoal": "Skeleton Mage", |
This file contains 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
using HarmonyLib; | |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.CompilerServices; | |
using System.Text; |
This file contains 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
extends Node2D | |
func _physics_process(delta): | |
var vels = get_tree().get_nodes_in_group( "components/VelocityComponent" ) | |
for node in vels: | |
var vel = node.get_component( "VelocityComponent" ) | |
node.move_and_collide( vel.velocity * delta ) |
This file contains 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
extends Node2D | |
func _physics_process(delta): | |
var vels = get_tree().get_nodes_in_group( "components/VelocityComponent" ) | |
for node in vels: | |
var vel = ComponentServer.get_component( node, "VelocityComponent" ) | |
node.move_and_collide( vel.velocity * delta ) | |
var velsCS = get_tree().get_nodes_in_group( "components/VelocityCSComponent" ) | |
for node in velsCS: |
This file contains 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
namespace StardewModdingAPI.Toolkit.Serialization | |
{ | |
public class MyNetConverter : JsonConverter | |
{ | |
public override bool CanRead => true; | |
public override bool CanWrite => true; | |
public override bool CanConvert( Type objectType ) | |
{ | |
//Console.WriteLine( "checking " + objectType ); | |
return typeof( AbstractNetSerializable ).IsAssignableFrom( objectType ); |
This file contains 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
using Harmony; | |
using Netcode; | |
using SpaceShared; | |
using StardewModdingAPI; | |
using StardewModdingAPI.Events; | |
using StardewModdingAPI.Utilities; | |
using StardewValley; | |
using StardewValley.Network; | |
using System; | |
using System.Collections.Generic; |
This file contains 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
using Mono.Cecil; | |
using Mono.Cecil.Cil; | |
using Netcode; | |
using StardewModdingAPI; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; |
This file contains 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
// Your config class | |
public class DummyConfig | |
{ | |
public bool dummyBool = true; | |
public int dummyInt1 = 50; | |
public int dummyInt2 = 50; | |
public float dummyFloat1 = 0.5f; | |
public float dummyFloat2 = 0.5f; | |
public string dummyString1 = "Kirby"; | |
public string dummyString2 = "Default"; |
NewerOlder