mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Port Atlas's implementation of -tg-'s canvas art.
This commit is contained in:
@@ -70,4 +70,6 @@
|
||||
"AZERTY" = list(
|
||||
"on" = "AZERTYon",
|
||||
"off" = "AZERTYoff")
|
||||
)
|
||||
)
|
||||
|
||||
var/reset_stretch = 0 //Used by things that fiddle with client's stretch-to-fit.
|
||||
@@ -176,6 +176,17 @@
|
||||
|
||||
/client/Move(n, direct)
|
||||
|
||||
if(viewingCanvas)
|
||||
view = world.view //Reset the view
|
||||
winset(src, "mapwindow.map", "icon-size=[src.reset_stretch]")
|
||||
viewingCanvas = 0
|
||||
mob.reset_view()
|
||||
mob.button_pressed_F12()
|
||||
if(!mob.hud_used.hud_shown)
|
||||
mob.button_pressed_F12()
|
||||
mob.update_hud()
|
||||
mob.update_action_buttons()
|
||||
|
||||
if(mob.control_object) Move_object(direct)
|
||||
|
||||
if(world.time < move_delay) return
|
||||
|
||||
@@ -226,6 +226,38 @@
|
||||
build_path = /obj/item/device/assembly/voice
|
||||
category = list("initial", "Miscellaneous")
|
||||
|
||||
/datum/design/canvas
|
||||
name = "11px by 11px Canvas"
|
||||
id = "canvas"
|
||||
build_type = AUTOLATHE
|
||||
materials = list("$metal" = 50)
|
||||
build_path = /obj/item/weapon/canvas
|
||||
category = list("initial", "Miscellaneous")
|
||||
|
||||
/datum/design/canvas/nineteenXnineteen
|
||||
name = "19px by 19px Canvas"
|
||||
id = "canvas19x19"
|
||||
build_type = AUTOLATHE
|
||||
materials = list("$metal" = 50)
|
||||
build_path = /obj/item/weapon/canvas/nineteenXnineteen
|
||||
category = list("initial", "Miscellaneous")
|
||||
|
||||
/datum/design/canvas/twentythreeXnineteen
|
||||
name = "23px by 19px Canvas"
|
||||
id = "canvas23x19"
|
||||
build_type = AUTOLATHE
|
||||
materials = list("$metal" = 70)
|
||||
build_path = /obj/item/weapon/canvas/twentythreeXnineteen
|
||||
category = list("initial", "Miscellaneous")
|
||||
|
||||
/datum/design/canvas/twentythreeXtwentythree
|
||||
name = "23px by 23px Canvas"
|
||||
id = "canvas23x23"
|
||||
build_type = AUTOLATHE
|
||||
materials = list("$metal" = 100)
|
||||
build_path = /obj/item/weapon/canvas/twentythreeXtwentythree
|
||||
category = list("initial", "Miscellaneous")
|
||||
|
||||
/datum/design/camera_assembly
|
||||
name = "Camera Assembly"
|
||||
id = "camera_assembly"
|
||||
|
||||
Reference in New Issue
Block a user