Skip to content

Commit

Permalink
Urak2an commit for cloud archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
saveroo committed Jul 18, 2023
1 parent b15600a commit b1f58b6
Show file tree
Hide file tree
Showing 52 changed files with 6,343 additions and 1 deletion.
541 changes: 541 additions & 0 deletions .gitignore

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions .idea/.idea.ZombieEnhanced/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.ZombieEnhanced/.idea/code-comments.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.ZombieEnhanced/.idea/discord.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/.idea.ZombieEnhanced/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/.idea.ZombieEnhanced/.idea/indexLayout.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/.idea.ZombieEnhanced/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.ZombieEnhanced/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added 212121Capture.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Capture.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions GUITest/MonoBehaviour1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using System;
using System.IO;
using UnityEngine;

namespace Doorstop
{
public static class Loader
{
public static void Main(string[] args)
{
GUI.Label(new Rect(50, 50, 100, 20), "Hello World!");

using (TextWriter tw = File.CreateText("doorstop_is_alive.txt"))
{
tw.WriteLine($"Hello! This text file was generated by Doorstop on {DateTime.Now:R}!");
tw.WriteLine($"Command line: {Environment.CommandLine}");

tw.WriteLine();
tw.WriteLine("Doorstop also set the following environment variables:");
tw.WriteLine($"DOORSTOP_INVOKE_PATH = {Environment.GetEnvironmentVariable("DOORSTOP_INVOKE_DLL_PATH")}");
tw.WriteLine($"DOORSTOP_MANAGED_FOLDER_DIR = {Environment.GetEnvironmentVariable("DOORSTOP_MANAGED_FOLDER_DIR")}");
tw.WriteLine($"DOORSTOP_PROCESS_PATH = {Environment.GetEnvironmentVariable("DOORSTOP_PROCESS_PATH")}");

tw.WriteLine("Replace this DLL with a custom-made one to do whatever you want!");

tw.Flush();
}
// var zf = new ZomboForm.ZomboForm();
// zf.Show(default);
// if (GUI.Button(new Rect(10, 10, 150, 100), "I am a button"))
// {
//
// }
}

// public void OnGUI()
// {
// GUI.Label(new Rect(10, 10, 100, 20), "Hello World!");
// }
}
}
35 changes: 35 additions & 0 deletions GUITest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("GUITest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("GUITest")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2A004686-BACA-436E-89A8-1539A46ABA51")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Binary file added LastUpdatedForm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 89 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,89 @@
ZombieEnhanced
# [Not Just] Zombie Enhanced - 2.2.0

![Image Description](/LastUpdatedForm.png)

Nexus Link to this mod: [Not Just Zombie Enhanced - 2.2.0](https://www.example.com)


**2.2.0: Zombie's Dialogue**

GUI Configurable Zombie/Worker Walk/Carry Speed, Efficiency, with several extra Features.

**:: REQUIREMENTS ::**

- QModManager
- Replace with updated [Harmony 1.2](https://github.com/pardeike/Harmony/releases/tag/v1.2.0.1) (**MANDATORY**)


> Important **Notes!:**
- Install **QModManager**first.
- Then download [Harmony 1.2](https://github.com/pardeike/Harmony/releases/tag/v1.2.0.1)
- After that, open folder *net472*under *Release.zip*
- Then put **0Harmony.dll**(*_112kb_*) in (X:\[YourFolder]*\Graveyard.Keeper\Graveyard Keeper_Data\Managed\**0Harmony.dll**)*
- Replacing **QModManager**0harmony.dll wont break other mods that needs QModManager, it just an upgrade with feature addition,
- There's used feature used by this mod within Harmony 1.2


(**BUG**) Extracted Organs can't be picked up workaround
> The bug was caused by Item_Organs_Overhaul_StackCount (**Max Stack**)** **config, it should be fine if its stay at **1**.
Do it **before EXTRACTION**in **Autopsy**table**:**
1. set **Max Stack** to **1**
2. **press L (default hotkey)** in game to **reload **config,
3. Extract the bodies
4. set **Max Stack **to your desired value again
5. **press L (default hotkey) **in game to **reload **config.
6. After that you can stack the **organs** again in **Mortuary Rack**or any **chest/inventory**




**:: FEATURES ::

- [Zombie]'s Talks
- [Zombie] Farm/Vineyard Seeds Reducer
- [Zombie] Farm/Vineyard Produce Crop Waste!
- [Zombie] Speed, Zombie Porter Speed
- [Zombie] Efficiency, Efficiency Multiplier
- [Tools] GUI Configurable, Change config with ease
- [Tools] GUI Config multi Presets!
- [Tools] In Game Reloader, Press desired key to reflect config change.
- [Spawner] Item Spawner
- [Spawner] Best Organs Package Dropper (Tune up your Zombees!)
- [Embalment] Gold Embalment Improvement
- [Tooltip] Extra Zombie Tooltips, Autopsy/Near
- [Tooltip] Organ Tooltips!
- [Buff] At Will!, Most Buffs can be activated at will
- [Sermon] At Will!, Preach Everytime!

**
**:: CONFIG NOTES ::**

- Floating number should use commas instead of point
- Currently XX_Key are limited to 1 keyboard key



**:: CONFLICTS ::**

- I don't know, if you find one please let me know.
- I only use "Keeper's need", "more storage.", "Build anywhere"


**:: CONFIG OVERVIEW [Not Updated] ::**

- **Zombie_MovementSpeed**, default = 1,5,
- **Zombie_BaseEfficiency**, default = 16, according to max skull., shouldn't get edited, due to confusion.
- **Zombie_ExtraEfficiency**, extra efficiency added to calculation.
- **Zombie_MaxEfficiency**, In %, maximal efficiency, default game value = 40%, it's better to edit/increase this to have balanced/natural feeling,
- **Prayer_Reset_Enabled**, Turn On/Off Feature, by setting to false/true
- **Prayer_Key**, True/False, Key to activate in game. (In-Game dialog will show up to confirm)
- **Buffs_Activator_Enabled, **True/False, Turn On/Off Feature, by setting to false/true
- **Buffs_Activator_Key**, default = O, Key to activate in game, (In-Game dialog will show up to confirm)
- **InGame_ReloadConfig_Key**, default = L, press in-game to reload config change


**::  KNOWN ISSUES ::**

- For those encounter an error, it need [Harmony 1.2](https://github.com/pardeike/Harmony/releases/tag/v1.2.0.1)
- Messed up Vine Press Craft Menu, download the HOTFIX 2.0.1.0, Fixed 2.2.0
- Messed up Zombie farm menu within tier I/II, except 3, fixed 2.2.0
75 changes: 75 additions & 0 deletions ZombieEnhanced/DataMining.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
// using System;
// using System.Collections.Generic;
// using System.IO;
// using System.Linq;
// using System.Reflection;
// using Oculus.Newtonsoft.Json;
// using Oculus.Newtonsoft.Json.Serialization;
// using UnityEngine;
//
// namespace ZombieEnhanced
// {
// public class Datamining
// {
// public static void HandleKeypress(object sender, KeyCode key)
// {
// foreach (KeyValuePair<System.Type, SmartResourceHelperPool> keyValuePair1 in SmartResourceHelper.me.GetField<Dictionary<System.Type, SmartResourceHelperPool>>("_pools"))
// {
// foreach (KeyValuePair<string, UnityEngine.Object> keyValuePair2 in keyValuePair1.Value.loaded)
// Datamining.PrintAll((object) keyValuePair2.Value, keyValuePair2.Key, "resource_pools", keyValuePair1.Value.type.ToString());
// }
// }
//
// public static void PrintAll(object value, string name, params string[] folders)
// {
// try
// {
// string str = Path.Combine(folders);
// Directory.CreateDirectory(str);
// string path = Path.Combine(str, name.Replace(':', '.') + ".json");
// using (StreamWriter streamWriter = new StreamWriter(path))
// {
// using (JsonTextWriter jsonTextWriter = new JsonTextWriter((TextWriter) streamWriter))
// {
// JsonSerializer.CreateDefault(new JsonSerializerSettings()
// {
// Formatting = Formatting.Indented,
// NullValueHandling = NullValueHandling.Ignore,
// ObjectCreationHandling = ObjectCreationHandling.Replace,
// DefaultValueHandling = DefaultValueHandling.Include,
// TypeNameHandling = TypeNameHandling.None,
// MetadataPropertyHandling = MetadataPropertyHandling.Ignore,
// PreserveReferencesHandling = PreserveReferencesHandling.None,
// ContractResolver = (IContractResolver) new Datamining.MyContractResolver()
// }).Serialize((JsonWriter) jsonTextWriter, value);
// jsonTextWriter.Close();
// }
// streamWriter.Close();
// }
// }
// catch (Exception ex)
// {
// Entry.Log(ex.ToString());
// }
// }
//
// public class MyContractResolver : DefaultContractResolver
// {
// protected override IList<JsonProperty> CreateProperties(
// System.Type type,
// MemberSerialization memberSerialization)
// {
// // ISSUE: reference to a compiler-generated method
// List<JsonProperty> list = ((IEnumerable<FieldInfo>)
// type.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic))
// .Where<FieldInfo>((JsonContract.Func<FieldInfo, bool>) (s => s.IsPublic || Attribute.IsDefined((MemberInfo) s, typeof (SerializeField)))).Select<FieldInfo, JsonProperty>((Oculus.Newtonsoft.Json.Serialization.Func<FieldInfo, JsonProperty>) (f => this.\u003C\u003En__0((MemberInfo) f, memberSerialization))).ToList<JsonProperty>();
// list.ForEach((System.Action<JsonProperty>) (p =>
// {
// p.Writable = true;
// p.Readable = true;
// }));
// return (IList<JsonProperty>) list;
// }
// }
// }
// }
7 changes: 7 additions & 0 deletions ZombieEnhanced/Debouncer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace ZombieEnhanced
{
public class Debouncer
{

}
}
Loading

0 comments on commit b1f58b6

Please sign in to comment.