Commit Graph

4220 Commits

Author SHA1 Message Date
MrDoomBringer
703a365aec Various code improvements (#40932)
* adsf

* asdf

* take these

* Further cleanup to windoor code
2018-10-21 03:01:02 -04:00
Jordan Brown
4a199fe8cd Merge pull request #40987 from ninjanomnom/howcanclienttimeberealifmytimerisntreal
Makes looping sounds use client time
2018-10-21 02:54:30 -04:00
MrDoomBringer
e4db7a8477 Fix explosions damaging rod form wizards and supply pod contents (#40758)
The issue was that when casting rod form, the wizard is forceMoved() into the
rod. When an epicenter explosion happens, explosion.dm forcibly goes through
the contents of EVERYTHING, and calls ex_act().

This caused the wizard in the contents of the rod to get damaged by epicenter
explosions (ie if they hit a fuel tank in rod form)
2018-10-19 22:20:59 -07:00
ninjanomnom
2a25ba5c63 Makes looping sounds use client time and cleans up some code 2018-10-17 12:49:58 -04:00
oranges
202845c94d Merge pull request #40929 from ninjanomnom/wisp-savior
Prevents wisps from being deleted by teleports
2018-10-17 23:57:06 +13:00
Qustinnus
3b12a40fcc Legion core / aheal now only removes temp moodies. also bad moodie for using it (#40657)
cl Floyd / Qustinnus
fix: Legion core / aheal now only removes temp moodies
add: Legion cores now give you a bad moodlet
/cl

#40110

fixes
2018-10-17 23:18:59 +13:00
Emmett Gaines
5d8419541b Adds movetype based speed modifiers and makes the mood speed mod use it (#40581)
This allows us to more easily keep track of speed modifiers which only affect certain move modes. Also cleans up a small bit of movespeed and mood code while I'm at it.
2018-10-17 23:17:07 +13:00
Jordan Brown
67948ed3d0 Merge pull request #40842 from ninjanomnom/orbit-runtime
Fixes an orbit runtime from orbiters deleting at inopportune times
2018-10-15 16:13:06 -04:00
Emmett Gaines
5f08aa7cca Removes the redirect component usage from a few things (#40847) 2018-10-15 22:48:55 +03:00
ninjanomnom
304c64f2af Prevents wisps from being deleted by teleports 2018-10-14 21:09:48 -04:00
Emmett Gaines
f1d19d5787 Turn a runtime component sanity check into a unit test (#40851) 2018-10-12 15:41:55 -07:00
ninjanomnom
f039c02b20 Only check if we moved when a checktick sleep happens 2018-10-12 17:20:19 -04:00
ninjanomnom
517ba3410e Fixes an orbit runtime from orbiters deleting at inopportune times 2018-10-12 17:17:29 -04:00
kevinz000
3e7184c975 Combat/Stun (slip) overhaul staging, mobility flags, adds crawling (#39967)
Aiming to implement the framework oranges has detailed in https://tgstation13.org/phpBB/viewtopic.php?f=10&t=19102
Moves canmove to a bitflag in a new variable called mobility_flags, that will allow finer grain control of what someone can do codewise, for example, letting them move but not stand up, or stand up but not move.

Adds Immobilize()d status effect that freezes movement but does not prevent anything else.
Adds Paralyze()d which is oldstun "You can't do anything at all and knock down).
Stun() will now prevent any item/UI usage and movement (which is similar to before).
Knockdown() will now only knockdown without preventing item usage/movement.
People knocked down will be able to crawl at softcrit-speeds
Refactors some /mob variables and procs to /mob/living.
update_canmove() refactored to update_mobility() and will handle mobility_flags instead of the removed canmove

cl
rscadd: Crawling is now possible if you are down but not stunned. Obviously, you will be slower.
/cl
Refactors are done. I'd rather get this merged faster than try to fine tune stuff like slips. The most obvious gameplay effect this pr has will be crawling, and I believe I made tiny tweaks but I can't find it Anything I missed or weird behavior should be reported.
2018-10-11 11:22:21 +13:00
81Denton
992d3207a4 Make moths spawn with lamp heirloom only half the time (#40810) 2018-10-09 21:56:16 -07:00
AnturK
dd448b00a4 Fix forced gravity component (#40790)
How many of these i will have to fix
2018-10-09 11:36:53 -07:00
YPOQ
fe5fe1a72b Fixes "floor is lava" covering everything (#40743) 2018-10-07 06:53:24 -04:00
Tlaltecuhtli
848261b285 if you have musician trait you can now choose which instrument you get (#40588) 2018-10-07 06:44:19 -04:00
81Denton
f3bc3ce1da Adds more family heirlooms (#40717)
* Adds more family heirlooms

yeap... quake was a good game

* Moths always have lanterns or flashlights as heirlooms

* Lanterns

* Gives moth heirloom lantern reduced light range

* More engineering, CE, botanist, QM/cargo tech items
2018-10-07 06:42:27 -04:00
vuonojenmustaturska
a287380797 Stops using the rad insulation component to provide default rad insulation features in order to save a bit of memory (#40662)
* henk

* oh yeah this

* undo this meme

* stuff
2018-10-06 14:28:28 +02:00
ShizCalev
87fe618bd2 Ghosts can now see the AI's camera (#40689)
cl ShizCalev
tweak: Ghosts can now see active AI cameras.
/cl
2018-10-06 08:06:38 +13:00
Unknown
5e7522aa44 only i could fuck up this hard 2018-10-05 20:50:41 +02:00
Qustinnus
5fdcc2ec23 cleans my legacy (#40710)
cl Qustinnus / Floyd
tweak: your belly is now flat and empty
/cl
2018-10-06 07:48:10 +13:00
Jordan Brown
fda74b3c06 Merge pull request #40704 from ShizCalev/forensics-istype
Fixes forensics add_fingerprint runtime
2018-10-05 09:37:32 -04:00
Jordan Brown
afc9593191 Merge pull request #40702 from ShizCalev/hitscan-increment
fixes hitscan increments not using the multiplier
2018-10-05 09:37:07 -04:00
MrDoomBringer
f4c879db38 the codex astartes is sad that this maneuver is being nerfed (#40491)
Fixes #40486

cl MrDoomBringer
fix: Supplypods no longer detonate their contents
/cl

I did this by adding a return value to the atom/contents_explosion() proc. If the proc is overridden, it should return null. This is then checked in explosion.dm to see if the contents have been properly exploded. If they havent (if contents_explosion() returns true), then explosion.dm handles it manually.

There might be a better way to go about this, if there is please let me know
2018-10-05 19:11:13 +13:00
ShizCalev
696cc932ce Fixes forensics add_fingerprint runtime 2018-10-04 02:46:38 -04:00
ShizCalev
cf5c62d06c fixes hitscan increments not using the multiplier 2018-10-04 01:52:57 -04:00
AnturK
1d403cecfb Fixes rotation verbs. (#40643) 2018-10-03 13:14:02 +03:00
Emmett Gaines
940cd92824 More orbit fixes (#40557)
Attempt 2 at fixing the remaining bugs with orbits

Incorpmove had to be converted to forceMove() to make orbits able to tell when they move. They used loc setting before. This likely breaks some things but I couldn't find any particular issues. We should be overriding forceMove anyway for things that need to handle loc changes like that differently.

fixes #40544
fixes #40522
2018-10-03 10:05:09 +13:00
XDTM
1e7c87a9d7 [Ready for Review/Testmerge]Adds scanner gates (#39986)
* Adds scanner gates

* fix

* fix

* fix2

* fix3

* update!

* tgui build
2018-10-02 10:29:15 +02:00
ShizCalev
d235f27088 Adds syndicate balloon mood modifier for antagonists (#40504)
* Adds syndicate balloon mood modifier for antagonists

* undrunked the code
2018-09-30 20:55:06 -04:00
ShizCalev
2fa1ac1349 Replaces istypes with the proper tool_behaviour checks. (#40414) 2018-10-01 03:10:31 +03:00
MrDoomBringer
fccf08294a Fixes lacking hands giving erroneous feedback in a few situations (#40549)
* uuuuuuuuuuuuh

* update

* ok but make it compile
2018-09-29 23:10:53 -04:00
XDTM
0b813b63b5 [Ready]Adds hypnosis and the hypnotic stupor brain trauma (#40362)
cl XDTM
add: Added a new severe brain trauma: hypnotic stupor. Victims of hypnotic stupor occasionally fall into a trance, and upon hearing a sentence they'll focus on it to the point of obsession, until it is replaced by a new hypnosis or the trauma is cured.
/cl

Adds the potential for some fancy rp gameplay. The idea is that they should take a passing message way too seriously, while leaving room for interpretation to the player. Hearing an isolated "greytide" over the radio might prompt a player to take up arms against the rampaging greyshirts, another might interpret it as having to become the greytide. Someone who realizes what's up might use this to give clear orders to the victim, although they'll only last until the following trance.

I plan on adding more methods to inflict hypnosis with the same trance->"focus on a sentence" mechanics, perhaps as a traitor/CMO pendulum item, or as a wizard/cult spell.
2018-09-29 10:07:43 +12:00
Jordan Brown
4d01a12371 Merge pull request #40529 from ShizCalev/log-message-stacktrace
Cleans up some log_message stacktraces
2018-09-27 19:02:37 -04:00
oranges
a94a9c8efa Merge pull request #40365 from AnturK/team-panel
Admin team panel
2018-09-28 09:27:15 +12:00
ShizCalev
2a01a9d447 Cleans up some log_message stacktraces 2018-09-26 21:13:39 -04:00
Emmett Gaines
1cb74aff0b Component strengthening course (#40480) 2018-09-26 12:40:19 +03:00
Emmett Gaines
31914a594e Componentizes orbiting (#40433)
cl ninjanomnom
fix: Orbiting is a little more aggressive about staying in orbit. The wisp as a result now correctly follows you over shuttle moves.
/cl

Goodbye SSorbit you ticking piece of shit

This also gives update_sight a signal so wisp code isn't hardcoded into it.
2018-09-25 18:23:27 +12:00
Kierany9
9e8d7509b6 [READY] [Gamemode Bounty] Assimilation (#40296)
* it's ready boi

* typos, things i forgot to uncomment and mindshields revealing hosts

* Requested bugfixes/syntax changes

* Fixes Network Invasion runtime and other misc fixes

* oops

* Fixes mindshield runtime

* Mind control and lots of fixes

* Admin logging and runtime fixes

* dumb bugs and fluff text

* Commented out code, typos and finalizing player numbers

* runtime

* Major runtime fixes, buffs and distortion field

* death on MC'd vessel death, destroy_hive and hive removal on death

* code review

* oops

* Mind Control realname fix
2018-09-24 21:18:55 +02:00
AnturK
72f5c3a831 Ice sliding related fixes. (#40415)
* Ice sliding related fixes.

* Makes ICE do not break other forced movement.

* Revert "Makes ICE do not break other forced movement."

This reverts commit 2aa691d3b8b35c31101e86fd888417755da86dcd.
2018-09-24 13:18:51 +03:00
Jordan Brown
f41af44f05 Buff getrev with byond version (#40391) 2018-09-22 19:53:28 -07:00
XDTM
b7c7593191 [Ready]Moves traits to datums (#38505)
I've been in a few situations where traits would be handy to track certain object or datum flags, and there's no particular reason that ties them to living mobs aside from being initially a disability rework.
2018-09-22 21:50:03 +12:00
AnturK
dcf802e4b2 Team Panel 2018-09-20 20:54:52 +02:00
AnturK
a27be2fa14 Objective refactor (#40220)
* Objective refactor

* Custom antag types for leftover objectives.

* Removes dumbness.

* Forgot to hide these from TP

* Makes the list static.
2018-09-20 11:18:59 -04:00
Tad Hardesty
198a7b388d Fix docking port detection in DMM templates (#40310) 2018-09-19 13:10:32 +02:00
ShizCalev
009bde3c5e fixes ventcrawling & flying mobs making footstep sounds (#40317) 2018-09-18 11:15:20 -04:00
ShizCalev
6e1b3deb76 Fixes phased/jaunting mobs falling into chasms (#40316) 2018-09-18 11:14:33 -04:00
Jordan Brown
e06f32b14d Adds null check to world status map check (#40305)
* Adds null check to world status map check

* Fix stat
2018-09-17 20:20:58 -04:00