/tg/ Station 13 - Modules - TypesVar Details - Proc Details

newspanel

Vars

channel_descWhat is the current, in-creation channel's description going to be?
channel_nameWhat is the current, in-creation channel's name going to be?
comment_textWhat is the current, in-creation comment's body going to be?
creating_channelIs the current user creating a new channel at the moment?
creating_commentIs the current user creating a new comment at the moment?
crime_descriptionWhat is the user submitted, crime description for the new wanted issue?
criminal_nameWhat is the user submitted, criminal name for the new wanted issue?
current_channelWhat newscaster channel is currently being viewed by the player?
current_imageThe current image that will be submitted with the newscaster story.
current_messageWhat newscaster feed_message is currently having a comment written for it?
feed_channel_messageThe message that's currently being written for a feed story.
viewing_wantedIs the current user editing or viewing a new wanted issue at the moment?

Procs

attach_photoThis takes a held photograph, and updates the current_image variable with that of the held photograph's image. *user: The mob who is being checked for a held photo object.
create_channelPerforms a series of sanity checks before giving the user confirmation to create a new feed_channel using channel_name, and channel_desc. *channel_locked: This variable determines if other users than the author can make comments and new feed_stories on this channel.
create_commentConstructs a comment to attach to the currently selected feed_message of choice, assuming that a user can be found and that a message body has been written.
create_storyCreates a new feed story to the global newscaster network. Verifies that the message is being written to a real feed_channel, then provides a text input for the feed story to be written into. Finally, it submits the message to the network, is logged globally, and clears all message-specific variables from the machine.
send_photo_dataSends photo data to build the newscaster article.
start_creating_channelThis proc performs checks before enabling the creating_channel var on the newscaster, such as preventing a user from having multiple channels, preventing an un-ID'd user from making a channel, and preventing censored authors from making a channel. Otherwise, sets creating_channel to TRUE.
toggle_photoSelects a currently held photo from the user's hand and makes it the current_image held by the newscaster. If a photo is still held in the newscaster, it will otherwise clear it from the machine.

Var Details

channel_desc

What is the current, in-creation channel's description going to be?

channel_name

What is the current, in-creation channel's name going to be?

comment_text

What is the current, in-creation comment's body going to be?

creating_channel

Is the current user creating a new channel at the moment?

creating_comment

Is the current user creating a new comment at the moment?

crime_description

What is the user submitted, crime description for the new wanted issue?

criminal_name

What is the user submitted, criminal name for the new wanted issue?

current_channel

What newscaster channel is currently being viewed by the player?

current_image

The current image that will be submitted with the newscaster story.

current_message

What newscaster feed_message is currently having a comment written for it?

feed_channel_message

The message that's currently being written for a feed story.

viewing_wanted

Is the current user editing or viewing a new wanted issue at the moment?

Proc Details

attach_photo

This takes a held photograph, and updates the current_image variable with that of the held photograph's image. *user: The mob who is being checked for a held photo object.

create_channel

Performs a series of sanity checks before giving the user confirmation to create a new feed_channel using channel_name, and channel_desc. *channel_locked: This variable determines if other users than the author can make comments and new feed_stories on this channel.

create_comment

Constructs a comment to attach to the currently selected feed_message of choice, assuming that a user can be found and that a message body has been written.

create_story

Creates a new feed story to the global newscaster network. Verifies that the message is being written to a real feed_channel, then provides a text input for the feed story to be written into. Finally, it submits the message to the network, is logged globally, and clears all message-specific variables from the machine.

send_photo_data

Sends photo data to build the newscaster article.

start_creating_channel

This proc performs checks before enabling the creating_channel var on the newscaster, such as preventing a user from having multiple channels, preventing an un-ID'd user from making a channel, and preventing censored authors from making a channel. Otherwise, sets creating_channel to TRUE.

toggle_photo

Selects a currently held photo from the user's hand and makes it the current_image held by the newscaster. If a photo is still held in the newscaster, it will otherwise clear it from the machine.