1.Door Mat
2.House sign( next to Door Mat for outside)
3.House Console (which gets list of player allowed)
i just cant figure out how to get these working
there are 2 doormat (inside and outside), the outside one gets the list of players allowed inside from House sign.
House Console, user can get verbs like Remove Player, Add Player etc. and then it sync settings with House sign connected to it, which don't happen.
House sign, same as House Console.
oh yea... here is the code.
obj
var
list
Permit = list()
Link
Sign
verb
Permit()
set src in view()
if(src.Owner == usr)
var/list/Peepz = list()
for(var/mob/M in world)
if(M.client)
Peepz += M
var/mob/P = input() in Peepz
src.Permit += P
for(var/obj/O in world)
if(O.Link == src.tag)
O.Permit += P
New()
var/list/InstanceList=InstanceDatum.Instances[src.InstanceID]
InstanceList+=src
src.name="[src.name] #[InstanceList.len]"
src.Link="[src.name] #[InstanceList.len]"
src.suffix=src.name
var/datum/InstanceDatum/InstanceDatum=new
datum/InstanceDatum
var/list/Instances=list()