Merge pull request #6304 from Nalarac/Mecha2

Adds Ripley Speedboost Equipment
This commit is contained in:
Atermonera
2019-07-23 20:01:36 -08:00
committed by GitHub
3 changed files with 67 additions and 2 deletions

View File

@@ -328,7 +328,7 @@
equip_cooldown = 5
energy_drain = 0
range = MELEE|RANGED
required_type = /obj/mecha/working
required_type = list(/obj/mecha/working)
var/spray_particles = 5
var/spray_amount = 5 //units of liquid per particle. 5 is enough to wet the floor - it's a big fire extinguisher, so should be fine
var/max_water = 1000
@@ -1227,7 +1227,7 @@
energy_drain = 0
var/dam_force = 0
var/obj/mecha/working/ripley/cargo_holder
required_type = /obj/mecha/working/ripley
required_type = list(/obj/mecha/working/ripley)
equip_type = EQUIP_SPECIAL
@@ -1528,3 +1528,25 @@
sleep(equip_cooldown)
wait = 0
return 1
/obj/item/mecha_parts/mecha_equipment/speedboost
name = "ripley leg actuator overdrive"
desc = "System enhancements and overdrives to make a ripley's legs move faster."
icon_state = "tesla"
origin_tech = list( TECH_POWER = 5, TECH_MATERIAL = 4, TECH_ENGINEERING = 4)
required_type = list(/obj/mecha/working/ripley)
equip_type = EQUIP_HULL
/obj/item/mecha_parts/mecha_equipment/speedboost/attach(obj/mecha/M as obj)
..()
if(enable_special)
chassis.step_in = (chassis.step_in-2) // Make the ripley as fast as a durand
else
chassis.step_in = (chassis.step_in+1) // Improper parts slow the mech down
return
/obj/item/mecha_parts/mecha_equipment/speedboost/detach()
chassis.step_in = initial(chassis.step_in)
..()
return

View File

@@ -664,6 +664,13 @@
materials = list(DEFAULT_WALL_MATERIAL = 7500, "silver" = 375, "glass" = 750)
build_path = /obj/item/mecha_parts/mecha_equipment/generator/nuclear
/datum/design/item/mecha/speedboost_ripley
name = "Ripley Leg Actuator Overdrive"
desc = "System enhancements and overdrives to make a mech's legs move faster."
req_tech = list( TECH_POWER = 5, TECH_MATERIAL = 4, TECH_ENGINEERING = 4)
materials = list(DEFAULT_WALL_MATERIAL = 10000, "silver" = 1000, "gold" = 1000)
build_path = /obj/item/mecha_parts/mecha_equipment/speedboost
/datum/design/item/synthetic_flash
name = "Synthetic Flash"
id = "sflash"

View File

@@ -0,0 +1,36 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
#################################
# Your name.
author: Nalarac
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Ripley speed boost module that can be built in robotics."