LoopByDefault
Makes the primordial teleporter set to loop by default instead of going to the moon. Server-side and vanilla compatible.
By LordVGames
| Last updated | 6 months ago |
| Total downloads | 3248 |
| Total rating | 1 |
| Categories | Mods Tweaks |
| Dependency string | LordVGames-LoopByDefault-1.0.0 |
| Dependants | 2 other packages depend on this package |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2117README
LoopByDefault
Awesome now I don't have to hit the stage 5 teleporter rings like 80% of the time
No github repository for this because the change is done in 4 lines:
var lunarTeleProngs = Addressables.LoadAssetAsync<GameObject>("RoR2/Base/Teleporters/LunarTeleporterProngs.prefab").WaitForCompletion();
var lunarTeleEsm = lunarTeleProngs.GetComponent<EntityStateMachine>();
lunarTeleEsm.initialStateType = new EntityStates.SerializableEntityStateType(typeof(EntityStates.LunarTeleporter.ActiveToIdle));
lunarTeleEsm.mainStateType = new EntityStates.SerializableEntityStateType(typeof(EntityStates.LunarTeleporter.Idle));