Skull re-adds SOP (#7152)

SOP is re-added as a book.
    Reworked wiki-books to be easier to code and work with.
    Resprited corporate reg book to say "REG" instead of "LAW".
This commit is contained in:
Erki
2019-10-20 20:05:34 +03:00
committed by GitHub
parent c3a743488b
commit 78a5a9d2e2
11 changed files with 82 additions and 116 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ var/datum/controller/subsystem/traumas/SStraumas
/obj/item/clothing/head/soft/sec, /obj/item/clothing/suit/armor/vest/security, /obj/item/clothing/suit/bio_suit/security,
/obj/item/clothing/suit/bomb_suit/security, /obj/item/clothing/suit/security/navyofficer, /obj/item/clothing/suit/space/void/security,
/obj/item/clothing/suit/storage/hooded/wintercoat/security, /obj/item/device/magnetic_lock/security,/obj/item/toy/figure/secofficer,
/obj/item/weapon/gun/bang/sec, /obj/item/weapon/gun/projectile/sec, /obj/item/weapon/book/manual/security_space_law)),
/obj/item/weapon/gun/bang/sec, /obj/item/weapon/gun/projectile/sec, /obj/item/weapon/book/manual/wiki/security_space_law)),
"clowns" = typecacheof(list(/obj/item/clothing/under/rank/clown, /obj/item/clothing/shoes/clown_shoes,
/obj/item/clothing/mask/gas/clown_hat, /obj/item/weapon/bananapeel,
+2 -2
View File
@@ -877,7 +877,7 @@
icon_state = "battlemonsters"
vend_id = "battlemonsters"
products = list(
/obj/item/weapon/book/manual/battlemonsters = 10,
/obj/item/weapon/book/manual/wiki/battlemonsters = 10,
/obj/item/battle_monsters/wrapped = 10,
/obj/item/battle_monsters/wrapped/pro = 10,
/obj/item/battle_monsters/wrapped/species = 4, //Human monsters
@@ -887,7 +887,7 @@
/obj/item/battle_monsters/wrapped/rare = 4
)
prices = list(
/obj/item/weapon/book/manual/battlemonsters = 12,
/obj/item/weapon/book/manual/wiki/battlemonsters = 12,
/obj/item/battle_monsters/wrapped = 100,
/obj/item/battle_monsters/wrapped/pro = 75,
/obj/item/battle_monsters/wrapped/species = 100,
+43 -85
View File
@@ -5,27 +5,29 @@
due_date = 0 // Game time in 1/10th seconds
unique = 1 // 0 - Normal book, 1 - Should not be treated as normal book, unable to be copied, unable to be modified
/obj/item/weapon/book/manual/wiki
var/sub_page = ""
/obj/item/weapon/book/manual/engineering_construction
/obj/item/weapon/book/manual/wiki/Initialize()
. = ..()
dat = {"
<html>
<head></head>
<body>
<iframe width='100%' height='97%' src="[config.wikiurl][sub_page]&printable=yes&remove_links=1" frameborder="0" id="main_frame"></iframe>
</body>
</html>
"}
/obj/item/weapon/book/manual/wiki/engineering_construction
name = "Station Repairs and Construction"
icon_state ="bookEngineering"
author = "Engineering Encyclopedia" // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
title = "Station Repairs and Construction"
/obj/item/weapon/book/manual/engineering_construction/New()
..()
dat = {"
<html><head>
</head>
<body>
<iframe width='100%' height='97%' src="[config.wikiurl]Guide_to_construction&printable=yes&remove_links=1" frameborder="0" id="main_frame"></iframe>
</body>
</html>
"}
sub_page = "Guide_to_construction"
/obj/item/weapon/book/manual/engineering_particle_accelerator
name = "Particle Accelerator User's Guide"
@@ -33,8 +35,8 @@
author = "Engineering Encyclopedia" // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
title = "Particle Accelerator User's Guide"
/obj/item/weapon/book/manual/engineering_particle_accelerator/New()
..()
/obj/item/weapon/book/manual/engineering_particle_accelerator/Initialize()
. = ..()
dat = {"<html>
<head>
<style>
@@ -80,8 +82,8 @@
author = "Central Engineering Division"
title = "Supermatter Engine Operating Manual"
/obj/item/weapon/book/manual/supermatter_engine/New()
..()
/obj/item/weapon/book/manual/supermatter_engine/Initialize()
. = ..()
dat = {"<html>
<head>
<style>
@@ -147,27 +149,12 @@
</body>
</html>"}
/obj/item/weapon/book/manual/engineering_hacking
/obj/item/weapon/book/manual/wiki/engineering_hacking
name = "Hacking"
icon_state ="bookHacking"
author = "Engineering Encyclopedia" // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
title = "Hacking"
/obj/item/weapon/book/manual/engineering_hacking/New()
..()
dat = {"
<html><head>
</head>
<body>
<iframe width='100%' height='97%' src="[config.wikiurl]Hacking&printable=yes&remove_links=1" frameborder="0" id="main_frame"></iframe>
</body>
</html>
"}
sub_page = "Hacking"
/obj/item/weapon/book/manual/engineering_singularity_safety
name = "Singularity Safety in Special Circumstances"
@@ -220,9 +207,6 @@
</html>
"}
/obj/item/weapon/book/manual/medical_cloning
name = "Cloning Techniques of the 26th Century"
icon_state ="bookCloning"
@@ -666,30 +650,21 @@
</html>
"}
/obj/item/weapon/book/manual/security_space_law
/obj/item/weapon/book/manual/wiki/security_space_law
name = "Corporate Regulations"
desc = "A set of corporate guidelines for keeping law and order on privately-owned space stations."
icon_state = "bookSpaceLaw"
author = "The Company"
title = "Corporate Regulations"
sub_page = "Corporate_Regulations"
/obj/item/weapon/book/manual/security_space_law/New()
..()
dat = {"
<html><head>
</head>
<body>
<iframe width='100%' height='97%' src="[config.wikiurl]Corporate_Regulations&printable=yes&remove_links=1" frameborder="0" id="main_frame"></iframe>
</body>
</html>
"}
/obj/item/weapon/book/manual/wiki/station_procedure
name = "Station Procedure"
desc = "A set of uniform procedures followed on all NanoTrasen installations."
icon_state = "corporate-procedure"
title = "The Company"
title = "Station Procedure"
sub_page = "Guide_to_Station_Procedure"
/obj/item/weapon/book/manual/medical_diagnostics_manual
name = "Medical Diagnostics Manual"
@@ -698,8 +673,8 @@
author = "Medical Department"
title = "Medical Diagnostics Manual"
/obj/item/weapon/book/manual/medical_diagnostics_manual/New()
..()
/obj/item/weapon/book/manual/medical_diagnostics_manual/Initialize()
. = ..()
dat = {"<html>
<head>
<style>
@@ -739,26 +714,12 @@
"}
/obj/item/weapon/book/manual/engineering_guide
/obj/item/weapon/book/manual/wiki/engineering_guide
name = "Engineering Textbook"
icon_state ="bookEngineering2"
author = "Engineering Encyclopedia"
title = "Engineering Textbook"
/obj/item/weapon/book/manual/engineering_guide/New()
..()
dat = {"
<html><head>
</head>
<body>
<iframe width='100%' height='100%' src="[config.wikiurl]Guide_to_Engineering&printable=yes&remove_links=1" frameborder="0" id="main_frame"></iframe> </body>
</html>
"}
sub_page = "Guide_to_Engineering"
/obj/item/weapon/book/manual/chef_recipes
name = "Chef Recipes"
@@ -1182,7 +1143,7 @@
</head>
<body>
<a name="Foreword"><h1>Gravity Generation for dummies!</h1></a>
Thank you for your purchase of the newest model of the SA Grade Gravity Generator! This operation manual will cover the basics required for safely operating and maintaing your gravity generation system.<br><br>
Thank you for your purchase of the newest model of the SA Grade Gravity Generator! This operation manual will cover the basics required for safely operating and maintaining your gravity generation system.<br><br>
<h2><a name="Contents">Contents</a></h2>
<ol>
@@ -1285,8 +1246,8 @@
author = "NTCC Odin Psychiatry Wing"
title = "Sigmund Freud for Dummies"
/obj/item/weapon/book/manual/psych/New()
..()
/obj/item/weapon/book/manual/psych/Initialize()
. = ..()
dat = {"<html>
<head>
<style>
@@ -1418,15 +1379,12 @@
</html>
"}
/obj/item/weapon/book/manual/battlemonsters
/obj/item/weapon/book/manual/wiki/battlemonsters
name = "\improper Guide to Battlemonsters"
icon_state ="battlemonsters"
author = "Macro Toy Company" // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
title = "Guide to Battlemonsters"
/obj/item/weapon/book/manual/battlemonsters/New()
..()
dat = {"<html><head></head><body><iframe width='100%' height='100%' src="[config.wikiurl]Guide_to_Battlemonsters&printable=yes&remove_links=1" frameborder="0" id="main_frame"></iframe></body></html>"}
sub_page = "Guide_to_Battlemonsters"
/obj/item/weapon/book/manual/pra_manifesto
name = "hadiist manifesto"
@@ -1593,4 +1551,4 @@
seen regularly patrolling areas nearby the N.S.S. Aurora and the Romanovich Cloud.
</body>
</html>
"}
"}
+3 -3
View File
@@ -165,10 +165,10 @@
New()
..()
new /obj/item/weapon/book/manual/engineering_construction(src)
new /obj/item/weapon/book/manual/wiki/engineering_construction(src)
new /obj/item/weapon/book/manual/engineering_particle_accelerator(src)
new /obj/item/weapon/book/manual/engineering_hacking(src)
new /obj/item/weapon/book/manual/engineering_guide(src)
new /obj/item/weapon/book/manual/wiki/engineering_hacking(src)
new /obj/item/weapon/book/manual/wiki/engineering_guide(src)
new /obj/item/weapon/book/manual/atmospipes(src)
new /obj/item/weapon/book/manual/engineering_singularity_safety(src)
new /obj/item/weapon/book/manual/evaguide(src)
+6
View File
@@ -0,0 +1,6 @@
author: Skull132
delete-after: True
changes:
- rscadd: "Added a station procedures book into the security lobby library."
- tweak: "Resprited the corporate regulation book."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 36 KiB

+15 -13
View File
@@ -1041,7 +1041,7 @@
/area/security/vacantoffice2)
"acg" = (
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/carpet,
/area/security/vacantoffice2)
"ach" = (
@@ -11193,7 +11193,7 @@
icon_state = "corner_white";
dir = 6
},
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/item/device/taperecorder,
/turf/simulated/floor/tiled,
/area/bridge)
@@ -19279,7 +19279,7 @@
/area/security/prison)
"aIB" = (
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/machinery/atmospherics/pipe/simple/hidden{
dir = 9;
icon_state = "intact"
@@ -19719,7 +19719,7 @@
"aJn" = (
/obj/structure/bookcase/manuals/engineering,
/obj/item/weapon/book/manual/atmospipes,
/obj/item/weapon/book/manual/engineering_guide,
/obj/item/weapon/book/manual/wiki/engineering_guide,
/obj/effect/floor_decal/corner/yellow{
icon_state = "corner_white";
dir = 6
@@ -19841,10 +19841,12 @@
/area/crew_quarters/heads/hos)
"aJy" = (
/obj/structure/bookcase/manuals,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/item/weapon/book/manual/wiki/station_procedure,
/obj/item/weapon/book/manual/wiki/station_procedure,
/turf/simulated/floor/tiled,
/area/security/lobby)
"aJz" = (
@@ -20041,7 +20043,7 @@
/area/security/warden)
"aJN" = (
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/item/device/eftpos{
eftpos_name = "Brig EFTPOS scanner"
},
@@ -22706,7 +22708,7 @@
/area/crew_quarters/captain)
"aOm" = (
/obj/structure/table/wood,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/carpet,
/area/crew_quarters/captain)
"aOn" = (
@@ -25575,7 +25577,7 @@
icon_state = "spline_fancy";
dir = 4
},
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/carpet,
/area/bridge/meeting_room)
"aSX" = (
@@ -27248,7 +27250,7 @@
/area/crew_quarters/heads/hop)
"aVJ" = (
/obj/structure/closet/secure_closet/hop,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/wood,
/area/crew_quarters/heads/hop)
"aVK" = (
@@ -65836,7 +65838,7 @@
/obj/structure/bookcase/manuals{
opacity = 0
},
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/wood,
/area/lawoffice)
"lNA" = (
+1 -1
View File
@@ -3017,7 +3017,7 @@
"fJ" = (
/obj/structure/window/reinforced,
/obj/structure/closet/secure_closet/detective,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/lino,
/area/security/detectives_office)
"fK" = (
+9 -9
View File
@@ -2416,7 +2416,7 @@
/area/security/main)
"aeu" = (
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/structure/cable/green{
d1 = 4;
d2 = 8;
@@ -4933,7 +4933,7 @@
/area/security/warden)
"ajh" = (
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law{
/obj/item/weapon/book/manual/wiki/security_space_law{
pixel_x = -3;
pixel_y = 5
},
@@ -8278,7 +8278,7 @@
icon_state = "1-8"
},
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law{
/obj/item/weapon/book/manual/wiki/security_space_law{
pixel_y = 6
},
/obj/machinery/camera/network/security{
@@ -9766,7 +9766,7 @@
/area/security/prison)
"arz" = (
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/tiled,
/area/security/prison)
"arA" = (
@@ -32439,7 +32439,7 @@
/turf/simulated/floor/carpet,
/area/bridge/meeting_room)
"bip" = (
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/obj/structure/table/wood,
/obj/structure/cable/green{
d1 = 4;
@@ -36027,7 +36027,7 @@
/area/crew_quarters/captain)
"boF" = (
/obj/structure/table/wood,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/wood,
/area/crew_quarters/captain)
"boG" = (
@@ -55397,7 +55397,7 @@
/area/engineering/break_room)
"bWC" = (
/obj/structure/table/wood,
/obj/item/weapon/book/manual/engineering_construction,
/obj/item/weapon/book/manual/wiki/engineering_construction,
/obj/item/weapon/book/manual/evaguide{
pixel_x = -2;
pixel_y = 7
@@ -55406,7 +55406,7 @@
/area/engineering/break_room)
"bWD" = (
/obj/structure/table/wood,
/obj/item/weapon/book/manual/engineering_guide{
/obj/item/weapon/book/manual/wiki/engineering_guide{
pixel_x = 3;
pixel_y = 2
},
@@ -80434,7 +80434,7 @@
"xSj" = (
/obj/structure/window/reinforced,
/obj/structure/closet/secure_closet/detective,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/lino,
/area/security/detectives_office)
"xUB" = (
+1 -1
View File
@@ -11817,7 +11817,7 @@
/area/wizard_station)
"aJI" = (
/obj/structure/table/wood,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/unsimulated/floor{
dir = 8;
icon_state = "wood"
+1 -1
View File
@@ -1437,7 +1437,7 @@
/area/derelict/hallway/northeast)
"eO" = (
/obj/structure/table/standard,
/obj/item/weapon/book/manual/security_space_law,
/obj/item/weapon/book/manual/wiki/security_space_law,
/turf/simulated/floor/tiled/airless,
/area/derelict/hallway/northeast)
"eP" = (