Skip to content

Commit

Permalink
сделал мехи
Browse files Browse the repository at this point in the history
  • Loading branch information
Kar4es committed Nov 10, 2023
1 parent ee18351 commit 383a966
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _maps/map_files220/generic/centcomm.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2698,7 +2698,7 @@
/turf/simulated/floor/plating,
/area/syndicate_mothership/cargo)
"bVM" = (
/obj/mecha/combat/gygax/dark/loaded,
/obj/mecha/combat/gygax/nt/loaded_red,
/turf/simulated/floor/mech_bay_recharge_floor,
/area/centcom/ss220/admin3)
"bVP" = (
Expand Down Expand Up @@ -20951,7 +20951,7 @@
/turf/simulated/floor/carpet/black,
/area/centcom/ss220/command)
"oAD" = (
/obj/mecha/combat/gygax/dark/loaded,
/obj/mecha/combat/gygax/nt/loaded_epsilon,
/turf/simulated/floor/plasteel/dark{
dir = 1;
icon_state = "darkbrown"
Expand Down Expand Up @@ -23398,7 +23398,7 @@
},
/area/centcom/ss220/bar)
"qpJ" = (
/obj/mecha/combat/gygax/dark/loaded,
/obj/mecha/combat/gygax/nt/loaded_epsilon,
/turf/simulated/floor/plasteel/dark{
dir = 9;
icon_state = "darkbrown"
Expand Down
47 changes: 47 additions & 0 deletions modular_ss220/mecha_skins/code/mecha_preloaded.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
//GYGAX

/obj/mecha/combat/gygax/nt
name = "Nanotrasen Special Gygax"
icon = 'modular_ss220/mecha_skins/code/mecha.dmi'
icon_state = "ntgygax"
initial_icon = "ntgygax"
max_integrity = 300
deflect_chance = 20
leg_overload_coeff = 100
max_temperature = 35000
desc = "Козырь Nanotrasen при решении проблем, легкий мех окрашенный в победоносные цвета НТ. Если вы видите этот мех, вероятно все проблемы уже решены."
armor = list(melee = 40, bullet = 40, laser = 50, energy = 35, bomb = 20, rad =20, fire = 100, acid = 100)
operation_req_access = list(ERT_TYPE_AMBER)
max_equip = 5
wreckage = /obj/structure/mecha_wreckage/gygax/gygax_nt
starting_voice = /obj/item/mecha_modkit/voice/nanotrasen
destruction_sleep_duration = 2 SECONDS

/obj/mecha/combat/gygax/nt/loaded_red/Initialize(mapload)
. = ..()
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/energy/laser
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/energy/disabler
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/anticcw_armor_booster
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/antiproj_armor_booster
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/thrusters
ME.attach(src)

/obj/mecha/combat/gygax/nt/loaded_epsilon/Initialize(mapload)
. = ..()
var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/energy/xray/triple
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/heavy
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/anticcw_armor_booster
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/tesla_energy_relay
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/thrusters
ME.attach(src)

/obj/mecha/combat/gygax/nt/add_cell()
cell = new /obj/item/stock_parts/cell/high/slime(src)
6 changes: 6 additions & 0 deletions modular_ss220/mecha_skins/code/paintkit_install.dm
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@
icon = 'modular_ss220/mecha_skins/code/mecha.dmi'
icon_state = "gygax_black-broken"

/obj/structure/mecha_wreckage/gygax/gygax_nt
name = "\improper Обломки специального гигакса НТ"
desc = "Видимо козырь был плохим..."
icon = 'modular_ss220/mecha_skins/code/mecha.dmi'
icon_state = "ntgygax-broken"

//DURAND

/obj/structure/mecha_wreckage/durand/dollhouse
Expand Down
2 changes: 1 addition & 1 deletion modular_ss220/mecha_skins/mecha_skins.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#include "code/fabricator_design.dm"
#include "code/paintkit_install.dm"
#include "code/paintkit_menu.dm"

#include "code/mecha_preloaded.dm"

0 comments on commit 383a966

Please sign in to comment.