Commit Graph

16 Commits

Author SHA1 Message Date
Meghan-Rossi
3c0fd9d6d7 Make the tesla ball eventually run out of energy (#7703)
Currently the tesla ball only loses energy until it runs out of orbiting mini-balls, then sticks around forever.  This makes it keep losing energy until it dissipates.
2020-10-15 02:41:34 -07:00
Cyantime
a4ffac748b no escape from electric fate (#7702) 2020-10-15 02:40:06 -07:00
Cyantime
34a985b983 Observe improvements 2020-06-03 08:00:49 -04:00
Aronai Sieyes
ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai Sieyes
6c6644f86c Rewrite examine() to pass a list around (#7038) 2020-04-29 13:42:16 -07:00
Neerti
6898823361 Fixes various lightning strike bugs. 2020-02-25 21:49:38 -05:00
Heroman3003
baf740ea0d Fixes tesla logic bug 2019-04-10 11:53:52 +10:00
kevinz000
61561ade31 Clamp replace 2019-01-12 05:51:08 -08:00
kevinz000
c2c688c4c8 caps 2018-12-06 18:34:37 -08:00
Neerti
c25e94938e Buildmode enhancement and removes simple_animal for real this time. 2018-10-24 06:49:41 -04:00
Neerti
df16611a3a Does some AI work. 2018-10-14 01:50:54 -04:00
Arokha Sieyes
102041b2b6 POLARIS: Log more engine info 2018-03-13 18:57:52 -04:00
Leshana
364c0253dc Tweak Tesla Grounding Rods
Grounding rods that are anchored can be struck two turfs farther away than unanchored.  This makes it possible to leapfrog towards a tesla because an unanchored one can be protected in the "shadow" of the anchored one.
2018-02-22 15:32:31 -05:00
Cyantime
2cf7149607 Makes containment fields and tesla bolts bypass gloves 2018-02-04 02:22:35 -05:00
Leshana
c8929d5bdb Add checks to allow Tesla to fully dissipate once it runs out of energy. 2018-01-21 22:48:45 -05:00
Leshana
db0ba60f64 Implements the Tesla engine and supporting features (#4539)
* Adds "typecache" utility functions. A fast way to filter lists by type.

Ported from TG

* Ports the "orbit" feature and subsystem from TG

* Adds a feature that allows mobs and objs to "orbit" around some atom.  They literally are moved around in circles.  See the `orbit` proc in orbit.dm.
* Adds a subsystem that processes the actual movement of orbiting items.

* Adds utility methods for common machinery behavior.

* Adds default_unfasten_wrench which handles the standard anchor/unanchor behavior of wrenches being used on machines.  Together with the other default_x_tool machinery procs we can eliminate having that code duplicated in dozens of places!
* Adds is_wire_tool proc to easily detect when a machine is hit with a tool that should open its wires UI (if it has one).

Based on ideas from Paradise, with improvements for us.

* Implements the Tesla Engine

Ported from a mixture of TG and Paradise code and assets: Edison's Bane

Includes the tesla energy ball itself, the generator that makes it, tesla coils, grounding rods, the circuits and frames to build them.

* Switch dusting to zapping on impact and spin better

Ported /tg SpinAnimation which supports more than triangles.
2018-01-19 14:56:08 -06:00