diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 850af5953f2..0930fbbcd90 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -10,7 +10,6 @@ #define MODE_READING 0 #define MODE_WRITING 1 #define MODE_STAMPING 2 -#define MODE_HELPSHEET 3 /** @@ -76,41 +75,6 @@ pickup_sound = 'sound/items/handling/paper_pickup.ogg' grind_results = list(/datum/reagent/cellulose = 3) color = "white" - var/static/help_info = {" -
Paper now uses Markup!
- -

# H1 Heading

-

## H2 Heading

-

### H3 Heading

-

#### H4 Heading

-
#### H5 Heading
-

Bold Just suround with two *
Italic Just suround with one *

- -
    -
  1. Like this
  2. -
- -
-

No links or images are supported but some standard html formating is supported
-To sign your name just type %s or %sign at the end of a line
-If you want to use forms, just place a bracket with underlines. The more underlines the more charaters it supports
-Like so \[_____\] \[\]
-When you fill in a form field, you cannot erase it.

-
-"} /// What's actually written on the paper. var/info = "" @@ -260,19 +224,7 @@ When you fill in a form field, you cannot erase it.

/obj/item/paper/examine_more(mob/user) - ui_interact(user) - - -/obj/item/paper/verb/help() - set name = "Paper Help" - set category = "Object" - set src in usr - - // cut paper? the sky is the limit! - var/datum/ui_state/default/paper_state/state = new - state.edit_mode = MODE_HELPSHEET - src.create_ui(usr, state) // The other ui will be created with just read mode outside of this - + create_ui(user) /obj/item/paper/can_interact(mob/user) @@ -404,18 +356,13 @@ When you fill in a form field, you cannot erase it.

var/datum/ui_state/default/paper_state/state = ui.state // Should all this go in static data and just do a forced update? - if(state.edit_mode == MODE_HELPSHEET) - data["edit_mode"] = MODE_READING - data["text"] = help_info - else - data["edit_mode"] = state.edit_mode - data["text"] = info - + data["text"] = info data["max_length"] = MAX_PAPER_LENGTH data["paper_state"] = icon_state /// TODO: show the sheet will bloodied or crinkling? data["paper_color"] = !color || color == "white" ? "#FFFFFF" : color // color might not be set data["stamps"] = stamps + data["edit_mode"] = state.edit_mode data["edit_usr"] = "[ui.user]"; // pen info for editing