Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////MECHA WEAPON///
- /obj/item/mecha_parts/mecha_equipment/weapon/energy/laser/kinetic
- equip_cooldown = 8
- name = "mounted proto-kinetic accelerator"
- icon_state = "mecha_ion"
- item_state = "mecha_ion"
- energy_drain = 300
- projectile = /obj/item/projectile/kinetic
- fire_sound = 'sound/weapons/taser2.ogg'
- /obj/item/mecha_parts/mecha_equipment/weapon/energy/laser/kinetic/can_attach(obj/mecha/working/ripley/R as obj)
- if(istype(R) && (R.equipment.len<R.max_equip))
- return 1
- return 0
- ///RESEARCH DATA///
- /datum/design/mech_kinetic
- name = "Weapon Design (Mounted Proto-Kinetic Accelerator)"
- desc = "Allows for the construction of a Mounted Proto-Kinetic Accelerator."
- id = "mech_kinetic"
- build_type = MECHFAB
- req_tech = list("combat" = 3, "engineering" = 3, "materials" = 4)
- build_path = /obj/item/mecha_parts/mecha_equipment/weapon/energy/laser/kinetic
- category = "Exosuit_Equipment"
- locked = 1
- materials = list("$iron"=12000)
- ///HEAVY DUTY RIPLEY///
- ///MECHA VARIABLES/// mecha\working\ripley.dm
- /obj/mecha/working/ripley/reinforced
- desc = "Think of something clever dammit."
- name = "Reinforced Ripley"
- icon_state = "titan"
- step_in = 4
- dir_in = 1 //Facing North.
- health = 300
- deflect_chance = 10
- damage_absorption = list("brute"=0.6,"fire"=0.5,"bullet"=0.6,"laser"=0.7,"energy"=0.6,"bomb"=0.6)
- max_temperature = 30000
- infra_luminosity = 8
- lights_power = 8
- force = 20
- max_equip = 4
- wreckage = /obj/effect/decal/mecha_wreckage/ripley/titan
- /obj/mecha/working/ripley/reinforced/New()
- ..()
- var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/energy/laser/kinetic
- ME.attach(src)
- return
- ///MECHA PARTS/// \mecha\mecha_parts.dm
- /obj/item/mecha_parts/chassis/reinforced
- name = "Reinforced Ripley Chassis"
- New()
- ..()
- construct = new /datum/construction/mecha_chassis/reinforced(src)
- /obj/item/mecha_parts/part/reinforced_torso
- name="Reinforced Torso"
- icon_state = "ripley_harness"
- /obj/item/mecha_parts/part/reinforced_left_arm
- name="Reinforced Left Arm"
- icon_state = "ripley_l_arm"
- /obj/item/mecha_parts/part/reinforced_right_arm
- name="Reinforced Right Arm"
- icon_state = "ripley_r_arm"
- /obj/item/mecha_parts/part/reinforced_left_leg
- name="Reinforced Left Leg"
- icon_state = "ripley_l_leg"
- /obj/item/mecha_parts/part/reinforced_right_leg
- name="Reinforced Right Leg"
- icon_state = "ripley_r_leg"
- ///MECHA CONSTRUCTION CHASSIS/// \mecha\mecha_construction_chassis.dm
- /datum/construction/mecha_chassis/reinforced
- steps = list(list(Co_KEY=/obj/item/mecha_parts/part/reinforced_torso),//1
- list(Co_KEY=/obj/item/mecha_parts/part/reinforced_left_arm),//2
- list(Co_KEY=/obj/item/mecha_parts/part/reinforced_right_arm),//3
- list(Co_KEY=/obj/item/mecha_parts/part/reinforced_left_leg),//4
- list(Co_KEY=/obj/item/mecha_parts/part/reinforced_right_leg),//5
- )
- /datum/construction/mecha_chassis/reinforced/spawn_result(mob/user as mob)
- var/obj/item/mecha_parts/chassis/const_holder = holder
- const_holder.construct = new /datum/construction/reversible/mecha/reinforced(const_holder)
- const_holder.icon = 'icons/mecha/mech_construction.dmi'
- const_holder.icon_state = "ripley0"
- const_holder.density = 1
- spawn()
- del src
- return
- ///MECHA COONSTRUCTION PATH/// \mecha\mecha_construction_paths.dm
- /datum/construction/reversible/mecha/reinforced
- result = "/obj/mecha/working/ripley/reinforced"
- ///MECHA DESIGN// \mecha\mecha_designs.dm
- /datum/design/ripley/reinforced/chassis
- name = "Exosuit Structure (Ripley chassis)"
- desc = "Used to build a Reinforced Ripley chassis."
- id = "ripley_chassis"
- req_tech = list("engineering" = 3, "combat" = 2)
- build_type = MECHFAB
- build_path = /obj/item/mecha_parts/chassis/reinforced
- category = "Ripley"
- materials = list("$iron"=25000)
- /datum/design/ripley/reinforced/torso
- name = "Exosuit Structure (Ripley torso)"
- desc = "Used to build a Reinforced Ripley torso."
- id = "ripley_torso"
- req_tech = list("engineering" = 3, "combat" = 2)
- build_type = MECHFAB
- build_path = /obj/item/mecha_parts/part/reinforced_torso
- category = "Ripley"
- materials = list("$iron"=45000,"$glass"=15000, "$silver"=4500)
- /datum/design/ripley/reinforced/l_arm
- name = "Exosuit Structure (Ripley left arm)"
- desc = "Used to build a Ripley left arm."
- id = "ripley_larm"
- req_tech = list("engineering" = 3, "combat" = 2)
- build_type = MECHFAB
- build_path = /obj/item/mecha_parts/part/reinforced_left_arm
- category = "Ripley"
- materials = list("$iron"=30000, "$silver"=3000)
- /datum/design/ripley/reinforced/r_arm
- name = "Exosuit Structure (Ripley right arm)"
- desc = "Used to build a Ripley right arm."
- id = "ripley_rarm"
- req_tech = list("engineering" = 3, "combat" = 2)
- build_type = MECHFAB
- build_path = /obj/item/mecha_parts/part/reinforced_right_arm
- category = "Ripley"
- materials = list("$iron"=30000, "$silver"=3000)
- /datum/design/ripley/reinforced/l_leg
- name = "Exosuit Structure (Ripley left leg)"
- desc = "Used to build a Ripley left leg."
- id = "ripley_lleg"
- req_tech = list("engineering" = 3, "combat" = 2)
- build_type = MECHFAB
- build_path = /obj/item/mecha_parts/part/reinforced_left_leg
- category = "Ripley"
- materials = list("$iron"=35000, "$silver"=4000)
- /datum/design/ripley/reinforced/r_leg
- name = "Exosuit Structure (Ripley right leg)"
- desc = "Used to build a Ripley right leg."
- id = "ripley_rleg"
- req_tech = list("engineering" = 3, "combat" = 2)
- build_type = MECHFAB
- build_path = /obj/item/mecha_parts/part/reinforced_right_leg
- category = "Ripley"
- materials = list("$iron"=35000, "$silver"=4000)
- ///MECHA WRECKAGE\\ mecha\mecha_wreckage.dm
- /obj/effect/decal/mecha_wreckage/ripley/titan
- name = "Reinforced Ripley wreckage"
- icon_state = "titan-broken"
- New()
- ..()
- var/list/parts = list(/obj/item/mecha_parts/part/ripley_torso,
- /obj/item/mecha_parts/part/reinforced_left_arm,
- /obj/item/mecha_parts/part/reinforced_right_arm,
- /obj/item/mecha_parts/part/reinforced_left_leg,
- /obj/item/mecha_parts/part/reinforced_right_leg)
- for(var/i=0;i<2;i++)
- if(!isemptylist(parts) && prob(40))
- var/part = pick(parts)
- welder_salvage += part
- parts -= part
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement