Build Mode Preview + better help text (#76095)

## About The Pull Request
Gives `Adv Build Mode` and `Fill` an item preview, and puts the help
text for build mode modes into an examine block.


https://github.com/tgstation/tgstation/assets/66640614/6751c721-6ddd-4761-8311-fb002ea905ac


![image](https://github.com/tgstation/tgstation/assets/66640614/3f6fe986-1767-4639-94d3-523f1039c947)


![image](https://github.com/tgstation/tgstation/assets/66640614/a7eae938-a575-46bd-b00e-865f04e0de20)


## Why It's Good For The Game
It's good to see what you're doing. 

## Changelog
🆑 Tattle
admin: build mode help text is in an examine block
admin: adv build mode and fill now have item previews
/🆑

---------

Co-authored-by: tattle <article.disaster@gmail.com>
Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
tattle
2023-06-23 20:04:18 -06:00
committed by GitHub
co-authored by tattle san7890
parent 014872f051
commit d81eaae90c
16 changed files with 129 additions and 89 deletions
+9 -9
View File
@@ -1,15 +1,15 @@
/datum/buildmode_mode/basic
key = "basic"
/datum/buildmode_mode/basic/show_help(client/c)
to_chat(c, span_notice("***********************************************************"))
to_chat(c, span_notice("Left Mouse Button = Construct / Upgrade"))
to_chat(c, span_notice("Right Mouse Button = Deconstruct / Delete / Downgrade"))
to_chat(c, span_notice("Left Mouse Button + ctrl = R-Window"))
to_chat(c, span_notice("Left Mouse Button + alt = Airlock"))
to_chat(c, span_notice("\nUse the button in the upper left corner to"))
to_chat(c, span_notice("change the direction of built objects."))
to_chat(c, span_notice("***********************************************************"))
/datum/buildmode_mode/basic/show_help(client/builder)
to_chat(builder, span_purple(examine_block(
"[span_bold("Construct / Upgrade")] -> Left Mouse Button\n\
[span_bold("Deconstruct / Delete / Downgrade")] -> Right Mouse Button\n\
[span_bold("R-Window")] -> Left Mouse Button + Ctrl\n\
[span_bold("Airlock")] -> Left Mouse Button + Alt \n\
\n\
Use the button in the upper left corner to change the direction of built objects."))
)
/datum/buildmode_mode/basic/handle_click(client/c, params, obj/object)
var/list/modifiers = params2list(params)