Commit Graph

5022 Commits

Author SHA1 Message Date
Leshana 488c88b348 Added operating manual book for Tesla 2018-01-19 17:26: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
Neerti c960d733f4 Merge pull request #4567 from VOREStation/vplk-wikisearch
Allow greater customisation of wiki links
2018-01-18 19:47:10 -05:00
Arokha Sieyes 1de2689084 Changelog for borg huds 2018-01-18 13:16:04 -05:00
BillyBangles c44af58716 Adds communicator watch (take 2) (#4406)
* adds communicator watch

* adds commwatch to a loadout selection list

* adds changelog

just in case
2018-01-17 19:33:32 -06:00
Arokha Sieyes ff228754b3 Merge polaris sync 01 17 2018
Planes, layers, human/update_icon()
2018-01-17 17:56:51 -05:00
Leshana 6bc422ff5e Ported VOREStation/VOREStation#461 - Allow greater customisation of wiki links 2018-01-17 16:46:48 -05:00
Anewbe 829cd092c8 Merge pull request #4534 from Neerti/1/14/2018_autopilot_and_other_shuttle_stuff
Web Shuttle Update
2018-01-15 11:15:02 -06:00
Neerti 96d3d361d0 Adds Boats, Ports /TG/ Buckling (#4527)
* Adds Boats, Ports /TG/ Buckling

* Travis Appeasement

* Changelog
2018-01-14 14:58:15 -06:00
PrismaticGynoid 10b2cc7eef Multiple loadout slots (#4530)
* Multiple loadout slots

Ported from Bay. Each character can have 3 (number can be overridden by config) loadout slots. This way, you can have different outfits for different situations without needing to have a separate character slot or edit your loadout every time.

Tested here, works as intended. The current loadout is set as slot 1, so you don't need to worry about remaking it. This also ports the to_file and from_file macros to make it work, I'm assuming they could later be used elsewhere as well.

* Log of Changing
2018-01-14 14:47:47 -06:00
Neerti 4951dd5f08 Changelog 2018-01-14 14:26:08 -05:00
Neerti 20062a5fd2 Merge pull request #4528 from Atermonera/int_gps
Adds gps units to borgs
2018-01-14 11:53:09 -05:00
Atermonera 30352e1c9b "Communicators have a flashlight" (#4523) 2018-01-13 21:49:58 -06:00
Leshana 0e6f2fcb09 Make Singulo Stable Again (#4521)
* Make Singulo Stable Again

* Prevents emitter beam effects from being pulled by singulo.  Now watch them hit the field gens.
* Prevent singulo from consuming the PA particle effects.  It already gets fed by impact, don't try to eat them.
* Improve the Setup Singularity debug verb to do more better setup (including PA)
* Fix the energy dissipation values so that singularity does not just keep on growing even when setup properly.

* Enhance singularity proc/eat()

* Use `var/simulated` as a more generic way to ignore lighting overlays etc
* Remove redundant code in the rest of the proc body.
* Slight optimization: avoiding typecheck in loop over return from orange()
2018-01-13 21:43:32 -06:00
atermonera 511f0a344b Adds gps units to borgs 2018-01-12 19:57:06 -08:00
atermonera 7ae21cbb09 Updates changelog 2018-01-12 15:56:14 -08:00
atermonera b7f7f6868a Revert "Communicators have a flashlight"
This reverts commit 3db1efc5aa.
2018-01-12 15:24:15 -08:00
atermonera 3db1efc5aa Communicators have a flashlight 2018-01-12 15:19:02 -08:00
Leshana 28c193cbdb Merge remote-tracking branch 'refs/remotes/polaris-upstream/master' into polaris-sync-2018-01-04
# Conflicts:
#       code/game/objects/items/devices/communicator/communicator.dm
#       code/modules/client/preference_setup/occupation/occupation.dm
#       code/modules/mob/living/simple_animal/animals/cat.dm
#       code/modules/mob/mob_helpers.dm
#       code/unit_tests/zas_tests.dm
#       maps/southern_cross/southern_cross-1.dmm
#       maps/southern_cross/southern_cross-3.dmm
#       maps/southern_cross/southern_cross-6.dmm
#       vorestation.dme
2018-01-04 22:44:04 -05:00
Neerti 9ab7c0bf0c Merge pull request #4470 from VOREStation/vplk-ss-machines
Convert machinery controller to StonedMC subsystem
2018-01-02 23:21:47 -05:00
Neerti bbe5fda915 Merge pull request #4466 from Atermonera/Weatherapp
Adds a weather app to the communicator
2017-12-30 21:44:21 -05:00
Leshana a97a574278 Transformed the machinery processor into an StonedMC subsystem
* This is PHASE 1 of a multi-phase conversion.  In this first phase we implement the subsystem, but leave it processing the existing global list variables.  In the next phase we will switch to use datum variables in the subsystem.  The main reason for splitting into two phases is ease of code review; change the meaningful code without the hundreds of machines -> SSmachines.machinery substitutions.
* We did declare macros for adding/removing things to the processing lists, and convert everywhere to use the macros.
* Added var/is_processing to /datum to keep track of whether an instance is already in a processing list (prevents it being in the list twice!) and also debugging, making sure its not in two lists etc.
* NOTE: The global machines list is **no longer sorted** for performance reasons.  As far as I know, the only module that actually ever cared was cameras.   Our camera system already handles its own sorting in the cameranets anyway, so it should no longer be needed.
2017-12-29 15:31:59 -05:00
Atermonera 7870ee529c Adds a weather app to the communicator
Splits communicator.dm into multiple files
Also a few bits from my PDA->communicator project, should be commented out
2017-12-28 21:33:23 -08:00
Leshana 5ebcc92645 Port /tg garbage collection tweaks and statistics improvements
https://github.com/tgstation/tgstation/pull/30118 - Garbage collection tweaks and refactors.
https://github.com/tgstation/tgstation/pull/32022 - Find references fix.
2017-12-27 21:45:37 -05:00
Arokha Sieyes d998f36c38 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into sync2018
# Conflicts:
#	code/game/objects/structures/signs.dm
#	code/modules/mob/living/carbon/human/human.dm
#	code/modules/mob/living/carbon/human/species/station/station.dm
#	code/modules/mob/living/carbon/human/species/virtual_reality/avatar.dm
#	code/modules/mob/living/carbon/human/update_icons.dm
#	code/modules/organs/organ_icon.dm
#	maps/southern_cross/southern_cross-1.dmm
#	maps/southern_cross/southern_cross-3.dmm
#	maps/southern_cross/southern_cross-6.dmm
#	vorestation.dme
2017-12-26 23:07:58 -05:00
Neerti 522a3b5f98 Merge pull request #4456 from VOREStation/vplk-frames
Replaced bare numbers in frame construction with defined constants.
2017-12-26 22:37:33 -05:00
Atermonera c8f6ef9e9f Merge branch 'master' into VR_Avatar 2017-12-24 15:50:21 -08:00
Atermonera 34dd521fb8 VR mobs can toggle opaque/translucent appearance 2017-12-24 15:42:13 -08:00
Leshana 8a8e51bec4 Replaced bare numbers in frame construction with defined constants.
Also examine() frames shows the circuit that is installed.
2017-12-24 17:53:58 -05:00
killer653 3a2093ef40 Polaris sync 2017-12-21 04:01:07 -05:00
Anewbe 8e51d6d9a0 Merge pull request #4424 from PrismaticGynoid/crawl
Crawling
2017-12-11 00:46:16 -06:00
PrismaticGynoid 1642ce2558 Crawling
Mobs now have the ability to "crawl" to an adjacent turf by click-dragging themselves to it. This would allow people unable to stand to still move around, though very slowly. You could also do this to other movable mobs or objects, if you really wanted to.

Moving this way takes about 2.5 seconds, plus half a second for each point of weakness you have. For a person missing a leg, this would take 5 seconds. It only works if the mob doing this is alive, conscious, unrestrained, not stunned or paralyzed, and in an area with gravity - no crawling through space.

Mobs lying on the ground - again, with similar restrictions - are now able to buckle themselves to chairs or beds. For people missing legs or feet, this means no more being stuck helpless on the ground forever because Baldie McGreytide clicked on your wheelchair.

Tested in many different situations, and I've patched every bug that popped up.
2017-12-08 10:26:06 -08:00
Belsima c9d53f5aa4 Maint drones may now ventcrawl. (#4394)
* Maint drones may now ventcrawl.

* Drones can now have any items they want in vents. No stowing needed.
2017-12-05 23:49:10 -06:00
MagmaRam 53fd268250 Changelog update 2017-11-29 21:13:22 -06:00
Anewbe dcd513dc9b Changelog 2017-11-26 19:45:34 -06:00
PrismaticGynoid c15f908dde Increases maximum stored camera locations
This increases the number of stored camera locations the AI can have at one time, from 10 to 30. This is mostly a quality-of-life update in preparation for the new map, as its multiple floors make navigating around the station as the AI more difficult.
2017-11-20 12:22:22 -08:00
killer653 da0bf3743b Polaris sync 2017-11-17 19:27:03 -05:00
Anewbe ff9a191135 Merge pull request #4265 from Atermonera/conscious_strip
MouseDrop checks incapacitated() before giving inventory access
2017-11-15 12:36:16 -06:00
Atermonera ee8f3ffbce MouseDrop checks incapacitated() before giving inventory access 2017-11-13 23:46:11 -08:00
Atermonera bb985c5d16 AI verbs are no longer hidden 2017-11-13 17:30:03 -08:00
killer653 70e53b96bb Polaris Sync 2017-11-10 11:37:41 -05:00
Anewbe 1b6a4597e7 Merge pull request #4246 from MarinaGryphon/IE-Fixes
Integrated Electronics fixes.
2017-11-09 21:22:35 -06:00
Marina Gryphon 1b166e2fa6 Adds a changelog. 2017-11-08 09:44:28 -06:00
MagmaRam 3a6967c317 Changelog update 2017-11-06 17:06:03 -06:00
Anewbe c79cca6686 Merge pull request #4219 from Atermonera/AI_langs
Ai langs
2017-11-05 19:58:28 -06:00
Atermonera 924d71e9b1 Updates changelog, including the one for VR I didn't submit 2017-11-04 21:04:39 -07:00
killer653 1bb71ef429 Polaris Sync 2017-10-16 22:16:24 -04:00
Woodratt 0f6d0a9e4f Porting see down through open spaces
Ported 'see-down' open spaces from Vore, who ported it from Eris

Ported talking and visible messages traveling upwards through open spaces

Tested, seems to work? Does not seem to break anything, maybe.

Maybe made a changelog.
2017-10-09 22:05:20 -07:00
Cameron Lennox 15a6472d14 Pol Sync 2017-10-08 17:44:25 -04:00
Anewbe 0de6cddef5 Activates Neerti's Lawbook 2017-10-03 22:29:50 -05:00