* Adds a check to ensure that the lastassailant weakref isn't also being used by a hostile mob for its friends list, preventing mobs from forgetting their friends.
* Replaces lastassailant weakref deletion with setting to null
Fixes bugs caused by the lastassailant weakref getting deleted, which would break any other objects that were using that weakref.
* Makes LAssailant a weakref
* Makes LAssailant a weakref
* Makes LAssailant a weakref
* Makes LAssailant a weakref
* cleans up comments
* cleans up comments
* cleanup
* cleanup
* cleans up this comment now for anyone who could re-enable
* more like old syntax
* better var name
---------
Co-authored-by: SECBATON-GRIFFON <>
* Faster object initialisations
* Faster station alert computers
* Removes sleeps in this too, now shaving another 3 seconds off
* Entered
* These work just fine as spawns instead of sleeps, no delays
* Changing this threshold, not much stuff shows up anymore taking longer than 1 tick
* Some logging
* Makes vaults load much faster
* Better like this
* Makes lightspeed ship load much faster
Co-authored-by: kanef <kanef9x@protonmail.com>
* Ports the Paradise error handler.
Made by @Krausus
Initial code port, it compiles!
* It now looks cool!
All kinds of fancy CSS and HTML things.
* Stuff
Fixes Comic's comments.
Ports some more changes from Paradise.
The src from the machinery process is NOT included. I consider stack
traces more valuable.
fixes#3196.
- Fixes welder fuel being spread/created on space turfs.
- Added missing `src = null` statements in some reagent reactions.
- Removed duplicate virus food recipe and fixed the current one.
The new recipe apparently was from some virology rework and
conflicted with the old one. The current recipe has been tweaked
to match the wiki: 5u milk + 5u water gives 15u virus food.
- Moved transfer/splash code to the reagent_container/transfer() proc.
No more copypasted code everywhere, hopefully.
- Fixed some (pills, holy water bottle, drink glasses, shakers...)
`reagent_containers` being able to transfer contents at a distance.
- Added a `return 1` in some `attackby()` to avoid having them call
`afterattack()`. Reduces amount of snowflake code and kills ninjacode
in `reagent_containers`.
- Added helper procs to log game events/reagent transfers.
- Removed copypasted code from spray/chemsprayer and syringe code
and refactored it a bit.
- Fixed trans_to() not handling blood transfers correctly.
- Less painful copypasted logging code.
- Why am I even alive
- Modernized things, removed more snowflake.
- Welder fuel and flamethrower decals are now pooled.
- `transfer_sub` now typechecks properly
- `splash_sub` now handles correctly and gives a message when
splashing something with `amount = 0` or without reagents
- Added `is_empty()` proc to `/datum/reagents`
- Added `animate_movement` to the pooler's ignore list to fix
a bug where pooled objects would get that var reset to 0
instead of their overriden value for some reason.
>Replaced dd_text2list, dd_text2listcase, tg_text2listcase and tg_text2list with text2list and text2listEx. text2list will return a list of each and every character in the string if you set separator=""
>added return_file_text(filepath) which returns text from a file after doing some checks: does the file exist? is the file empty? It prints helpful error messages to the world.log if it runs into problems
>Replaced dd_file2list(filepath, seperator) with file2list(filepath, seperator). It just calls text2list(return_file_text(filepath), seperator). rather than copypasta
>Replaced time_stamp() so it's not as retarded
>Lots of the world setup stuff uses file2list now, rather than file2text -> sanity -> text2list
>Added error() warning() testing() procs. These print messages to world.log with a prefix. e.g. ## ERROR: msg.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4948 316c924e-a436-60f5-8080-3fe189b3f50e