Adds Special Respawn, spawns a new disk if the old one was deleted (#12762)

* Spawns a new disk if one was deleted

* Adds tiledef to space checks, also adds a way to randomly check for a respawn point on station

* Removes unused method

* Cuts down on tile checks needed by checking surrounding tiles first

* Fixes up an issue where the coords wouldn't spawn

* Removes disk system, adds special respawning system and comp

* Fixes spelling error

* Fixes linter issue

* Maybe fixes the linter with a ref event?

* Empty commit to rerun tests

* Maybe fix?

* check for deleted grid

* Moves shutdown code to terminating code

* Customtypeseralizer

* changes name of datafield

* Removes owning station references

* Trying the queue event again
This commit is contained in:
keronshb
2022-12-19 21:38:34 -05:00
committed by GitHub
parent 0549b22cbc
commit 3327c2998f
6 changed files with 251 additions and 18 deletions

View File

@@ -5,6 +5,8 @@
description: A nuclear auth disk, capable of arming a nuke if used along with a code. Note from nanotrasen reads "THIS IS YOUR MOST IMPORTANT POSESSION, SECURE DAT FUKKEN DISK!"
components:
- type: NukeDisk
- type: SpecialRespawn
prototype: NukeDisk
- type: Sprite
netsync: false
sprite: Objects/Misc/nukedisk.rsi