* You can now buckle handcuffed people to singularity/tesla generator
* Adds buckling to tesla coil and grounding rod, minor fixes.
* Makes buckling code shorter
* Refactors atom/Initialize
Captialized for compiling correctness and to be more inline with Destroy
Will now be called from atom/New if the world initialization loop in SSobj has already run. Should always call the base.
Now comes with the `roundstart` parameter indicating whether or not it was called by SSobj or atom/New
Other fixes/tweaks:
- Renamed a proc called Initialize in abduction consoles to Setup
- Removed /obj/item/device/radio/headset/headset_sec/department: Broken and referenced literally nowhere in the code
- Removed a spawn from the Initialize of turbine_computer which made literally zero sense
- Generalized the proc which fixes RND servers with no id set
Reasoning: It's better to check roundstart per function than to have to duplicate code in New and Initialize. Think of it as a safer New for atoms. If we move enough stuff to it, initial map load performance will increase due to less New calls
* Fixed a thing
* Actually, fuck the police
* >Expecting a merge without errors
* >Not calling ..() in New
* Sanic
* Fix the headset bug
* Makes sure the map loaders dew it right
* Fixes ruins being initialized twice
* Rename roundstart -> mapload
* Revert "Rename roundstart -> mapload"
This reverts commit 667c327fd2ccfa3ce4f4db52eac03f9e8b0f6812.
* Remove unrelated change
* A more direct solution to map loads
* And now we shouldnt need this warning
* Add the new var to SSobj recovery
* Revert "Revert "Rename roundstart -> mapload""
This reverts commit dee07dbd5e4696554ac43aae5b91cce743b9b9e0.
* Line endings
* Fixes targetted clockcult scripture not logging
* easy
* volt void
* big damage
* i knew
untimely
* i was
untimely
* i am
untimely
* hmm
* brief delay
* inaccurate
* Adds the cloak to HoP's locker
* Adds the item to the cloak file.
* Updates the Neck files to include new sprites
* Updates the Cloak file to include new sprites
* Fixes timers being left around, Makes addtimer() sanic fast.
This adds a new flag, TIMER_STOPPABLE. Most(80%) of the overhead for addtimer() was in adding the timer to the associated lookup list for deltimer() to use. Moving that functionality to a flag so it wouldn't slow down the 70% of things calling timers puts the final nail in the coffin of byond's sleep/spawn().
spawn: 324 seconds across 5,948,372 calls
addtimer: 67 seconds across 5,953,220 calls
The testing setup for profiling was included in this commit, it will be removed in a later commit. @Fox-McCloud
* Remove profiling procs.
* fix runtime
luckly when this happened, we were about to resume anyways.
* Finally fixed the proximity runtime
Also fixed some misue of Move(d)s and destroys
* Fixed remove_from_proximity_list
* Fine, we'll do it your way
* Should sense/update loc here as well
* Assume deez nuts
* Fix a bug in forceMove
Don't call Exited/Entered if the loc is the same
* Added forced_movement
* Remove usages comment
Fixed a parameters bug
* Refactor slips
* Refactors meathook
* Negative check
* Shittier syntax, more performance
* Seperation of src and args
* Sanity check
Because you know someone will fuck it up
* X to Y is inclusive
* Bettter diagonals
* Remove unused var
* Better suggestion
* This was never used, why was it here?
* Arg prefixing...
* Better cleanup
* Do not touch the self managing var
* Cleanup
* More cleanup
* Missed 2
* Added callbacks
* Fix ice again
* Sanity checks
* Applied to larva/attack_hulk
* Fix the chain's usage
* LDFJAHDJKAGFHLJKDSAGHJKLSDAGBLKJADGFHKLJADGNLKAMDFNBJK:ANFDJKLADSNLSJKDFHNASFADSFLK:AJFL:KASJFKLASJF:LAJSF:LKJASKFMSALKF