Premade exosuits weren't spawning with power cores, which meant that
mapped-in mechs off the Horizon were effectively unusable. All premade
mechs will now spawn with an appropriate power core.
* Added power cores, a type of large battery cell that get used by
exosuits. The nuclear and phoron variants are self-charging.
* Combat mechs now start with nuclear power cores, allowing them to
sustain themselves indefinitely, so long as they stay out of the action
for a bit.
* Removed basic power cells from the mechfab, replaced with the mech
powercores.
* Mech cell statuses now instantly update as soon as the cell charges or
discharges.
* Added a stack of 10 uranium to the machinist's workshop, which can
print two nuclear power cores.
Redoes how mechs assign their bodyparts and hardpoints. Should be much easier to make new mechs now, mechs can also now handle having children. Bless.
Created the backbone for having a mounted autolathe, however it needs a mech_equipment sprite, and a new GUI, which isn't something I'm capable of doing.
Walking over someone lying on the floor with mechs will now hurt them. Damage is based on the legs.
Also, removed some baylore references to the mech parts, and made so that mechs can push mobs around.
sounadd: "Added sounds to mech's punch. They are different for each mech arms type and volume depends on damage of arms."
tweak: "Ripley's arms damage was increased to 40 damage."
The armour and armor again strikes:
Apparently original Mech port PR has overridden borg's armor definition and was using it. This fixes it by making mech's armor a child of borg's armor instead.
renames borg's armour to armor references.
Mech's melee damage has been increased. It depends on manipulator type. Light: 15, Regular: 20, Combat 30, Heavy: 50. Fixes#7665
Adds missed check in mech's destroy proc
Spent lots of time and lots of changes to fix issues:
bugfix: "Mechs no longer runtime during destroy call."
bugfix: "Turrets and NPCS no longer target empty mechs."
bugfix: "Mechs no longer runtime during armor check. Mechs now use their armor and values for it. Before it would ignore them entirely and deal 100% damage."
Added ismech() define and also QDEL_NULL_LIST() define from TG. Matt's suggestion
renamed any armour references in mech code to armor to keep it consistent