Skip to content

Commit

Permalink
chane
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterDude committed Aug 18, 2024
1 parent 5c27ac7 commit ecd09f8
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 2 deletions.
4 changes: 4 additions & 0 deletions code/modules/cm_phone/phone_base.dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,7 @@
name = "rotary telephone"
icon_state = "rotary_phone"
desc = "The finger plate is a little stiff."

/obj/structure/phone_base/toc
name = "telephone receiver"
icon = 'icons/obj/vehicles/interiors/movie.dmi'
13 changes: 11 additions & 2 deletions code/modules/cm_tech/implements/railgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ GLOBAL_DATUM(railgun_eye_location, /datum/coords)
desc = "The younger sister to the railgun, this one is way weaker, however, it fires significantly faster. The higher your altitude, the faster your reload, and slower the shots hit."
max_ammo = 100
ammo = 100
ammo_recharge_time = 1 SECONDS
ammo_recharge_time = 5 SECONDS
fire_cooldown = 0.1 SECONDS
ammo_delay = 3 SECONDS
power = 50
Expand All @@ -293,13 +293,14 @@ GLOBAL_DATUM(railgun_eye_location, /datum/coords)
desc = "An Orbital cannon with a very long recharge time. The higher your altitude, the faster your reload, and slower the shots hit."
max_ammo = 1
ammo = 1
ammo_recharge_time = 1 SECONDS
ammo_recharge_time = 5 SECONDS
fire_cooldown = 10 MINUTES //So you know how long it takes betweenS
ammo_delay = 30 SECONDS
power = 1500
range = 15
warning_color = "#ff0000"


/obj/structure/machinery/computer/railgun/napalm
name = "orbital napalm computer"
desc = "An Orbital cannon with a very long recharge time. The higher your altitude, the faster your reload, and slower the shots hit."
Expand All @@ -317,3 +318,11 @@ GLOBAL_DATUM(railgun_eye_location, /datum/coords)
firer.images -= to_remove
playsound(T, 'sound/machines/railgun/railgun_impact.ogg', sound_range = 75)
INVOKE_ASYNC(GLOBAL_PROC, GLOBAL_PROC_REF(flame_radius), create_cause_data("railgun", firer.mob), 5, T, BURN_TIME_TIER_5 + 5, BURN_LEVEL_TIER_2, FLAMESHAPE_DEFAULT, FIRE_VARIANT_TYPE_B)

/obj/structure/machinery/computer/railgun/toc
name = "railgun computer screen"
icon_state = "toc_railgun"

/obj/structure/machinery/computer/railgun/gatling/toc
name = "gatling-gun computer screen"
icon_state = "toc_railcannon"
9 changes: 9 additions & 0 deletions maps/shuttles/dropship_cyclone.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,15 @@
pixel_y = 8;
pixel_x = 7
},
/obj/structure/phone_base{
dir = 4;
pixel_x = -19;
pixel_y = 12;
layer = 3.1;
phone_category = "Dropship";
name = "Cyclone telephone receiver";
phone_id = "Cyclone"
},
/turf/open/shuttle/dropship{
icon_state = "rasputin15"
},
Expand Down
9 changes: 9 additions & 0 deletions maps/shuttles/dropship_midway.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,15 @@
pixel_y = 8;
pixel_x = 7
},
/obj/structure/phone_base{
dir = 4;
pixel_x = -19;
pixel_y = 12;
layer = 3.1;
phone_category = "Dropship";
name = "Midway telephone receiver";
phone_id = "Midway"
},
/turf/open/shuttle/dropship{
icon_state = "rasputin15"
},
Expand Down
9 changes: 9 additions & 0 deletions maps/shuttles/dropship_tornado.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,15 @@
pixel_y = 8;
pixel_x = 7
},
/obj/structure/phone_base{
dir = 4;
pixel_x = -19;
pixel_y = 12;
layer = 3.1;
phone_category = "Dropship";
name = "Tornado telephone receiver";
phone_id = "Tornado"
},
/turf/open/shuttle/dropship{
icon_state = "rasputin15"
},
Expand Down
9 changes: 9 additions & 0 deletions maps/shuttles/dropship_tripoli.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
pixel_y = 8;
pixel_x = 7
},
/obj/structure/phone_base{
dir = 4;
pixel_x = -19;
pixel_y = 12;
layer = 3.1;
phone_category = "Dropship";
name = "Tripoli telephone receiver";
phone_id = "Tripoli"
},
/turf/open/shuttle/dropship{
icon_state = "rasputin15"
},
Expand Down
24 changes: 24 additions & 0 deletions maps/shuttles/dropship_typhoon.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,17 @@
/obj/structure/surface/table/reinforced/toc/east{
pixel_y = -7
},
/obj/structure/machinery/computer/railgun/gatling/toc{
pixel_y = 13;
pixel_x = -7
},
/obj/structure/phone_base/toc{
pixel_y = 13;
pixel_x = 11;
phone_id = "Typhoon Overwatch";
phone_category = "Overwatch";
name = "Typhoon overwatch telephone receiver"
},
/turf/open/shuttle/dropship{
icon_state = "rasputin6"
},
Expand All @@ -638,6 +649,15 @@
pixel_x = 8;
dir = 1
},
/obj/structure/phone_base{
dir = 4;
pixel_x = -19;
pixel_y = 12;
layer = 3.1;
phone_category = "Dropship";
name = "Typhoon telephone receiver";
phone_id = "Typhoon"
},
/turf/open/shuttle/dropship{
icon_state = "rasputin15"
},
Expand Down Expand Up @@ -677,6 +697,10 @@
pixel_y = 9;
pixel_x = -9
},
/obj/structure/machinery/computer/railgun/toc{
pixel_y = 14;
pixel_x = 7
},
/turf/open/shuttle/dropship{
icon_state = "rasputin15"
},
Expand Down

0 comments on commit ecd09f8

Please sign in to comment.