mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes xenoarch runtime
This commit is contained in:
@@ -545,13 +545,9 @@
|
||||
new_item.desc = src.desc
|
||||
|
||||
if(talkative)
|
||||
new_item.talking_atom = new()
|
||||
talking_atom.holder_atom = new_item
|
||||
talking_atom.init()
|
||||
new_item.talking_atom = new(new_item)
|
||||
|
||||
del(src)
|
||||
|
||||
else if(talkative)
|
||||
src.talking_atom = new()
|
||||
talking_atom.holder_atom = src
|
||||
talking_atom.init()
|
||||
src.talking_atom = new(src)
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
var/talk_interval = 50
|
||||
var/talk_chance = 10
|
||||
|
||||
/datum/talking_atom/New(atom/holder)
|
||||
holder_atom = holder
|
||||
init()
|
||||
|
||||
/datum/talking_atom/proc/init()
|
||||
if(holder_atom)
|
||||
processing_objects.Add(src)
|
||||
@@ -55,7 +59,7 @@
|
||||
|
||||
if(prob(30))
|
||||
var/list/options = list("[holder_atom] seems to be listening intently to [source]...",\
|
||||
"[holder_atom] seems to be focussing on [source]...",\
|
||||
"[holder_atom] seems to be focusing on [source]...",\
|
||||
"[holder_atom] seems to turn it's attention to [source]...")
|
||||
holder_atom.loc.visible_message("\blue \icon[holder_atom] [pick(options)]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user