Commit Graph

30 Commits

Author SHA1 Message Date
SkyratBot 1de89d5c9f [MIRROR] Fixes a bug where glide-size could become out of sync if you get unbuckled [MDB IGNORE] (#19283)
* Fixes a bug where glide-size could become out of sync if you get unbuckled (#73150)

This fixes a bug where you could theoretically un-sync your glide-size
from your movespeed if you unbuckled. Currently, if you unbuckle, we use
a proc that's only used there which gets all of the slowdowns from all
of your movespeed modifiers. There's two problems with that:

1. We already have a variable with your movespeed (cached)
2. This proc does not check any of the conditionals that might make a
movespeed modifier not apply, such as whether or not you are flying, or
if you're immune to it for some other reason.

This means that in specific edge-cases you could mess up your
glide-size.

I have not actually seen this happen, but this seems like a better way
of doing it :)

* Fixes a bug where glide-size could become out of sync if you get unbuckled

---------

Co-authored-by: CapybaraExtravagante <110635252+CapybaraExtravagante@users.noreply.github.com>
2023-02-11 13:39:46 -08:00
SkyratBot c2215e3905 [MIRROR] Adds a subsystem for ai movement (#3613)
* Adds a subsystem for ai movement (#57111)

* done

* straight walk

* movement

* yep

* removes unused macro

* done

* Update ai_movement.dm

* Adds a subsystem for ai movement

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-02-23 21:46:00 +00:00
SkyratBot b332b46b65 [MIRROR] Remove hideous inline tab indentation, and bans it in contributing guidelines (#3394)
* Remove hideous inline tab indentation, and bans it in contributing guidelines

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-15 15:32:02 +00:00
SkyratBot b8cea2209f [MIRROR] Improves VV-related code (#1374)
* Improves VV-related code (#54416)

VV-related code cleanup
    Added code to trigger the proper setters for several variables that have them.
    Added some admin logging for var-edit teleports.
    Cleaned-up some code all around.

* Improves VV-related code

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-19 17:22:19 +01:00
SkyratBot 2bfdfbb910 [MIRROR] Change signature of BINARY_INSERT to require the full type path, add test (#611)
* Change signature of BINARY_INSERT to require the full type path, add test (#53217)

BINARY_INSERT used to only take typepaths like/this. Now, it expects them to be /like/this, to be more consistent with ther est of the code.

Adds documentation to COMPTYPE.

Adds a test for BINARY_INSERT.

* Change signature of BINARY_INSERT to require the full type path, add test

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-09-02 03:07:17 +02:00
ShizCalev a0819344bb Fixes my crap code (#52271) 2020-07-16 19:40:25 +12:00
ShizCalev 254536072e [s] sanity checks vv_edit_var() values (#52255)
cl ShizCalev
fix: Added some sanity checking for varedit values.
/cl
* sanity checks vv_edit_var() values

* this should be an or

* one more fix
2020-07-16 10:20:41 +12:00
Rohesie 30ca02afb5 movespeed_modification unlawful list modification fix (#50135)
* copy

* Spooky suggestion
2020-03-25 17:34:35 +08:00
Rohesie e36475e1f4 Slowdown fixes and tweaks (#50095)
* Slowdowns

* Highlander fix
2020-03-21 17:01:34 +01:00
kevinz000 8d16c25825 these need ids 2020-02-18 00:06:12 -07:00
kevinz000 1c0b764dcf no more ids 2020-02-18 00:04:16 -07:00
kevinz000 9c56769956 ok 2020-02-03 14:12:43 -07:00
kevinz000 b5430eb68c fuck 2020-01-24 14:39:19 -07:00
kevinz000 0f5075ccd0 compile 2020-01-16 02:27:29 -07:00
kevinz000 bab0e4ba81 binary insert wew 2020-01-16 02:03:21 -07:00
kevinz000 a6a585af74 typo 2020-01-14 16:08:34 -07:00
kevinz000 0affadce7f aah. 2020-01-14 16:06:58 -07:00
kevinz000 3659ac328b ok 2020-01-13 19:35:19 -07:00
kevinz000 f19086786a stuff 2020-01-13 19:00:07 -07:00
kevinz000 f9806e94f3 stuff 2020-01-13 18:54:39 -07:00
kevinz000 e5136f86b2 *yawn 2020-01-11 23:28:31 -08:00
kevinz000 f56844d54a i forgot how bad i was at coding 2020-01-11 22:38:35 -08:00
kevinz000 58e3648340 150 hours of testing 2020-01-11 22:30:13 -08:00
kevinz000 ce02e45ecb get rid of refactor tags 2020-01-11 22:12:07 -08:00
kevinz000 63d54e3e4f PAIN 2020-01-11 22:11:29 -08:00
kevinz000 935817e607 a a a a a 2020-01-11 15:36:32 -08:00
kevinz000 b3237ada7d compile 2020-01-10 14:51:15 -08:00
kevinz000 9725ba6b57 variable modifiers 2020-01-10 14:49:59 -08:00
kevinz000 75c575acef move some stuff add some stuff yadda yadda 2020-01-10 13:36:32 -08:00
kevinz000 46451e23ea move stuff 2020-01-10 07:27:44 -08:00