mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
* Move DMI files over to 64x64 * Lighting overlay + world.icon_size. * Change 32 to world icon size * Adds pixel shift multiplier * Fix accidentaly 16 -> world_icon_size/4 conversion to proper world_icon_size/2 conversion * Fixes lighting properly * Fix spacepods bounds * Redo all icons with BYONDTools bug fixed * Update ALL the map files dear god * Double crayon font size * Update all screen locs * Fix contextual clicks Couldn't use PIXEL MULTIPLIER here for the most part due to the fact most of these are ranges and doubling them would leave empty spaces * Fixes maptext size and the final touch ups on antag screen locs * Runs optipng on the DMI files in last commit. Because my optipng version was outdated (blame the optipng package I had installed) it failed to run on the erge commit. This fixed that. * Reduces parallax size a bit for 64x64 map sizes * Fix lobby screens * Fix DME
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
/obj/item/research_blueprint //These are NOT the engineer blueprints
|
|
name = "blueprint"
|
|
desc = "An electromagnetic blueprint design, used by mechanics. The white lines and doodles are just for show."
|
|
icon = 'icons/obj/machines/mechanic.dmi'
|
|
icon_state = "blueprint"
|
|
var/datum/design/stored_design = null
|
|
var/build_type = "" //istype is 2longafunction4me
|
|
var/delete_on_use = 1 //whether the blueprint is used up on use
|
|
|
|
/obj/item/research_blueprint/nano //nano kind
|
|
name = "nanoprint"
|
|
icon_state = "nanoprint"
|
|
desc = "An electromagnetic nanoprint design, used by mechanics. This nanopaper variant is more advanced than the normal version."
|
|
delete_on_use = 0
|
|
|
|
|
|
/obj/item/research_blueprint/New(var/new_loc, var/datum/design/printed_design)
|
|
..(new_loc)
|
|
|
|
if(!istype(printed_design))
|
|
return
|
|
|
|
stored_design = printed_design
|
|
build_type = stored_design.build_type
|
|
|
|
if(stored_design) //if it doesn't have a source (like a printer), a blueprint can have no design
|
|
name = "[build_type == FLATPACKER ? "machine" : "item"] " + name + " ([printed_design.name])"
|
|
|
|
pixel_x = rand(-3, 3) * PIXEL_MULTIPLIER
|
|
pixel_y = rand(-5, 6) * PIXEL_MULTIPLIER
|