Paradise Station 13 - Modules - TypesVar Details - Proc Details

Feed Channel

Describes a single feed channel. Owns a list of /datum/feed_message.

Vars

admin_lockedWhether the channel is admin-locked.
authorThe author of the channel.
backup_authorThe fallback author name to display if the channel is censored.
censoredWhether the channel is censored or not.
channel_nameThe name of the channel.
descriptionThe description of the channel.
frozenWhether the channel is frozen or not.
iconThe channel's icon.
is_publicWhether the channel is public or not.
messagesLazy list. Contains all /datum/feed_message pertaining to the channel.

Procs

add_messageAdds a new story to the channel and network singleton.
can_modifyReturns whether the given user can edit or delete this channel.
can_publishReturns whether the given user can publish new stories to this channel.
clearClears the channel's information.
get_announce_textReturns the text to be said by newscasters when announcing new news from a channel.

Var Details

admin_locked

Whether the channel is admin-locked.

author

The author of the channel.

backup_author

The fallback author name to display if the channel is censored.

censored

Whether the channel is censored or not.

channel_name

The name of the channel.

description

The description of the channel.

frozen

Whether the channel is frozen or not.

icon

The channel's icon.

is_public

Whether the channel is public or not.

messages

Lazy list. Contains all /datum/feed_message pertaining to the channel.

Proc Details

add_message

Adds a new story to the channel and network singleton.

Arguments:

can_modify

Returns whether the given user can edit or delete this channel.

Arguments:

can_publish

Returns whether the given user can publish new stories to this channel.

Arguments:

clear

Clears the channel's information.

Discards all owned stories.

get_announce_text

Returns the text to be said by newscasters when announcing new news from a channel.

Arguments: