carrier_room
carrier Room
This datum is where souls are sent to when joining soulcatchers. It handles sending messages to souls from the outside along with adding new souls, transfering, and removing souls.
Vars | |
current_mobs | What souls are currently inside of the room? |
---|---|
current_overlay_path | What overlay is being currently used? Don't directly change this, use change_fullscreen_overlay() |
joinable | Can the room be joined at all? |
master_carrier | Weakref for the master carrier datum |
name | What is the name of the room? |
outside_voice | What is the name of the person sending the messages? |
overlay_color | What color do we want the overlay to be, if any? |
overlay_recolorable | Is our overlay recolorable? This is here for TGUI |
room_color | What is the color of chat messages sent by the room? |
room_description | What is the description of the room? |
Procs | |
add_mob | Adds a mob into the carrier |
add_soul_from_mind | Converts a mind into a soul and adds the resulting soul to the room. |
change_fullscreen_overlay | Changes the fullscreen overlay for everyone inside of the current carrier room |
relay_message_to_carrier | Relays a message sent from the send_message proc to the parent carrier datum |
remove_mob | Removes a mob from a carrier room, leaving it as a ghost. Returns FALSE if the mob_to_remove cannot be found, otherwise returns TRUE after a successful deletion. |
send_message | Sends a message or emote to all of the souls currently located inside of the carrier room. Returns FALSE if a message cannot be sent, otherwise returns TRUE . |
set_overlay_for_mob | Sets the current overlay for a mob |
Var Details
current_mobs
What souls are currently inside of the room?
current_overlay_path
What overlay is being currently used? Don't directly change this, use change_fullscreen_overlay()
joinable
Can the room be joined at all?
master_carrier
Weakref for the master carrier datum
name
What is the name of the room?
outside_voice
What is the name of the person sending the messages?
overlay_color
What color do we want the overlay to be, if any?
overlay_recolorable
Is our overlay recolorable? This is here for TGUI
room_color
What is the color of chat messages sent by the room?
room_description
What is the description of the room?
Proc Details
add_mob
Adds a mob into the carrier
add_soul_from_mind
Converts a mind into a soul and adds the resulting soul to the room.
change_fullscreen_overlay
Changes the fullscreen overlay for everyone inside of the current carrier room
relay_message_to_carrier
Relays a message sent from the send_message proc to the parent carrier datum
remove_mob
Removes a mob from a carrier room, leaving it as a ghost. Returns FALSE
if the mob_to_remove
cannot be found, otherwise returns TRUE
after a successful deletion.
send_message
Sends a message or emote to all of the souls currently located inside of the carrier room. Returns FALSE
if a message cannot be sent, otherwise returns TRUE
.
Arguments
- message_to_send - The message we want to send to the occupants of the room
- sender_name - The person that is sending the message. This is not required.
- sender_mob - The person that is sending the message. This is not required.
- emote - Is the message sent an emote or not?
set_overlay_for_mob
Sets the current overlay for a mob