Adds a proc for copying languages from another thing (#1021)

This commit is contained in:
CitadelStationBot
2017-05-18 13:18:04 -05:00
committed by Poojawa
parent a5f858d8fb
commit 3e26a2d60f
2 changed files with 22 additions and 0 deletions
+4
View File
@@ -605,6 +605,10 @@
var/datum/language_holder/H = get_language_holder()
. = H.has_language(dt)
/atom/movable/proc/copy_known_languages_from(thing, replace=FALSE)
var/datum/language_holder/H = get_language_holder()
. = H.copy_known_languages_from(thing, replace)
// Whether an AM can speak in a language or not, independent of whether
// it KNOWS the language
/atom/movable/proc/could_speak_in_language(datum/language/dt)