you can finally move through medical laptops. also tweaks some sprites. (#6877)

tweak: "You can finally move through medical laptops. They're no longer impenetrable, indestructable anchors."
    imageadd: "Updates sprites of medical laptops and guest pass terminals."
This commit is contained in:
alsoandanswer
2019-10-06 00:35:43 +08:00
committed by Erki
parent 4b386dc6ce
commit 2ccd572678
3 changed files with 47 additions and 4 deletions

View File

@@ -36,6 +36,7 @@
icon_state = "medlaptop0"
icon_screen = "medlaptop"
is_holographic = FALSE
density = 0 // so you can walk through them. because, well, they're goddamn laptops.
/obj/machinery/computer/records/security
name = "security records console"
@@ -94,12 +95,12 @@
"editingvalue" = "",
"choices" = typechoices
)
if(!authenticated)
VUEUI_SET_CHECK(ui.activeui, "records-login", ., data)
else
VUEUI_SET_CHECK(ui.activeui, "records-main", ., data)
VUEUI_SET_CHECK(data["avaivabletypes"], records_type, ., data)
VUEUI_SET_CHECK(data["editable"], edit_type, ., data)
LAZYINITLIST(data["allrecords"])
@@ -121,7 +122,7 @@
VUEUI_SET_CHECK(data["allrecords"][R.id]["blood"], R.medical.blood_type, ., data)
VUEUI_SET_CHECK(data["allrecords"][R.id]["dna"], R.medical.blood_dna, ., data)
if(records_type & RECORD_LOCKED)
if(data["allrecords_locked"].len != SSrecords.records_locked.len)
data["allrecords_locked"].Cut()
@@ -300,7 +301,7 @@
. = TRUE
if(.)
SSvueui.check_uis_for_change(t)
/listener/record/rconsole/on_modify(var/datum/record/r)
var/obj/machinery/computer/records/t = target
if(istype(t) && !t.isEditing)

View File

@@ -0,0 +1,42 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
# balance
# admin
# backend
# security
# refactor
#################################
# Your name.
author: Wowzewow
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- tweak: "You can finally move through medical laptops. They're no longer impenetrable, indestructable anchors."
- imageadd: "Updates sprites of medical laptops and guest pass terminals."

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 96 KiB