Commit Graph

58 Commits

Author SHA1 Message Date
Joan Lung
b5b4037e2e More istypes replaced with helpers (#20767)
* shouldn't you be merging these by now

* my oh my do we have a lot of these

* a fellow pedantic shit
2016-10-03 13:40:13 +13:00
Joan Lung
dff4db726a Replaces a bunch of istypes with their proper macros (#20739)
* Replaces a bunch of istypes with their proper macros

* i'm not sure doing a 100+ file changed pr on a whim is something you do when bored
especially if you do it by hand because you never actually learned the regex that would let you automate it

* i'm just... gonna do this, because that check was true a lot and it shouldn't matter
2016-09-30 20:21:08 +02:00
phil235
6809603669 Changes obj/effect/blob,spider,swarmer,energy_net,spacevines to be ob/structures instead, since you can hit and destroy them.
Adds a large ash and large molten item decal (for future use)
simplifies decal/cleanable/replace_decal() code a bit.
Changes construction() proc to on_construction() for consistency, same for deconstruction().
Made a deconstruct() proc for machinery and computer (also for future use).
2016-09-27 19:58:27 +02:00
Kyle Spier-Swenson
f71dc2c9a3 Orbits are now a subsystem (#20632)
* Sleepless perfect orbits #MOGA
We bind to Moved() and use datums and lists to track the orbits, no more sleeps, no more delay.

* Adds some null checks to orbit checks

* Forget to set orbiting.
Also sets orbiters before orbiting, to avoid edge cases of deleting a list then recreating it.

* Improves orbit, adds subsystem for orbits.
Most orbit loc changes will happen on move, subsystem runs every 2 ticks to make up for when that isn't the case.
2016-09-24 19:52:49 +12:00
Cyberboss
1a3a9135c2 Disconnected tesla arc power fix 2016-09-19 13:01:00 -04:00
kevinz000
177045c980 [Ready]Electrical Chemistry (Tesla grenades) (#20448)
Teslium is now easier to make, and as with most electronics, no longer mixes with water.

tesla_act and tesla_zap both now have arguments to specify whether they explode machinery. By default only the tesla engine will explode machinery. This means that Tesla Revolvers will no longer cause a large area to implode if there is no one nearby the target of it to shock. This also means that tesla-grill bolts will no longer blow things up.
2016-09-15 12:59:23 +12:00
Joan Lung
fbe2430ff8 Moves all beam icon states to beams.dmi 2016-09-10 13:09:44 -04:00
PKPenguin321
afa17a66bd blacklists lattices from the tesla 2016-08-29 21:11:03 -07:00
PKPenguin321
438d8d8047 a few tweaks
- makes tesla bomb immune so it wont destroy itself
- makes lights spew fire when they explode instead of the regular explosion
- makes cameras with EMP immunity also have tesla immunity
tesla can now keep itself fully contained (at least on box)
2016-08-24 19:23:18 -07:00
Jack Edge
3cc86a7534 Tesla now dusts people on tile it jumps to
🆑 coiax
fix: The tesla now dusts all carbon mobs on the turf that it moves to,
grounding rod or no.
/🆑

- Also made the miniball spawn a timer.
2016-07-05 17:54:09 +01:00
Remie Richards
fda2c699fc Automatic conversion via Regex 2016-06-11 18:37:48 +01:00
Razharas
9fdae2fe4e Merge pull request #17576 from LatD/Research
[Ready for test/merge] R&D level remake
2016-06-02 18:41:43 +03:00
Remie Richards
82a20cc6a1 Splits typecache optimisations out of is_type_in_list(), and into their own proc, is_type_in_typecache()
Adds typecacheof(), a proc to make making typecaches easier
The TESLA now uses typecaches since it benefited greatly from the optimisations
2016-05-31 01:13:47 +01:00
LatD
907fc36e5c Merge remote-tracking branch 'refs/remotes/tgstation/master' into Research 2016-05-24 22:17:44 +03:00
LatD
6e6474ee9e Imprinter origin and req lvls 2016-05-22 23:46:05 +03:00
Kyle Spier-Swenson
5e7e773681 Makes it actually see the further away grounding rods. 2016-05-14 17:50:29 -07:00
Kyle Spier-Swenson
f3eb0c6106 src vs target 2016-05-13 09:56:44 -07:00
Kyle Spier-Swenson
c72451def4 Tesla rebalance
Dissipate nerfed, only dissipates every 5 process() ticks (but takes off double)
Required growing energy's exponential growth dropped from 50% of current energy to 25% of current energy.
When shooting out shorter ranged zaps from the orbiting balls, it nerfs their power proportionally.
Grounding rods are seen as being 2 tiles closer than they are to increase their likelihood of being chosen.
2016-05-13 09:53:46 -07:00
Core0verload
a66c2f4418 Machine/computer boards and frames refactor (#17300)
* Map Changes

* Machine/console boards and frames refactor

* More board changes
2016-05-08 12:11:18 +02:00
phil235
0caa59b21a First commit of this big PR
These are the files with just tiny tweaks. Mostly modify an object's attackby so it does "return ..()" instead of "..()".
If there are other things in this commit, the PR's description will explain them.
2016-04-24 20:26:24 +02:00
bawhoppen
16b7a1c8e4 goddamnit goof 2016-04-14 03:43:20 -05:00
Lularian
2aad6e1152 signs no longer affected by tesla 2016-04-14 02:08:29 -05:00
AnturK
2a327b1b7b Merge pull request #16188 from Robustin/zap
Singularity beacon now attracts the Tesla Ball
2016-03-22 19:18:45 +01:00
Robustin
b1fbd3a0b6 Update energy_ball.dm 2016-03-18 16:46:41 -04:00
Robustin
a152febb5a Update energy_ball.dm 2016-03-18 16:30:19 -04:00
Nerd Lord
c02c647a89 i'm not even sure what this does tbhtbthbthtbthtbhthtbthtbthtbthtbthtbththbthbthtbh 2016-03-08 20:42:11 -05:00
Nerd Lord
1424548e14 The blob can now be shocked by the tesla
Strong blobs are now much more resistant to brute damage. Don't even bother hitting them with a wrench.

Tweaks blob reagents;
Removes Ripping Tendrils and Draining Spikes
Sporing Pods now does much less damage, and is less likely to produce spores when killed
Replicating Foam now takes increased brute damage and when expanding from damage, will not expand again
Energized Fibers no longer heals when hit with stamina damage, and is instead immune to the tesla
Boiling Oil takes damage from extinguisher blasts. Its blobbernauts, however, do not
Flammable Goo takes 50% increased burn damage
Regenerative Materia, Hallucinogenic Nectar, and Envenomed Filaments each do less toxin damage
Poisonous Strands applies its damage over a longer period of time
Explosive Lattice now takes much higher damage from fire, flashbangs, and the tesla
Reactive Gelatin now has a lower minimum damage
Electromagnetic Web takes full brute damage, lasers will now one-hit normal blobs, and the death EMP is smaller
Cryogenic Liquid does less burn damage
Pressurized Slime does less brute damage
2016-03-08 20:27:57 -05:00
Cheridan
5b38a76e22 Merge pull request #15962 from Iamgoofball/patch-1
You can now hear the tesla from 4 screens away.
2016-03-08 12:35:54 -06:00
Iamgoofball
b64836d27d You can now hear the tesla from 4 screens away.
If you still don't have warning that the tesla is loose after this, consider investing in speakers or a headset.
2016-03-07 08:54:19 -08:00
Kyle Spier-Swenson
f3870e93a2 de-nerfs the tesla slightly 2016-03-06 12:09:48 -08:00
AnturK
422b55d2f9 Fixes tesla southern tendency. 2016-02-17 22:52:10 +01:00
Kyle Spier-Swenson
7dc5c2b684 Fixes the tesla going nuts if deleted at the wrong moment. 2016-02-12 18:49:38 -08:00
MrStonedOne
eef4f4d534 Optimizes tesla_zap, adds fuel tank tesla_act, misc tesla changes 2016-02-07 17:34:52 -08:00
Kyle Spier-Swenson
22d408fd4b readds type checking to get_cloest_atom as apparently there are plans for that 2016-01-26 22:17:24 -08:00
Kyle Spier-Swenson
dd48ad1650 Cleans up tesla code 2016-01-26 22:08:47 -08:00
Kyle Spier-Swenson
b872a53893 Tesla now favors moving in the direction of what it last zapped 2016-01-25 23:16:24 -08:00
Kyle Spier-Swenson
8877b68999 Coils now use the new faster way of processing a tesla zap 2016-01-25 20:03:20 -08:00
Kyle Spier-Swenson
8db54da28f lowers energy drain once more. 2016-01-25 19:38:39 -08:00
Kyle Spier-Swenson
9961966ab4 tweaks energy loss 2016-01-24 13:13:25 -08:00
Kyle Spier-Swenson
9fc02e0c9a Update energy_ball.dm 2016-01-22 20:52:24 -08:00
Kyle Spier-Swenson
464315b50c Update energy_ball.dm 2016-01-22 18:07:24 -08:00
Kyle Spier-Swenson
3e36a708a9 Fixes the tesla being shit
Fixes #14786

Muti-bolt is back, but the other ones don't go out as far and spread out more randomly

Power given has been cut down massively.

Ball expansion is now exponential.

Tesla now actually consumes energy and shrinks, causing the ball count to lower.

Fixes it repeatedly resetting shifting it pixel x/y causing flicks of the tesla ball apperenting 1 tile to the lowerleft

Fixes it growing even if it wasn't powered by a pr

Fixes #14786
2016-01-22 14:06:36 -08:00
Buggy123
52879ba052 Fixes energy ball Destroy() 2016-01-16 19:00:39 -05:00
Buggy123
65367a01b3 I'm a idiot. 2016-01-10 01:39:39 -05:00
Buggy123
135886dcef Tesla can no longer zap the gateway 2016-01-10 01:25:25 -05:00
Cheridan
1e516a68c7 Merge pull request #14347 from Iamgoofball/patch-143
Tesla Nerf (shh dont tell aran)
2016-01-06 12:22:05 -06:00
Iamgoofball
51de33e3c4 haha whoops 2016-01-03 10:24:03 -08:00
Iamgoofball
d6a3fb42e2 Tesla nerf
It no longer bounces shocks nearly as far.
2016-01-03 10:23:24 -08:00
MrStonedOne
b50e8d2a63 removes a bunch of unneeded spawns
spawns have a high overhead.

I only went for easy targets, almost every spawn could be removed with a few subsystems in place to handle delays or cooldowns
2016-01-02 18:23:02 -08:00
KorPhaeron
034842b901 Fixes tesla 2015-12-29 13:16:33 -06:00