Added a lot of features (see description)
Added infinite jetpack, upgrade plot on buy, override max slot, change time multiplier
This commit is contained in:
@@ -26,14 +26,15 @@ namespace SlimeRanger.Hacks
|
||||
{
|
||||
pos += -tpp.transform.right * speed * Time.deltaTime;
|
||||
}
|
||||
if (Input.GetKey(KeyCode.Keypad8))
|
||||
if (Input.GetKey(KeyCode.Space))
|
||||
{
|
||||
pos += tpp.transform.up * speed * Time.deltaTime;
|
||||
}
|
||||
if (Input.GetKey(KeyCode.Keypad2))
|
||||
if (Input.GetKey(KeyCode.LeftShift))
|
||||
{
|
||||
pos += -tpp.transform.up * speed * Time.deltaTime;
|
||||
}
|
||||
|
||||
Misc.SetPlayerPosition(pos);
|
||||
}
|
||||
|
||||
@@ -42,7 +43,7 @@ namespace SlimeRanger.Hacks
|
||||
StateHelpers.GetPlayerState().AddCurrency(amount, type);
|
||||
}
|
||||
|
||||
public static void AddKey()
|
||||
public static void AddKey()
|
||||
{
|
||||
StateHelpers.GetPlayerState().AddKey();
|
||||
}
|
||||
@@ -62,5 +63,6 @@ namespace SlimeRanger.Hacks
|
||||
TeleportablePlayer tpp = UnityEngine.Object.FindObjectOfType<TeleportablePlayer>();
|
||||
tpp.playerEventHandler.Position.Set(position);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,30 @@ namespace SlimeRanger.Hacks
|
||||
{
|
||||
StateHelpers.GetPlayerState().AddUpgrade(up);
|
||||
}
|
||||
|
||||
ProgressDirector progressDirector = UnityEngine.Object.FindObjectOfType<ProgressDirector>();
|
||||
foreach (ProgressDirector.ProgressType pt in Enum.GetValues(typeof(ProgressDirector.ProgressType)))
|
||||
{
|
||||
progressDirector.AddProgress(pt);
|
||||
}
|
||||
|
||||
foreach (Gadget.Id id in Enum.GetValues(typeof(Gadget.Id)))
|
||||
{
|
||||
SRSingleton<SceneContext>.Instance.GadgetDirector.AddBlueprint(id);
|
||||
}
|
||||
|
||||
progressDirector.AddProgress(ProgressDirector.ProgressType.CORPORATE_PARTNER);
|
||||
CorporatePartnerUI corporatePartnerUI = UnityEngine.Object.FindObjectOfType<CorporatePartnerUI>();
|
||||
corporatePartnerUI.RebuildUI();
|
||||
corporatePartnerUI.PlayPurchaseFX();
|
||||
SRSingleton<SceneContext>.Instance.PediaDirector.UnlockWithoutPopup(PediaDirector.Id.CHROMA);
|
||||
SRSingleton<SceneContext>.Instance.PediaDirector.UnlockWithoutPopup(PediaDirector.Id.SLIME_TOYS);
|
||||
|
||||
PediaDirector pediaDirector = UnityEngine.Object.FindObjectOfType<PediaDirector>();
|
||||
foreach (PediaDirector.Id id in Enum.GetValues(typeof(PediaDirector.Id)))
|
||||
{
|
||||
pediaDirector.Unlock(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user