[READY] Improve spelling (#51134)

* Improve spelling

* Spell isn't, ain't, shouldn't, hasn't, wasn't correctly

Co-authored-by: NewSta <spessman-007@users.noreply.github.com>
This commit is contained in:
spessman-007
2020-05-25 02:13:37 +08:00
committed by GitHub
co-authored by NewSta
parent 4f44aa1ba9
commit ab84042f94
128 changed files with 261 additions and 261 deletions
+28 -28
View File
@@ -6,13 +6,13 @@
#define BAD_COORDS 3
#define BAD_TURF 4
/area/shuttle/auxillary_base
name = "Auxillary Base"
/area/shuttle/auxiliary_base
name = "Auxiliary Base"
luminosity = 0 //Lighting gets lost when it lands anyway
/obj/machinery/computer/auxillary_base
name = "auxillary base management console"
/obj/machinery/computer/auxiliary_base
name = "auxiliary base management console"
icon = 'icons/obj/terminals.dmi'
icon_state = "dorm_available"
var/shuttleId = "colony_drop"
@@ -23,13 +23,13 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
req_one_access = list(ACCESS_CARGO, ACCESS_CONSTRUCTION, ACCESS_HEADS, ACCESS_RESEARCH)
var/possible_destinations
circuit = /obj/item/circuitboard/computer/auxillary_base
circuit = /obj/item/circuitboard/computer/auxiliary_base
/obj/machinery/computer/auxillary_base/Initialize()
/obj/machinery/computer/auxiliary_base/Initialize()
. = ..()
AddComponent(/datum/component/gps, "NT_AUX")
/obj/machinery/computer/auxillary_base/ui_interact(mob/user)
/obj/machinery/computer/auxiliary_base/ui_interact(mob/user)
. = ..()
var/list/options = params2list(possible_destinations)
var/obj/docking_port/mobile/M = SSshuttle.getShuttle(shuttleId)
@@ -72,7 +72,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
popup.open()
/obj/machinery/computer/auxillary_base/Topic(href, href_list)
/obj/machinery/computer/auxiliary_base/Topic(href, href_list)
if(..())
return
usr.set_machine(src)
@@ -90,7 +90,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
say("<span class='danger'>Launch sequence activated! Prepare for drop!!</span>")
playsound(loc, 'sound/machines/warning-buzzer.ogg', 70, FALSE)
launch_warning = FALSE
log_shuttle("[key_name(usr)] has launched the auxillary base.")
log_shuttle("[key_name(usr)] has launched the auxiliary base.")
else if(!shuttle_error)
say("Shuttle request uploaded. Please stand away from the doors.")
else
@@ -127,16 +127,16 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
updateUsrDialog()
/obj/machinery/computer/auxillary_base/proc/set_mining_mode()
/obj/machinery/computer/auxiliary_base/proc/set_mining_mode()
if(is_mining_level(z)) //The console switches to controlling the mining shuttle once landed.
req_one_access = list()
shuttleId = "mining" //The base can only be dropped once, so this gives the console a new purpose.
possible_destinations = "mining_home;mining_away;landing_zone_dock;mining_public"
/obj/machinery/computer/auxillary_base/proc/set_landing_zone(turf/T, mob/user, no_restrictions)
var/obj/docking_port/mobile/auxillary_base/base_dock = locate(/obj/docking_port/mobile/auxillary_base) in SSshuttle.mobile
/obj/machinery/computer/auxiliary_base/proc/set_landing_zone(turf/T, mob/user, no_restrictions)
var/obj/docking_port/mobile/auxiliary_base/base_dock = locate(/obj/docking_port/mobile/auxiliary_base) in SSshuttle.mobile
if(!base_dock) //Not all maps have an Aux base. This object is useless in that case.
to_chat(user, "<span class='warning'>This station is not equipped with an auxillary base. Please contact your Nanotrasen contractor.</span>")
to_chat(user, "<span class='warning'>This station is not equipped with an auxiliary base. Please contact your Nanotrasen contractor.</span>")
return
if(!no_restrictions)
var/static/list/disallowed_turf_types = typecacheof(list(
@@ -189,7 +189,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
desc = "Deploy to designate the landing zone of the auxillary base."
desc = "Deploy to designate the landing zone of the auxiliary base."
w_class = WEIGHT_CLASS_SMALL
shuttle_id = "colony_drop"
var/setting = FALSE
@@ -207,14 +207,14 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
setting = FALSE
var/turf/T = get_turf(user)
var/obj/machinery/computer/auxillary_base/AB
var/obj/machinery/computer/auxiliary_base/AB
for (var/obj/machinery/computer/auxillary_base/A in GLOB.machines)
for (var/obj/machinery/computer/auxiliary_base/A in GLOB.machines)
if(is_station_level(A.z))
AB = A
break
if(!AB)
to_chat(user, "<span class='warning'>No auxillary base console detected.</span>")
to_chat(user, "<span class='warning'>No auxiliary base console detected.</span>")
return
switch(AB.set_landing_zone(T, user, no_restrictions))
@@ -235,8 +235,8 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
no_restrictions = TRUE
/obj/docking_port/mobile/auxillary_base
name = "auxillary base"
/obj/docking_port/mobile/auxiliary_base
name = "auxiliary base"
id = "colony_drop"
//Reminder to map-makers to set these values equal to the size of your base.
dheight = 4
@@ -244,7 +244,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
width = 9
height = 9
/obj/docking_port/mobile/auxillary_base/takeoff(list/old_turfs, list/new_turfs, list/moved_atoms, rotation, movement_direction, old_dock, area/underlying_old_area)
/obj/docking_port/mobile/auxiliary_base/takeoff(list/old_turfs, list/new_turfs, list/moved_atoms, rotation, movement_direction, old_dock, area/underlying_old_area)
for(var/i in new_turfs)
var/turf/place = i
if(istype(place, /turf/closed/mineral))
@@ -262,7 +262,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
/obj/structure/mining_shuttle_beacon
name = "mining shuttle beacon"
desc = "A bluespace beacon calibrated to mark a landing spot for the mining shuttle when deployed near the auxillary mining base."
desc = "A bluespace beacon calibrated to mark a landing spot for the mining shuttle when deployed near the auxiliary mining base."
anchored = FALSE
density = FALSE
var/shuttle_ID = "landing_zone_dock"
@@ -293,13 +293,13 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
if(!is_mining_level(landing_spot.z))
to_chat(user, "<span class='warning'>This device is only to be used in a mining zone.</span>")
return
var/obj/machinery/computer/auxillary_base/aux_base_console
for(var/obj/machinery/computer/auxillary_base/ABC in GLOB.machines)
var/obj/machinery/computer/auxiliary_base/aux_base_console
for(var/obj/machinery/computer/auxiliary_base/ABC in GLOB.machines)
if(get_dist(landing_spot, ABC) <= console_range)
aux_base_console = ABC
break
if(!aux_base_console) //Needs to be near the base to serve as its dock and configure it to control the mining shuttle.
to_chat(user, "<span class='warning'>The auxillary base's console must be within [console_range] meters in order to interface.</span>")
to_chat(user, "<span class='warning'>The auxiliary base's console must be within [console_range] meters in order to interface.</span>")
return
//Mining shuttles may not be created equal, so we find the map's shuttle dock and size accordingly.
@@ -311,7 +311,7 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
Mport = new(landing_spot)
Mport.id = "landing_zone_dock"
Mport.name = "auxillary base landing site"
Mport.name = "auxiliary base landing site"
Mport.dwidth = SM.dwidth
Mport.dheight = SM.dheight
Mport.width = SM.width
@@ -343,18 +343,18 @@ interface with the mining shuttle at the landing site if a mobile beacon is also
for(var/i in 1 to landing_turfs.len) //You land NEAR the base, not IN it.
var/turf/L = landing_turfs[i]
if(!L) //This happens at map edges
to_chat(user, "<span class='warning'>Unable to secure a valid docking zone. Please try again in an open area near, but not within the auxillary mining base.</span>")
to_chat(user, "<span class='warning'>Unable to secure a valid docking zone. Please try again in an open area near, but not within the auxiliary mining base.</span>")
SSshuttle.stationary.Remove(Mport)
qdel(Mport)
return
if(istype(get_area(L), /area/shuttle/auxillary_base))
if(istype(get_area(L), /area/shuttle/auxiliary_base))
to_chat(user, "<span class='warning'>The mining shuttle must not land within the mining base itself.</span>")
SSshuttle.stationary.Remove(Mport)
qdel(Mport)
return
if(mining_shuttle.canDock(Mport) != SHUTTLE_CAN_DOCK)
to_chat(user, "<span class='warning'>Unable to secure a valid docking zone. Please try again in an open area near, but not within the auxillary mining base.</span>")
to_chat(user, "<span class='warning'>Unable to secure a valid docking zone. Please try again in an open area near, but not within the auxiliary mining base.</span>")
SSshuttle.stationary.Remove(Mport)
qdel(Mport)
return
+5 -5
View File
@@ -12,7 +12,7 @@
/mob/camera/aiEye/remote/base_construction/setLoc(var/t)
var/area/curr_area = get_area(t)
if(curr_area == starting_area || istype(curr_area, /area/shuttle/auxillary_base))
if(curr_area == starting_area || istype(curr_area, /area/shuttle/auxiliary_base))
return ..()
//While players are only allowed to build in the base area, but consoles starting outside the base can move into the base area to begin work.
@@ -42,7 +42,7 @@
var/fans_remaining = 0 //Number of fans in stock.
var/datum/action/innate/aux_base/install_turret/turret_action = new //Action for spawning turrets
var/turret_stock = 0 //Turrets in stock
var/obj/machinery/computer/auxillary_base/found_aux_console //Tracker for the Aux base console, so the eye can always find it.
var/obj/machinery/computer/auxiliary_base/found_aux_console //Tracker for the Aux base console, so the eye can always find it.
icon_screen = "mining"
icon_keyboard = "rd_key"
@@ -63,8 +63,8 @@
/obj/machinery/computer/camera_advanced/base_construction/CreateEye()
var/spawn_spot
for(var/obj/machinery/computer/auxillary_base/ABC in GLOB.machines)
if(istype(get_area(ABC), /area/shuttle/auxillary_base))
for(var/obj/machinery/computer/auxiliary_base/ABC in GLOB.machines)
if(istype(get_area(ABC), /area/shuttle/auxiliary_base))
found_aux_console = ABC
break
@@ -147,7 +147,7 @@
var/turf/build_target = get_turf(remote_eye)
var/area/build_area = get_area(build_target)
if(!istype(build_area, /area/shuttle/auxillary_base))
if(!istype(build_area, /area/shuttle/auxiliary_base))
to_chat(owner, "<span class='warning'>You can only build within the mining base!</span>")
return FALSE
+1 -1
View File
@@ -173,7 +173,7 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
/obj/effect/extraction_holder
name = "extraction holder"
desc = "you shouldnt see this"
desc = "you shouldn't see this"
var/atom/movable/stored_obj
/obj/item/extraction_pack/proc/check_for_living_mobs(atom/A)