mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
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:
7
code/datums/components/mech_pilot.dm
Normal file
7
code/datums/components/mech_pilot.dm
Normal 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
|
||||
Reference in New Issue
Block a user