Commit Graph

8958 Commits

Author SHA1 Message Date
Core0verload 321ddb76e3 You can now buckle handcuffed people to singularity/tesla generator (#22767)
* You can now buckle handcuffed people to singularity/tesla generator

* Adds buckling to tesla coil and grounding rod, minor fixes.

* Makes buckling code shorter
2017-01-23 09:44:49 +01:00
Cyberboss 5959ac32cc Refactors atom/Initialize. Fixes ruins being initialized twice (#22778)
* 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
2017-01-23 09:37:45 +01:00
Joan Lung 9796779ea1 Volt Void is now a more useful scripture (#22897)
* Fixes targetted clockcult scripture not logging

* easy

* volt void

* big damage

* i knew
untimely

* i was
untimely

* i am
untimely

* hmm

* brief delay

* inaccurate
2017-01-23 08:06:57 +04:00
Kyle Spier-Swenson 12570805bd Closes the Pool. (#23150)
* Delete pool.dm

* Removes usage of PoolOrNew

* Wrap up
2017-01-22 16:00:23 -05:00
AnturK dd063e07a9 Spirit board fixes (#23128)
* Fixes #18040

* Fixup
2017-01-22 15:45:04 -05:00
TribeOfBeavers 6a0b9a917f Adds a cloak for the HoP. (#23198)
* 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
2017-01-22 01:54:42 -05:00
Joan Lung 3320f12f01 Merge pull request #23173 from Cyberboss/patch-16
You can no longer meatspike bots and silicons
2017-01-21 23:42:38 -05:00
Joan Lung 5de5ada0cd Proselytizers can now convert lattices (#23146) 2017-01-21 19:06:24 -05:00
coiax 36c1042939 Ash is in bigger piles if the object was bigger (#23085)
It also doesn't erase the previous description.
2017-01-21 18:57:40 -05:00
jughu 39c0c0c5ee Gives the janitor a bucket of paint remover (#22619)
* Update job_closets.dm

* moved it dooown
2017-01-21 15:43:02 -05:00
Cyberboss 1da1ca91c7 You can no longer meatspike bots and silicons 2017-01-20 10:54:00 -05:00
Kyle Spier-Swenson c341178ff4 Fixes bug with addtimer keeping old timers around, makes addtimer even faster. (#23126)
* 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.
2017-01-20 09:31:50 +01:00
Joan Lung c13e18a72b Merge pull request #23115 from PKPenguin321/patch-5
fixes rotating chairs not updating their layer
2017-01-19 17:54:00 -05:00
Joan Lung 3578b5801a Clockwork fulltile windows actually work like fulltile windows (#23091) 2017-01-18 18:44:45 -05:00
PKPenguin321 1979d46e04 parent call 2017-01-18 13:03:48 -08:00
Cheridan b47ec35ee9 Merge pull request #23068 from kevinz000/patch-34
Fixes lollipops triggering weldertank explosions
2017-01-18 14:14:36 -06:00
PKPenguin321 92c9705863 fixes rotating chairs not updating their layer
ugh
2017-01-18 12:08:21 -08:00
Joan Lung 8cbbceb120 Merge pull request #23079 from XDTM/PostPoster
Makes posters fall down if they fail the do_after
2017-01-18 14:59:16 -05:00
Joan Lung 2248004a0f Merge pull request #23081 from Cyberboss/patch-6
Makes effects immune to spacewind
2017-01-18 14:59:04 -05:00
coiax b0cee498c4 Ladders give the user a message if they're broken (#23063)
Now it's clear when a ladder is just set up incorrectly. Even though
they're super old fashioned and only used for admin memes and whatnot.
2017-01-18 12:13:01 -05:00
Joan Lung 27a54d16ff Merge pull request #23051 from Core0verload/defib_fix
Fixes defibrillators
2017-01-17 18:42:57 -05:00
Cyberboss 0aaa975e9a Makes effects immune to spacewind 2017-01-17 14:50:12 -05:00
XDTM 2e26af1142 Makes posters fall down if they fail the do_after 2017-01-17 20:31:07 +01:00
kevinz000 08fe5ee84b Update robot_items.dm 2017-01-16 19:59:34 -08:00
Cheridan d5f961402c Merge pull request #23037 from ChangelingRain/clockworklattice
Ratvar will now convert lattices and catwalks to clockwork versions
2017-01-16 13:07:48 -06:00
PKPenguin321 c7a319c011 fixes chairs not updating their layer (#23029)
didnt realize these overrode post_buckle_mob, my bad
2017-01-16 13:19:45 -05:00
c0 4989e12b45 Fixes defibs 2017-01-16 11:47:18 +03:00
oranges 3ac94a85cc Merge pull request #22994 from XDTM/ChameleonPdaNowUseful
PDA can update their name when an agent id is inside
2017-01-16 20:58:54 +13:00
Joan Lung 062b5c4013 clockwork catwalks 2017-01-15 14:53:01 -05:00
Joan Lung 3f0009b12e Ratvar will now convert lattices to clockwork lattices 2017-01-15 11:45:45 -05:00
Cyberboss 4636e14923 Removes dupe armor initialization 2017-01-13 18:18:20 -05:00
kevinz000 646bb99b99 Lessens spray can spam (#22970)
* Update crayons.dm

* Update crayons.dm
2017-01-14 11:55:35 +13:00
oranges ddb4b89619 Merge pull request #22968 from XDTM/LargeSlime
Fixes large grenade interaction with slime cores
2017-01-14 11:55:10 +13:00
oranges 7aad3f096e Merge pull request #22956 from PKPenguin321/patch-9
refactors chair layer updates (kills tactical chairs)
2017-01-14 11:53:35 +13:00
Cyberboss 326bdfd76b Finally fixed the proximity runtime (#22950)
* 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
2017-01-14 11:52:07 +13:00
oranges 08f830c416 Merge pull request #22946 from coiax/pyro-slimes
Fixes pyroclastic anomaly slime colour
2017-01-14 11:50:57 +13:00
oranges e9605df7cf Merge pull request #22939 from Cyberboss/FlashFix
Fixes explosion flashes
2017-01-14 11:50:32 +13:00
johnthedonut c5d9bb4588 Fixes wetting a mop with a bucket so it wont clean the tile you are standing on. 2017-01-13 22:16:51 +01:00
XDTM 9dd8ff7934 Fixes extinguisher violence (#22928) 2017-01-13 22:14:27 +01:00
XDTM 30bfe13f81 Makes agent ids change name 2017-01-13 22:10:52 +01:00
Thunder12345 d56b3f469c Shield overlays from shielded hardsuits and nullrod staffs (#22940) 2017-01-12 15:09:25 -05:00
XDTM e8e7af2fc8 Fixes bad message (#22966) 2017-01-12 15:05:02 -05:00
XDTM 44bc3b6cf5 Fixes large grenade interaction with slime cores 2017-01-12 12:25:05 +01:00
Cyberboss de454f5a35 The real slips rewrite (#22490)
* 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
2017-01-12 13:57:23 +13:00
oranges f4e325e5ed Merge pull request #22765 from Mervill/the_kilt_is_now_op
Hardsuits, amour and other suits that cover the feet now protect against glass shards
2017-01-12 13:54:32 +13:00
XDTM 64e4994fea Fixes material amount (#22954) 2017-01-11 19:51:13 -05:00
kevinz000 0601f1f0f6 Update twohanded.dm (#22904) 2017-01-11 19:49:42 -05:00
PKPenguin321 c7c79dd194 removes accidental tab 2017-01-11 14:50:48 -08:00
PKPenguin321 6bd355b9ca refactors chair layer updates 2017-01-11 14:48:53 -08:00
Jack Edge 9755818614 Fixes pyroclastic anomaly slime colour
The pyro anomaly was setting the color of the slime incorrectly, meaning
it had a red or orange color but had the wrong name (and probably core
type).
2017-01-11 19:44:25 +00:00