You are viewing a potentially older version of this package. View all versions.
Remmie-EmergencyPhone-1.2.2 icon

EmergencyPhone

Turns the Old Phone into an Emergency Phone: hold RMB to teleport yourself back to the ship via your Teleporter.

By Remmie
Date uploaded 3 weeks ago
Version 1.2.2
Download link Remmie-EmergencyPhone-1.2.2.zip
Downloads 25
Dependency string Remmie-EmergencyPhone-1.2.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Emergency Phone

Turns the vanilla Old Phone into the Emergency Phone: hold right-click to teleport yourself back to the ship with your Teleporter. Works in solo and in multiplayer.

Made by Remmie.

Heads up: the random call failures (added in 1.2.0) are still being tested. If one goes wrong (a freeze or crash, for example), please report it with your LogOutput.log on my Discord: @remmies (added my Discord so you can reach me). You can switch all failures off with Failures.Enabled, or set any chance to 0, in the config or in-game with LethalConfig.

How it works

  • Find the phone as normal loot on moons, or buy it from the terminal store (250 credits by default).
  • Hold it and hold right-click for 2 seconds. It rings while you hold.
  • The ship's regular Teleporter beams you back to the ship (with the usual teleporter delay).
  • The phone is consumed on use. The Teleporter is not consumed, but you must own one.
  • Normally only the user is teleported, in solo and in multiplayer.
  • Calls can fail at random (see below).

Call failures

Each call rolls for a failure. Chances are in percent, and each player uses their own config values:

  • Call takes longer (5%) - extra delay before the teleport.
  • Phone breaks (3%) - nothing happens and the phone is gone.
  • Wrong number (3%) - you land at a random spot in the facility, like the inverse teleporter.
  • Everyone teleports (2%) - every living player is beamed up to the ship with you.
  • Phone explodes (1%) - a short beeping fuse, then it hurts everyone nearby.

Note: like any vanilla teleport, items you are holding are dropped where you stand.

Config

  • Shop.Price - store price.
  • Shop.SellInStore - turn the store entry off if you only want the loot version.
  • Shop.SellValueMin / Shop.SellValueMax - range (default 40-70) of the random scrap value of a store-bought phone. Found phones keep their normal loot value.
  • Use.HoldSeconds - how long to hold right-click.
  • Failures.Enabled - master switch for all call failures.
  • Failures.CallTakesLongerChance / CallTakesLongerSeconds, PhoneBreaksChance, WrongButtonChance, EveryoneTeleportsChance, PhoneExplodesChance - chance (%) of each failure; the first one also sets the extra seconds.
  • Use.UseRenderedIcon - experimental: use a render of the phone as the HUD icon instead of the mod logo (off by default).

Notes

  • Install on every player in the lobby (the store list must match).
  • Because it is the Old Phone, you can't tell them apart: every Old Phone you find is an Emergency Phone.

CHANGELOG

Changelog

1.2.3

  • Added my Discord (@remmies) so you can reach me.

1.2.1

  • Fix: the 'everyone teleports' failure could freeze the game. It now beams each living player up one after another with the normal teleporter.

1.2.0

  • New: random call failures (config section Failures, editable in-game with LethalConfig; chances in percent, each player uses their own): the call takes longer (5%), the phone breaks (3%), wrong number: you land at a random spot in the facility like the inverse teleporter (3%), everyone is beamed up to the ship with you (2%), the phone explodes after a short beeping fuse, hurting everyone nearby (1%).

1.1.8

  • The HUD / TAB-slot icon is now a picture of the phone itself (transparent background) instead of the mod logo.

1.1.7

  • Fix: the rendered HUD icon looked like a red cube. The mod logo is used again; the render is now opt-in (Use.UseRenderedIcon).

1.1.6

  • Fix: phones stored on the ship no longer disappear when the whole crew dies (the game despawns all scrap on a wipe; the phone is now spared like other store items).

1.1.5

  • Fix: in the utility (TAB) slot the phone showed the generic "unknown item" icon; it now shows a picture of the phone itself (rendered from its in-game model, with the mod logo as a fallback).

1.1.4

  • The phone now works while the ship is taking off, like the vanilla Teleporter (only blocked in orbit, where you're already on the ship).

1.1.3

  • The phone can now be put in the utility (TAB) slot, like the belt bag, jetpack, flashlight and zap gun.
  • Store-bought phones get a random scrap value of 40-70 (config: Shop.SellValueMin / SellValueMax), the same for every player.

1.1.2

  • Fix: in multiplayer the teleport could beam up other players instead of (or as well as) the user.
  • Fix: scanner still said 'Old phone'; it now says 'Emergency Phone'.
  • Store-bought phones now show a scrap value (config: Shop.SellValue, default 40).

1.1.1

  • Fix: holding RMB rang the phone but never triggered the teleporter (the teleport sequence failed to start).

1.1.0

  • The vanilla Old Phone is now the Emergency Phone (renamed, with the teleport ability) instead of a separate copy.
  • Still sold in the store; found as normal loot on moons.
  • No longer depends on LethalLib.

1.0.0

  • Initial release.