Commit Graph

59 Commits

Author SHA1 Message Date
ShizCalev 9ec4499f35 pulling offset fixes (#43307)
* pulling offset fixes

* commentary change
2019-03-25 12:45:46 -04:00
kevinz000 1b24b13d80 [READY]IMMERSIVE ROLEPLAY - Mobs now turn towards and are shifted based on grab state towards something pulling them (#41768)
In other words, you can now dance.
@subject217
cl
experimental: Mobs now turn towards anything grabbing them when they move.
experimental: Mobs are shifted towards anything grabbing them based on move state too. You can now dance by grabbing each other!
/cl
2018-12-16 12:51:42 +13: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
ninjanomnom d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00
Dax Dupont 8cefe21ec4 You can no longer buckle anchored mobs to things. 2018-04-20 17:35:02 +02:00
kevinz000 f300a5c155 Interaction/Attack Hand Refactor (#36405) 2018-03-23 11:20:54 +01:00
kevinz000 6ebc926f00 Fixes lavaboat buckling (#34450)
* Buckle order

* lavaboats
2018-01-17 09:30:14 +13:00
kevinz000 5182128d2a refactors riding datums to a component, vehicle refactor staging for mech overhaul (#32249) 2017-12-04 10:33:01 +13:00
Tad Hardesty 220126fd93 Deny buckling when the user is inside lockers, mechs, etc. (#33015) 2017-11-24 23:29:43 -05:00
AnturK b5de7d0e10 Actually this is better solution. 2017-11-03 11:26:38 +01:00
Tad Hardesty c1794bb402 Fix many instances of "the the"
All uses of "the [src]" have been fixed, as well as other bad string
interpolation directly adjacent to such uses.

In addition to its message, the circumstances under which the tracking
implant locator fails have been updated to use the correct define,
malfunctioning on CentCom rather than on the station.
2017-10-11 21:55:44 -07:00
kingofkosmos 4e260ab1ec Adds a message when trying to move while buckled (#30233)
* Shows a warning to the player trying to move while buckled.

* Adds cooldown.

* Moves the relaymove()-based message to atoms.dm

* Adds a custom buckled alert icon.

* Arranged screen_alert.dmi contents into an alphabetical order.
2017-09-07 11:11:41 -04:00
Joan Lung 7a2f047dee Merge pull request #28434 from Cyberboss/BuckleFix
Fixes things getting unbuckled in nullspace
2017-06-14 21:57:35 -04:00
Jordan Brown dbee77318d Fixes things getting unbuckled in nullspace 2017-06-13 14:43:12 -04:00
kevinz000 5442d07849 Fixes gang turrets buckle code (atleast most of it) (#28364)
* Create manned_turret.dm

* Create buckling.dm

* Update buckling.dm

* Create manned_turret.dm
2017-06-13 09:34:17 +02:00
octareenroon91 2725ee99ec Fix bonfire/buckle_mob() runtime (#25527) 2017-03-27 21:13:20 -03:00
Lzimann 5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Core0verload 321ddb76e3 You can now buckle handcuffed people to singularity/tesla generator (#22767)
* You can now buckle handcuffed people to singularity/tesla generator

* Adds buckling to tesla coil and grounding rod, minor fixes.

* Makes buckling code shorter
2017-01-23 09:44:49 +01:00
Joan Lung 0fc959d694 Improves Geis binding resist (#21846)
* Improves Geis binding resist

* rrrrgh

* FINE LIMIT IT OKAY
2016-12-02 12:56:31 +01:00
Joan Lung fbeb7f958f Couple more pronoun things 2016-11-10 17:29:57 -05:00
phil235 2d2975f783 Some preliminary changes before the damage refactor PR. The changes here do absolutely nothing gamewise.
This just adds some vars that the refactor will use. Putting this in a separate PR prevent the damage refactor PR from becoming too big (number of files changed) and hard to read and review.

Introduces the resistance_flags bitflag that replaces unacidable and burn_state.
Moves the armor var from item to /obj level and gives specific armor values to many objects, the armor list also gets two new armor types: fire and acid, which will be used in the refactor. the new fire and acid armor values are given to plenty of items.
2016-09-27 22:33:08 +02:00
Remie Richards 87bba48cb5 Fixes infinite buckling, removes unnecessary list init. 2016-06-12 14:35:14 +01:00
Remie Richards fda2c699fc Automatic conversion via Regex 2016-06-11 18:37:48 +01:00
AnturK 19eb97ae18 Moves some list initializations to New
Fixes missing ..() calls in New()
2016-06-07 18:39:13 +02:00
phil235 cf07f46b33 Fixes pulling mob when trying to strip them. 2016-03-17 23:38:32 +01:00
c0 828ace258c Fixes a buckling attempt runtime 2016-03-12 15:42:07 +03:00
Remie Richards aeaa73601c Fixes 2016-03-07 19:39:37 +00:00
Remie Richards 6268238e45 Removes my todo comments about the refactor. 2016-03-07 18:08:04 +00:00
Remie Richards 4e821d8657 Atoms may now have many mobs buckled to them, as opposed to one, this is controlled by the new max_buckled_mobs var on atoms, defaults to 1 as to not change any current functionality 2016-03-07 18:03:25 +00:00
KorPhaeron 884a3a0264 Fixes 2015-12-14 16:40:00 -06:00
KorPhaeron d8a37204e7 Makes burn_state use defines 2015-12-13 05:36:55 -06:00
Tkdrg 292ba6c046 Fixes roller bed teleportation exploit
Thanks swankcookie for reporting this to me ingame.
2015-11-16 22:30:26 -03:00
xxalpha c313bd2c46 Fixed buckled, handcuffed and legcuffed alert buttons not calling resist. 2015-11-02 18:57:52 +00:00
Razharas 653dcbc0f4 Merge pull request #12380 from MrPerson/alert_rewrite
Mild rewrite of screen alerts to enable more functionality
2015-10-16 09:04:50 +03:00
MrPerson 610483ea1e Mild rewrite of screen alerts to enable more functionality
Specifically I wanted to allow #12043 to correctly implement clicking an "on fire" alert to call resist without affecting other alerts which is currently impssible. Plus this whole mess was stupid and bothering me so here we go.
2015-10-13 17:16:23 -07:00
phil235 df171284cb Slimes now uses buckling to feed and attach themselves on mobs. This removes the silly check in mob/Move(), reducing lag.
Fixes mobs being able to attach slimes onto other mobs.
2015-10-10 20:41:27 +02:00
AnturK 75e82f15f2 Return for buckling procs
Makes unbuckling priority over removing bag in janicart
Makes doors bumped in janicart open.
2015-10-08 13:40:53 +02:00
AnturK c23eb50454 Fixes trying to buckle to mob with another already buckled. 2015-09-26 22:06:53 +02:00
AnturK a99ed56f27 Atom Buckling - Squashed 2015-09-24 16:21:05 +02:00
Firecage bdc9b792f7 buckling text span fix. 2015-09-09 09:29:51 +02:00
Firecage 812f5b4094 Fixes the buckling message. 2015-09-07 23:52:30 +02:00
Xhuis d7ffc1bd7e Removes some commented code and fixes a typo 2015-09-05 14:43:12 -04:00
Xhuis 1f4313f7ad Fixes buckling 2015-09-05 14:41:08 -04:00
Razharas 2ab0836d6e Just some tiny fix
Just some tiny fix
Move along codizen
2015-09-03 11:59:47 +03:00
Razharas c28cae5d83 Use topic instead of old shit
Use topic instead of old shit
2015-09-03 11:41:12 +03:00
Razharas fc053aee12 Fixes ghost bucking
Fixes ghost bucking
2015-09-02 07:50:39 +03:00
duncathan 51c09f16bf makes all Destroy()'s return properly 2015-08-31 00:21:01 -06:00
Cheridan 1769bc2f8d Merge pull request #11104 from phil235/BuckleMulebot
Mob buckled to mulebots
2015-08-27 12:06:28 -05:00
Supermichael777 909658f240 Update buckling.dm 2015-08-24 14:20:31 -04:00
phil235 1c51550559 Changes how mulebots handle loading mobs. It now buckles them to the bot.
You can no longer load objects containing mobs or with mobs buckled to them.

You can no longer pass through plastic flaps by getting on a mulebot.

Some simplification in mulebot code (buzzing sound code)

Loading is now instantaneous and the mode BOT_LOADING is removed.

The mulebot can no longer do certain stuff while off.

Removing unneeded comments.

Fixes mulebot loading/unloading being possible through border windows.

Fixes mulebot not dropping its loaded cargo when qdel'd (wasn't a problem for explosion but for alien acid for example)
2015-08-08 21:43:30 +02:00