Reworks Mech pilot suits to instead be a component (#16524)

* Reworks EVA suits to instead be a clothing variable

* Now a component instead of a variable

* random recompile

* Lets people also get the component, not just clothing

* random recompile to fix lintbot

* Updates melee weapons

* only checks the jumpsuit rather than every clothing item
This commit is contained in:
Molti
2022-12-02 05:42:24 -06:00
committed by GitHub
parent 3bfd93eef0
commit 3f0748a178
6 changed files with 32 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
/// A component for clothes that affect one's ability to pilot mechs
/datum/component/mech_pilot
/// Modifier of mech delay, based on percentage 1 = 100%. lower is faster
var/piloting_speed = 1
/datum/component/mech_pilot/Initialize(_piloting_speed = 1)
piloting_speed = _piloting_speed