Continous update intergration until being merged

Also tgui fixes/updates
This commit is contained in:
Poojawa
2018-09-15 00:37:29 -05:00
parent a38922d90f
commit 1a2460ed28
12 changed files with 47 additions and 41 deletions

View File

@@ -321,6 +321,7 @@
deactivate_sr() deactivate_sr()
/obj/item/borg/upgrade/selfrepair/dropped() /obj/item/borg/upgrade/selfrepair/dropped()
. = ..()
addtimer(CALLBACK(src, .proc/check_dropped), 1) addtimer(CALLBACK(src, .proc/check_dropped), 1)
/obj/item/borg/upgrade/selfrepair/proc/check_dropped() /obj/item/borg/upgrade/selfrepair/proc/check_dropped()
@@ -500,7 +501,7 @@
if (.) if (.)
var/obj/item/surgical_processor/SP = locate() in R.module var/obj/item/surgical_processor/SP = locate() in R.module
R.module.remove_module(SP, TRUE) R.module.remove_module(SP, TRUE)
/obj/item/borg/upgrade/ai /obj/item/borg/upgrade/ai
name = "B.O.R.I.S. module" name = "B.O.R.I.S. module"
desc = "Bluespace Optimized Remote Intelligence Synchronization. An uplink device which takes the place of an MMI in cyborg endoskeletons, creating a robotic shell controlled by an AI." desc = "Bluespace Optimized Remote Intelligence Synchronization. An uplink device which takes the place of an MMI in cyborg endoskeletons, creating a robotic shell controlled by an AI."
@@ -635,4 +636,4 @@
name = "borg module picker (Clown)" name = "borg module picker (Clown)"
desc = "Allows you to to turn a cyborg into a clown, honk." desc = "Allows you to to turn a cyborg into a clown, honk."
icon_state = "cyborg_upgrade3" icon_state = "cyborg_upgrade3"
new_module = /obj/item/robot_module/clown new_module = /obj/item/robot_module/clown

View File

@@ -74,7 +74,7 @@
else else
add_overlay("[icon_state]_open") add_overlay("[icon_state]_open")
/obj/structure/closet/examine(mob/living/user) /obj/structure/closet/examine(mob/user)
..() ..()
if(welded) if(welded)
to_chat(user, "<span class='notice'>It's welded shut.</span>") to_chat(user, "<span class='notice'>It's welded shut.</span>")
@@ -84,8 +84,10 @@
to_chat(user, "<span class='notice'>The parts are <b>welded</b> together.</span>") to_chat(user, "<span class='notice'>The parts are <b>welded</b> together.</span>")
else if(secure && !opened) else if(secure && !opened)
to_chat(user, "<span class='notice'>Alt-click to [locked ? "unlock" : "lock"].</span>") to_chat(user, "<span class='notice'>Alt-click to [locked ? "unlock" : "lock"].</span>")
if(user.has_trait(TRAIT_SKITTISH)) if(isliving(user))
to_chat(user, "<span class='notice'>Ctrl-Shift-click [src] to jump inside.</span>") var/mob/living/L = user
if(L.has_trait(TRAIT_SKITTISH))
to_chat(user, "<span class='notice'>Ctrl-Shift-click [src] to jump inside.</span>")
/obj/structure/closet/CanPass(atom/movable/mover, turf/target) /obj/structure/closet/CanPass(atom/movable/mover, turf/target)
if(wall_mounted) if(wall_mounted)

View File

@@ -92,6 +92,7 @@
baseturfs = /turf/open/lava/smooth baseturfs = /turf/open/lava/smooth
/turf/open/floor/plating/asteroid/basalt/airless /turf/open/floor/plating/asteroid/basalt/airless
baseturfs = /turf/open/floor/plating/asteroid/airless
initial_gas_mix = "TEMP=2.7" initial_gas_mix = "TEMP=2.7"
/turf/open/floor/plating/asteroid/basalt/Initialize() /turf/open/floor/plating/asteroid/basalt/Initialize()

View File

@@ -188,7 +188,6 @@
shuttleId = "pirateship" shuttleId = "pirateship"
lock_override = CAMERA_LOCK_STATION lock_override = CAMERA_LOCK_STATION
shuttlePortId = "pirateship_custom" shuttlePortId = "pirateship_custom"
shuttlePortName = "custom location"
x_offset = 9 x_offset = 9
y_offset = 0 y_offset = 0
see_hidden = FALSE see_hidden = FALSE

View File

@@ -39,11 +39,15 @@
for(var/i in baseturf_cache) for(var/i in baseturf_cache)
if(baseturf_to_replace[i]) if(baseturf_to_replace[i])
baseturf_cache -= i baseturf_cache -= i
if(!baseturf_cache.len)
thing.assemble_baseturfs(baseturf)
else
thing.PlaceOnBottom(null, baseturf)
else if(baseturf_to_replace[thing.baseturfs]) else if(baseturf_to_replace[thing.baseturfs])
thing.assemble_baseturfs(baseturf) thing.assemble_baseturfs(baseturf)
return return
else
thing.PlaceOnBottom(null, baseturf) thing.PlaceOnBottom(null, baseturf)
/obj/effect/baseturf_helper/space /obj/effect/baseturf_helper/space
name = "space baseturf editor" name = "space baseturf editor"

View File

@@ -1025,7 +1025,8 @@
module.transform_to(/obj/item/robot_module) module.transform_to(/obj/item/robot_module)
// Remove upgrades. // Remove upgrades.
for(var/obj/item/I in upgrades) for(var/obj/item/borg/upgrade/I in upgrades)
I.deactivate(src)
I.forceMove(get_turf(src)) I.forceMove(get_turf(src))
upgrades.Cut() upgrades.Cut()

View File

@@ -67,7 +67,6 @@
shuttleId = "caravantrade1" shuttleId = "caravantrade1"
lock_override = NONE lock_override = NONE
shuttlePortId = "caravantrade1_custom" shuttlePortId = "caravantrade1_custom"
shuttlePortName = "Custom Location"
jumpto_ports = list("whiteship_away" = 1, "whiteship_home" = 1, "whiteship_z4" = 1, "caravantrade1_ambush" = 1) jumpto_ports = list("whiteship_away" = 1, "whiteship_home" = 1, "whiteship_z4" = 1, "caravantrade1_ambush" = 1)
view_range = 14 view_range = 14
x_offset = -5 x_offset = -5
@@ -92,7 +91,6 @@
shuttleId = "caravanpirate" shuttleId = "caravanpirate"
lock_override = NONE lock_override = NONE
shuttlePortId = "caravanpirate_custom" shuttlePortId = "caravanpirate_custom"
shuttlePortName = "Custom Location"
jumpto_ports = list("caravanpirate_ambush" = 1) jumpto_ports = list("caravanpirate_ambush" = 1)
view_range = 14 view_range = 14
x_offset = 3 x_offset = 3
@@ -117,7 +115,6 @@
shuttleId = "caravansyndicate1" shuttleId = "caravansyndicate1"
lock_override = NONE lock_override = NONE
shuttlePortId = "caravansyndicate1_custom" shuttlePortId = "caravansyndicate1_custom"
shuttlePortName = "Custom Location"
jumpto_ports = list("caravansyndicate1_ambush" = 1, "caravansyndicate1_listeningpost" = 1) jumpto_ports = list("caravansyndicate1_ambush" = 1, "caravansyndicate1_listeningpost" = 1)
view_range = 7 view_range = 7
x_offset = 2 x_offset = 2
@@ -142,7 +139,6 @@
shuttleId = "caravansyndicate2" shuttleId = "caravansyndicate2"
lock_override = NONE lock_override = NONE
shuttlePortId = "caravansyndicate2_custom" shuttlePortId = "caravansyndicate2_custom"
shuttlePortName = "Custom Location"
jumpto_ports = list("caravansyndicate2_ambush" = 1, "caravansyndicate1_listeningpost" = 1) jumpto_ports = list("caravansyndicate2_ambush" = 1, "caravansyndicate1_listeningpost" = 1)
view_range = 7 view_range = 7
x_offset = 0 x_offset = 0
@@ -167,7 +163,6 @@
shuttleId = "caravansyndicate3" shuttleId = "caravansyndicate3"
lock_override = NONE lock_override = NONE
shuttlePortId = "caravansyndicate3_custom" shuttlePortId = "caravansyndicate3_custom"
shuttlePortName = "Custom Location"
jumpto_ports = list("caravansyndicate3_ambush" = 1, "caravansyndicate3_listeningpost" = 1) jumpto_ports = list("caravansyndicate3_ambush" = 1, "caravansyndicate3_listeningpost" = 1)
view_range = 10 view_range = 10
x_offset = -1 x_offset = -1

View File

@@ -6,7 +6,7 @@
var/datum/action/innate/shuttledocker_place/place_action = new var/datum/action/innate/shuttledocker_place/place_action = new
var/shuttleId = "" var/shuttleId = ""
var/shuttlePortId = "" var/shuttlePortId = ""
var/shuttlePortName = "" var/shuttlePortName = "custom location"
var/list/jumpto_ports = list() //hashset of ports to jump to and ignore for collision purposes var/list/jumpto_ports = list() //hashset of ports to jump to and ignore for collision purposes
var/obj/docking_port/stationary/my_port //the custom docking port placed by this console var/obj/docking_port/stationary/my_port //the custom docking port placed by this console
var/obj/docking_port/mobile/shuttle_port //the mobile docking port of the connected shuttle var/obj/docking_port/mobile/shuttle_port //the mobile docking port of the connected shuttle

View File

@@ -53,7 +53,6 @@
shuttleId = "syndicate" shuttleId = "syndicate"
lock_override = CAMERA_LOCK_STATION lock_override = CAMERA_LOCK_STATION
shuttlePortId = "syndicate_custom" shuttlePortId = "syndicate_custom"
shuttlePortName = "custom location"
jumpto_ports = list("syndicate_ne" = 1, "syndicate_nw" = 1, "syndicate_n" = 1, "syndicate_se" = 1, "syndicate_sw" = 1, "syndicate_s" = 1) jumpto_ports = list("syndicate_ne" = 1, "syndicate_nw" = 1, "syndicate_n" = 1, "syndicate_se" = 1, "syndicate_sw" = 1, "syndicate_s" = 1)
view_range = 13 view_range = 13
x_offset = -7 x_offset = -7

View File

@@ -24,7 +24,6 @@
shuttleId = "whiteship" shuttleId = "whiteship"
lock_override = NONE lock_override = NONE
shuttlePortId = "whiteship_custom" shuttlePortId = "whiteship_custom"
shuttlePortName = "Custom Location"
jumpto_ports = list("whiteship_away" = 1, "whiteship_home" = 1, "whiteship_z4" = 1) jumpto_ports = list("whiteship_away" = 1, "whiteship_home" = 1, "whiteship_z4" = 1)
view_range = 18 view_range = 18
x_offset = -6 x_offset = -6
@@ -36,7 +35,6 @@
desc = "Used to designate a precise transit location for the Salvage Pod." desc = "Used to designate a precise transit location for the Salvage Pod."
shuttleId = "whiteship_pod" shuttleId = "whiteship_pod"
shuttlePortId = "whiteship_pod_custom" shuttlePortId = "whiteship_pod_custom"
shuttlePortName = "Custom Location"
jumpto_ports = list("whiteship_pod_home" = 1) jumpto_ports = list("whiteship_pod_home" = 1)
view_range = 7 view_range = 7
x_offset = -2 x_offset = -2

44
tgui/package-lock.json generated
View File

@@ -361,9 +361,9 @@
} }
}, },
"atob": { "atob": {
"version": "2.1.1", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.1.tgz", "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
"integrity": "sha1-ri1acpR38onWDdf5amMUoi3Wwio=" "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg=="
}, },
"autoprefixer": { "autoprefixer": {
"version": "6.7.7", "version": "6.7.7",
@@ -2054,12 +2054,18 @@
"integrity": "sha1-vLgrqnKtebQmp2cy8aga1t8m1oQ=" "integrity": "sha1-vLgrqnKtebQmp2cy8aga1t8m1oQ="
}, },
"define-properties": { "define-properties": {
"version": "1.1.2", "version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
"integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
"requires": { "requires": {
"foreach": "^2.0.5", "object-keys": "^1.0.12"
"object-keys": "^1.0.8" },
"dependencies": {
"object-keys": {
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz",
"integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag=="
}
} }
}, },
"define-property": { "define-property": {
@@ -2262,9 +2268,9 @@
} }
}, },
"es5-ext": { "es5-ext": {
"version": "0.10.45", "version": "0.10.46",
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.45.tgz", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.46.tgz",
"integrity": "sha512-FkfM6Vxxfmztilbxxz5UKSD4ICMf5tSpRFtDNtkAhOxZ0EKtX6qwmXNyH/sFyIbX2P/nU5AMiA9jilWsUGJzCQ==", "integrity": "sha512-24XxRvJXNFwEMpJb3nOkiRJKRoupmjYmOPVlI65Qy2SrtxwOTB+g6ODjBKOtwEHbYrhWRty9xxOWLNdClT2djw==",
"requires": { "requires": {
"es6-iterator": "~2.0.3", "es6-iterator": "~2.0.3",
"es6-symbol": "~3.1.1", "es6-symbol": "~3.1.1",
@@ -2911,9 +2917,9 @@
}, },
"dependencies": { "dependencies": {
"glob": { "glob": {
"version": "7.1.2", "version": "7.1.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
"requires": { "requires": {
"fs.realpath": "^1.0.0", "fs.realpath": "^1.0.0",
"inflight": "^1.0.4", "inflight": "^1.0.4",
@@ -4737,9 +4743,9 @@
} }
}, },
"mute-stdout": { "mute-stdout": {
"version": "1.0.0", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/mute-stdout/-/mute-stdout-1.0.0.tgz", "resolved": "https://registry.npmjs.org/mute-stdout/-/mute-stdout-1.0.1.tgz",
"integrity": "sha1-WzLqB+tDyd7WEwQ0z5JvRrKn/U0=" "integrity": "sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg=="
}, },
"nanomatch": { "nanomatch": {
"version": "1.2.13", "version": "1.2.13",
@@ -5011,7 +5017,7 @@
}, },
"os-locale": { "os-locale": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
"requires": { "requires": {
"lcid": "^1.0.0" "lcid": "^1.0.0"
@@ -7123,7 +7129,7 @@
}, },
"wrap-ansi": { "wrap-ansi": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
"integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
"requires": { "requires": {
"string-width": "^1.0.1", "string-width": "^1.0.1",

View File

@@ -25,11 +25,11 @@
"gulp-bytediff": "1.0.0", "gulp-bytediff": "1.0.0",
"gulp-cssnano": "2.1.2", "gulp-cssnano": "2.1.2",
"gulp-if": "2.0.0", "gulp-if": "2.0.0",
"gulp-load-plugins": "^1.5.0", "gulp-load-plugins": "1.5.0",
"gulp-postcss": "6.1.0", "gulp-postcss": "6.1.0",
"gulp-size": "2.0.0", "gulp-size": "2.0.0",
"gulp-sourcemaps": "1.6.0", "gulp-sourcemaps": "1.6.0",
"gulp-stylus": "^2.7.0", "gulp-stylus": "2.7.0",
"gulp-uglify": "1.5.2", "gulp-uglify": "1.5.2",
"gulplog": "1.0.0", "gulplog": "1.0.0",
"html5shiv": "3.7.3", "html5shiv": "3.7.3",
@@ -47,9 +47,9 @@
"ractive-events-keys": "0.2.1", "ractive-events-keys": "0.2.1",
"ractive-transitions-fade": "0.3.1", "ractive-transitions-fade": "0.3.1",
"require-globify": "1.3.0", "require-globify": "1.3.0",
"stylus": "^0.54.5", "stylus": "0.54.5",
"vinyl-buffer": "1.0.1", "vinyl-buffer": "1.0.1",
"vinyl-source-stream": "^2.0.0", "vinyl-source-stream": "2.0.0",
"watchify": "3.7.0" "watchify": "3.7.0"
}, },
"browser": { "browser": {