Commit Graph

196 Commits

Author SHA1 Message Date
coiax 8e20aa3f7b Refactors shuttles to be loaded in, rather than be on the station maps (#33766)
* Refactors shuttles to be loaded in, rather than be on the station maps

- Shuttles are now loaded in by the shuttle subsystem.

You configure what shuttles are loaded in via
`/obj/configuration/shuttle_load` objects.

* Box arrivals shuttle is now imported from template

* Moves things out of the #ifdef

* Box emergency shuttle is now imported

* Box emergency shuttle is now templated

* Box ferry and whiteship now load from template

* More shuttles on Box done

* Apart from the pods, Box is now completely templated

* Delta now has all non-awkward shuttles loaded in

And Centcom..

* Removes no ops turfs, more error messages

* Fixes slightly chopped off external wall

* Massaging more shuttles into working correctly

* Debug messages are king

* Delta cargo shuttle now docks again

* First pass of Metastation shuttles

* Omegastation first pass

* Metastation now has its own shuttle

* Did most shuttles on Pubby

* Turns out Pubby arrival shuttle is slightly smaller than Box arrival

* Whoops, missed a stationary port

* TGMified the pubby arrival shuttle

* First pass, box is working

* All stations now have roundstart_template and no configuration objects

* Removes roundstart_move

* Why do we even have these unused keys

* Remove unused coded vars

* removes some excessive safety checks

* Missed some Centcom cargo dock stuff

* Got it working again

* That thing that Cyberboss wanted

* Noop turfs the shuttle templates

* And template noop for the area

* Attempts to assuage travis

* Warning!

* Please love me, Travis

* RIP Remie
2018-01-25 15:18:15 -05:00
MoreRobustThanYou 5bc77ea0bc Shuttles will now throw you when taking off
🆑 SPACE CONDUCTOR
tweak: Shuttles will throw you around if ya don't buckle in
/🆑
2018-01-25 09:15:10 +13:00
Emmett Gaines c206c0cc68 lets check_dock be silent (#34614) 2018-01-21 19:34:17 +01:00
Tad Hardesty f2dbe5cf13 Replace explicit z-level checks with defines (#33829)
* Replace explicit z-level checks with defines

* Rename turf_z_is_planet for consistency

* Use TRUE/FALSE in onSyndieBase
2017-12-29 14:40:06 -05:00
Emmett Gaines 4595c46dca turns the baseturf var into a part time list (#33705) 2017-12-25 20:10:08 -05:00
Emmett Gaines ca603a6db4 a new file for dock and its new fractured existence (#33627) 2017-12-18 21:24:48 -06:00
Emmett Gaines 25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -05:00
Cruix ac1fbcc858 Fixed several bad type checks in shuttle procs (#33497) 2017-12-13 22:08:30 -05:00
Jordan Brown f91c577863 Merge pull request #33457 from ninjanomnom/check-your-tick
Check ticks some more in dock()
2017-12-12 13:58:03 -05:00
ninjanomnom bef7ed41d3 nothing happened 2017-12-11 13:06:34 -05:00
ninjanomnom 9462eb18d8 check tick before onMove 2017-12-11 05:48:40 -05:00
Emmett Gaines 7848d73acc minor improvements (#33424) 2017-12-10 18:44:00 -05:00
Cruix 05d7402bad Allowed shuttle docking ports to be hidden from some shuttle docking computers (#33148)
Added a delay to the white ship shuttle docking computer designating a landing spot
2017-12-11 09:22:48 +13:00
ninjanomnom 327727f70c allows for qdel in shuttleMove procs 2017-12-07 22:37:30 -05:00
ninjanomnom 761c02ba45 old turf in afterShuttleMove 2017-12-05 16:00:16 -05:00
Emmett Gaines 17180f1f0e custom docker improvements (#32626) 2017-11-24 12:44:12 +01:00
Emmett Gaines 7c69cdcb8a Revert math (#33059)
* Revert "all this wrapping and it's not even christmas (#33035)"

This reverts commit faaf151580.

* Revert "fuck me for forgetting to graph this one"

This reverts commit 45d7acea2f.

* Revert "defines math"

This reverts commit 2817a1737b.
2017-11-23 20:59:52 -05:00
ninjanomnom 2817a1737b defines math 2017-11-22 17:36:58 -05:00
ShizCalev 12b8daa02b Fixes incorrect to_chat usage 2017-11-18 23:09:10 -05:00
Emmett Gaines 3934a84249 fixes shuttle parallax again (#32350) 2017-11-03 16:22:48 -04:00
oranges 2bd56ab358 Merge pull request #32269 from ninjanomnom/cargo-shuttle-moblock
Makes enterTransit check canMove and sets mode to idle
2017-11-02 09:51:45 +13:00
Emmett Gaines 4d420b8975 Shuttle rotation refactor and significant performance upgrade (#31942)
* Shuttle rotation refactor

* cleanup

* fixes the air leak bug

* Updates the turf decal component and cleans up some code

* transfercomponents and some list optimization

* Makes turf_decals cleanable in theory

* review cleanup

* final cleanup: decals work
2017-10-31 21:23:17 -04:00
ninjanomnom dc359635ca Makes enterTransit check canMove and sets mode to idle 2017-10-30 17:54:08 -04:00
Emmett Gaines 13ab4f55d9 Next round of shuttle fixes at the cost of a small piece of my sanity (#31784)
* shuttle bugs begone

* cleanup
2017-10-17 19:00:10 +02:00
Cruix 8d4a9b832e Fixed the shuttle navigation computer allowing you to move docking ports (#31721)
* Fixed the shuttle navigation computer allowing you to move stationary docking ports

* Moved a var from stationary docking ports to mobile docking ports

* Removed a sanity check
2017-10-16 22:01:01 -06:00
AnturK a001f58480 _1 2017-10-12 08:08:10 +02:00
AnturK 1df4082525 Fixes ruins spawning over shuttle docks 2017-10-11 22:46:50 +02:00
ninjanomnom df54e07ff7 only moving turfs gib/destroy things 2017-10-08 08:30:12 -04:00
Firecage ee3e8d2846 merge conflict fix 2017-10-05 11:22:57 +02:00
Firecage 2ae0380fef Does some code standardization/consistency 2017-10-05 11:13:47 +02:00
Emmett Gaines e16fd1b151 Makes shuttle movement a bit smoother and faster (#31255)
* uses CHECK_TICK where it's acceptable

* cleanup
2017-10-05 09:30:32 +02:00
Emmett Gaines 6573100acf fixes shuttles creating duplicate area types (#31008) 2017-09-26 14:25:52 +02:00
Jordan Brown 512889e5c3 Merge pull request #30697 2017-09-14 12:25:09 -04:00
Emmett Gaines 67e284cd4f multi-tile object fix (#30674) 2017-09-14 09:19:20 +02:00
ninjanomnom 9f0b6c7073 fixes transit parallax 2017-09-13 13:10:43 -04:00
KorPhaeron 10a3238fd6 Makes the station Z level into a list instead of a single define (#30297)
* Makes Station Z Levels a global list

* Things didnt get committed

* Define

* Removes files

* Fix mind.dm

* Wrong list name

* (

* Fixes rev checks and signpost

* Makes it actually compile

* Signpost fix

* I hate these sign posts

* Never use the web editor
2017-09-11 13:39:52 -04:00
AnturK e5fc9b1e94 Fixes shuttle name on ramming. 2017-09-06 10:36:23 +02:00
Jordan Brown 63593226be Changes shuttle port direction var from an angle to a dir (#30167)
* Converts port_angle to port_direction

* Remove old ass comment
2017-09-05 09:41:28 -05:00
AnturK 99a421491f Fixes BYOS (#30356)
* Fixes BYOS

* Uses defines on dock checks.
2017-09-03 11:46:11 -03:00
ninjanomnom 477bc11aa2 Removes the double loop 2017-08-28 16:31:16 -04:00
Cruix 3274ad4f12 The syndicate shuttle can now fly anywhere on the station z-level (#29909)
* Updated advanced camera consoles to be more generic

* Renamed /obj/machinery/computer/camera_advanced/proc/EjectUser() to /obj/machinery/computer/camera_advanced/remove_eye_control()

* Added shuttle nagivation computers

* Added the syndicate shuttle computer to maps
Fixed missing icons
Fixed compile error

* Made jumpto_ports use hashset behavior

* Added qdeleted checks
2017-08-22 10:36:43 +12:00
Emmett Gaines 03eca85d6f Slight on_move.dm rewrite (#30020)
* Minor on_move.dm rewrite

Makes it easier to implement new args
Makes stationary docks move as intended
Some cleanup

* Removes the defines
2017-08-22 09:37:07 +12:00
Ian Turk 7460f2c5b8 Replaced flags with flags_1 2017-08-16 13:01:15 -06:00
shizcalev 22764665c9 CentCom Standardization 2017-08-07 19:04:27 -04:00
Xhuis a3b543bd42 Fixes shuttles rotating improperly 2017-08-03 20:56:08 -04:00
ninjanomnom 2916551d81 fixes pod doors 2017-07-19 09:13:47 -04:00
ninjanomnom c7cf39cf29 clean up jumpToNullSpace 2017-07-19 08:00:30 -04:00
ninjanomnom 2d14a3e993 fixes typecache again 2017-07-19 00:34:45 -04:00
ninjanomnom 9da8be52ed fixes one bug and brings another out of the woodwork 2017-07-18 23:03:16 -04:00
Emmett Gaines 1d201939ba [Ready] Shuttle dock() rewrite (#29049)
A complete rewrite of the dock proc for shuttles to make it more maintainable and readable and also bring over some new features while we're at it. This allows for multi-area shuttles and more control over the effects of anything being moved.

Areas, and movable atoms all have (before|on|after)ShuttleMove procs, turfs have (from|to)ShuttleMove procs which are called the same as beforeShuttleMove.

All ShuttleMove procs have been moved to a single file in the shuttle module.

Stationary docks will have their baseturf_type and area_type modified in maps once the problems have been worked out.
2017-07-17 12:17:56 +12:00