diff --git a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-service.ftl b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-service.ftl index 3657bb0a75..1d36fcec71 100644 --- a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-service.ftl +++ b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-service.ftl @@ -21,3 +21,6 @@ ent-ServicePersonnel = { ent-CrateServicePersonnel } ent-ServiceBooks = { ent-CrateServiceBooks } .desc = { ent-CrateServiceBooks.desc } + +ent-ServiceGuidebooks = { ent-CrateServiceGuidebooks } + .desc = { ent-CrateServiceGuidebooks.desc } diff --git a/Resources/Locale/en-US/prototypes/catalog/fills/crates/service-crates.ftl b/Resources/Locale/en-US/prototypes/catalog/fills/crates/service-crates.ftl index 5c8cd86b03..4eba21b79b 100644 --- a/Resources/Locale/en-US/prototypes/catalog/fills/crates/service-crates.ftl +++ b/Resources/Locale/en-US/prototypes/catalog/fills/crates/service-crates.ftl @@ -22,6 +22,9 @@ ent-CrateServicePersonnel = Personnel crate ent-CrateServiceBooks = Books crate .desc = Contains 10 empty books of random appearance +ent-CrateServiceGuidebooks = Guidebooks crate + .desc = Contains guidebooks. + ent-CrateServiceBox = Boxes crate .desc = Contains 6 empty multipurpose boxes. diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_service.yml b/Resources/Prototypes/Catalog/Cargo/cargo_service.yml index 5e8d3efc05..c3674f5a27 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_service.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_service.yml @@ -88,6 +88,16 @@ category: Service group: market +- type: cargoProduct + id: ServiceGuidebooks + icon: + sprite: Objects/Misc/books.rsi + state: book_engineering2 + product: CrateServiceGuidebooks + cost: 1300 + category: Service + group: market + - type: cargoProduct id: ServiceBoxes icon: diff --git a/Resources/Prototypes/Catalog/Fills/Books/bookshelf.yml b/Resources/Prototypes/Catalog/Fills/Books/bookshelf.yml index fc876f6791..af363cf374 100644 --- a/Resources/Prototypes/Catalog/Fills/Books/bookshelf.yml +++ b/Resources/Prototypes/Catalog/Fills/Books/bookshelf.yml @@ -9,8 +9,6 @@ prob: 0.4 amount: 1 maxAmount: 4 - - id: BookChemicalCompendium - prob: 0.2 - id: BookNarsieLegend prob: 0.1 - id: BookTruth diff --git a/Resources/Prototypes/Catalog/Fills/Crates/service.yml b/Resources/Prototypes/Catalog/Fills/Crates/service.yml index d4d0206c36..87323512a8 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/service.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/service.yml @@ -121,6 +121,26 @@ - id: BookRandom amount: 10 +- type: entity + id: CrateServiceGuidebooks + parent: CrateGenericSteel + components: + - type: StorageFill + contents: + - id: BookSpaceEncyclopedia + - id: BookTheBookOfControl + - id: BookBartendersManual + - id: BookChefGaming + - id: BookLeafLoversSecret + - id: BookEngineersHandbook + - id: BookScientistsGuidebook + - id: BookSecurity + - id: BookHowToKeepStationClean + - id: BookHowToRockAndStone + - id: BookMedicalReferenceBook + - id: BookHowToSurvive + - id: BookChemicalCompendium + - type: entity id: CrateServiceBox parent: CratePlastic diff --git a/Resources/Prototypes/Entities/Objects/Misc/books.yml b/Resources/Prototypes/Entities/Objects/Misc/books.yml index 19a1a28e36..4a11186e61 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/books.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/books.yml @@ -26,6 +26,226 @@ backgroundPatchMargin: 23.0, 16.0, 14.0, 15.0 contentMargin: 20.0, 20.0, 20.0, 20.0 +- type: entity + id: BookSpaceEncyclopedia + parent: BaseItem + name: space encyclopedia + description: An encyclopedia containing all the knowledge. The author of this encyclopedia is unknown. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book0 # placeholder(?). if only we have a better sprite that fits this. + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - SS14 + +- type: entity + id: BookTheBookOfControl + parent: BaseItem + name: the book of control + description: Essential to become robust. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book7 + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Controls + +- type: entity + id: BookBartendersManual + parent: BaseItem + name: bartender's manual + description: This manual is stained with beer. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book_bar + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Bartender + +- type: entity + id: BookChefGaming + parent: BaseItem + name: chef gaming + description: A book about cooking written by a gamer chef. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book_cooking + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Chef + +- type: entity + id: BookLeafLoversSecret + parent: BaseItem + name: leaf lover's secret + description: It has a strong weed smell. It motivates you to feed and seed. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book_hydroponics_pod_people + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Botany + +- type: entity + id: BookEngineersHandbook + parent: BaseItem + name: engineer's handbook + description: A handbook about engineering written by Nanotrasen. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book_engineering + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Engineering + +- type: entity + id: BookScientistsGuidebook + parent: BaseItem + name: scientist's guidebook + description: A guidebook about science written by Nanotrasen. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book0 # no science book sprite so this is a placeholder + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Science + +- type: entity + id: BookSecurity + parent: BaseItem + name: security 101 + description: A book about security written by Nanotrasen. The book is stained with blood. It seems to have been used more as a weapon than reading material. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book_detective # maybe a proper sprite is needed + - type: Tag + tags: + - Book + - type: MeleeWeapon + damage: + types: + Blunt: 6 + - type: GuideHelp + openOnActivation: true + guides: + - Security + +- type: entity + id: BookHowToKeepStationClean + parent: BaseItem + name: how to keep station clean + description: This book is very clean. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book0 # no janitorial book sprite so this is a placeholder + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Janitorial + +- type: entity + id: BookHowToRockAndStone + parent: BaseItem + name: how to rock and stone + description: A very detailed guide about salvage written by Karl, a legendary space miner, however he's missing. It motivates you to rock and stone. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book0 # no salvage book sprite so this is a placeholder + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Salvage + +- type: entity + id: BookMedicalReferenceBook + parent: BaseItem + name: medical reference book + description: A reference book about medical written by an old doctor. The handwriting is barely comprehensible. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book0 # no medical book sprite so this is a placeholder + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Medical + +- type: entity + id: BookHowToSurvive + parent: BaseItem + name: how to survive + description: Ironically the author of this book is dead. + components: + - type: Sprite + sprite: Objects/Misc/books.rsi + layers: + - state: book_engineering + - type: Tag + tags: + - Book + - type: GuideHelp + openOnActivation: true + guides: + - Survival + - type: entity id: BookChemicalCompendium parent: BaseItem diff --git a/Resources/Prototypes/Guidebook/botany.yml b/Resources/Prototypes/Guidebook/botany.yml index 2f654a81df..4e0e4e9956 100644 --- a/Resources/Prototypes/Guidebook/botany.yml +++ b/Resources/Prototypes/Guidebook/botany.yml @@ -1,4 +1,4 @@ - type: guideEntry id: Botany name: guide-entry-botany - text: "/ServerInfo/Guidebook/Botany.xml" + text: "/ServerInfo/Guidebook/Service/Botany.xml" diff --git a/Resources/Prototypes/Guidebook/engineering.yml b/Resources/Prototypes/Guidebook/engineering.yml index 69a9c60e2e..afa89c8e9e 100644 --- a/Resources/Prototypes/Guidebook/engineering.yml +++ b/Resources/Prototypes/Guidebook/engineering.yml @@ -1,7 +1,7 @@ - type: guideEntry id: Engineering name: guide-entry-engineering - text: "/ServerInfo/Guidebook/Engineering.xml" + text: "/ServerInfo/Guidebook/Engineering/Engineering.xml" children: - Atmospherics - Construction @@ -12,42 +12,42 @@ - type: guideEntry id: Construction name: guide-entry-construction - text: "/ServerInfo/Guidebook/Construction.xml" + text: "/ServerInfo/Guidebook/Engineering/Construction.xml" - type: guideEntry id: Atmospherics name: guide-entry-atmospherics - text: "/ServerInfo/Guidebook/Atmospherics.xml" + text: "/ServerInfo/Guidebook/Engineering/Atmospherics.xml" children: - Fires - type: guideEntry id: Fires name: guide-entry-fires - text: "/ServerInfo/Guidebook/Fires.xml" + text: "/ServerInfo/Guidebook/Engineering/Fires.xml" - type: guideEntry id: ShuttleCraft name: guide-entry-shuttle-craft - text: "/ServerInfo/Guidebook/Shuttlecraft.xml" + text: "/ServerInfo/Guidebook/Engineering/Shuttlecraft.xml" - type: guideEntry id: Networking name: guide-entry-networking - text: "/ServerInfo/Guidebook/Networking.xml" + text: "/ServerInfo/Guidebook/Engineering/Networking.xml" children: - NetworkConfigurator - type: guideEntry id: NetworkConfigurator name: guide-entry-network-configurator - text: "/ServerInfo/Guidebook/Network_Configurator.xml" + text: "/ServerInfo/Guidebook/Engineering/NetworkConfigurator.xml" - type: guideEntry id: Power name: guide-entry-power - text: "/ServerInfo/Guidebook/Power.xml" + text: "/ServerInfo/Guidebook/Engineering/Power.xml" children: - AME - Singularity @@ -55,9 +55,9 @@ - type: guideEntry id: AME name: guide-entry-ame - text: "/ServerInfo/Guidebook/AME.xml" + text: "/ServerInfo/Guidebook/Engineering/AME.xml" - type: guideEntry id: Singularity name: guide-entry-singularity - text: "/ServerInfo/Guidebook/Singularity.xml" + text: "/ServerInfo/Guidebook/Engineering/Singularity.xml" diff --git a/Resources/Prototypes/Guidebook/medical.yml b/Resources/Prototypes/Guidebook/medical.yml index a03b39c6b7..4215ba2ee4 100644 --- a/Resources/Prototypes/Guidebook/medical.yml +++ b/Resources/Prototypes/Guidebook/medical.yml @@ -11,7 +11,7 @@ - type: guideEntry id: Medical Doctor name: guide-entry-medicaldoctor - text: "/ServerInfo/Guidebook/Medical/Medical Doctor.xml" + text: "/ServerInfo/Guidebook/Medical/MedicalDoctor.xml" - type: guideEntry id: Cloning diff --git a/Resources/Prototypes/Guidebook/salvage.yml b/Resources/Prototypes/Guidebook/salvage.yml index 9fc00c47e4..a628ccf447 100644 --- a/Resources/Prototypes/Guidebook/salvage.yml +++ b/Resources/Prototypes/Guidebook/salvage.yml @@ -1,4 +1,4 @@ - type: guideEntry id: Salvage name: guide-entry-salvage - text: "/ServerInfo/Guidebook/Salvage.xml" + text: "/ServerInfo/Guidebook/Cargo/Salvage.xml" diff --git a/Resources/Prototypes/Guidebook/shiftandcrew.yml b/Resources/Prototypes/Guidebook/shiftandcrew.yml index 8a0a0763b4..e68f970346 100644 --- a/Resources/Prototypes/Guidebook/shiftandcrew.yml +++ b/Resources/Prototypes/Guidebook/shiftandcrew.yml @@ -26,21 +26,22 @@ - type: guideEntry id: Janitorial name: guide-entry-janitorial - text: "/ServerInfo/Guidebook/Janitorial.xml" + text: "/ServerInfo/Guidebook/Service/Janitorial.xml" - type: guideEntry id: Bartender name: guide-entry-bartender - text: "/ServerInfo/Guidebook/Bartender.xml" + text: "/ServerInfo/Guidebook/Service/Bartender.xml" - type: guideEntry id: Chef name: guide-entry-chef - text: "/ServerInfo/Guidebook/Chef.xml" + text: "/ServerInfo/Guidebook/Service/Chef.xml" children: - Food Recipes - type: guideEntry id: Food Recipes name: guide-entry-foodrecipes - text: "/ServerInfo/Guidebook/Food Recipes.xml" + text: "/ServerInfo/Guidebook/Service/FoodRecipes.xml" + diff --git a/Resources/Prototypes/Guidebook/ss14.yml b/Resources/Prototypes/Guidebook/ss14.yml index bcf474b773..55f597c584 100644 --- a/Resources/Prototypes/Guidebook/ss14.yml +++ b/Resources/Prototypes/Guidebook/ss14.yml @@ -1,7 +1,7 @@ - type: guideEntry id: SS14 name: guide-entry-ss14 - text: "/ServerInfo/Guidebook/Space Station 14.xml" + text: "/ServerInfo/Guidebook/SpaceStation14.xml" children: - Controls - Jobs diff --git a/Resources/ServerInfo/Guidebook/Salvage.xml b/Resources/ServerInfo/Guidebook/Cargo/Salvage.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Salvage.xml rename to Resources/ServerInfo/Guidebook/Cargo/Salvage.xml diff --git a/Resources/ServerInfo/Guidebook/AME.xml b/Resources/ServerInfo/Guidebook/Engineering/AME.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/AME.xml rename to Resources/ServerInfo/Guidebook/Engineering/AME.xml diff --git a/Resources/ServerInfo/Guidebook/Atmospherics.xml b/Resources/ServerInfo/Guidebook/Engineering/Atmospherics.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Atmospherics.xml rename to Resources/ServerInfo/Guidebook/Engineering/Atmospherics.xml diff --git a/Resources/ServerInfo/Guidebook/Construction.xml b/Resources/ServerInfo/Guidebook/Engineering/Construction.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Construction.xml rename to Resources/ServerInfo/Guidebook/Engineering/Construction.xml diff --git a/Resources/ServerInfo/Guidebook/Engineering.xml b/Resources/ServerInfo/Guidebook/Engineering/Engineering.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Engineering.xml rename to Resources/ServerInfo/Guidebook/Engineering/Engineering.xml diff --git a/Resources/ServerInfo/Guidebook/Fires.xml b/Resources/ServerInfo/Guidebook/Engineering/Fires.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Fires.xml rename to Resources/ServerInfo/Guidebook/Engineering/Fires.xml diff --git a/Resources/ServerInfo/Guidebook/Network_Configurator.xml b/Resources/ServerInfo/Guidebook/Engineering/NetworkConfigurator.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Network_Configurator.xml rename to Resources/ServerInfo/Guidebook/Engineering/NetworkConfigurator.xml diff --git a/Resources/ServerInfo/Guidebook/Networking.xml b/Resources/ServerInfo/Guidebook/Engineering/Networking.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Networking.xml rename to Resources/ServerInfo/Guidebook/Engineering/Networking.xml diff --git a/Resources/ServerInfo/Guidebook/Power.xml b/Resources/ServerInfo/Guidebook/Engineering/Power.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Power.xml rename to Resources/ServerInfo/Guidebook/Engineering/Power.xml diff --git a/Resources/ServerInfo/Guidebook/Shuttlecraft.xml b/Resources/ServerInfo/Guidebook/Engineering/Shuttlecraft.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Shuttlecraft.xml rename to Resources/ServerInfo/Guidebook/Engineering/Shuttlecraft.xml diff --git a/Resources/ServerInfo/Guidebook/Singularity.xml b/Resources/ServerInfo/Guidebook/Engineering/Singularity.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Singularity.xml rename to Resources/ServerInfo/Guidebook/Engineering/Singularity.xml diff --git a/Resources/ServerInfo/Guidebook/Medical/Medical Doctor.xml b/Resources/ServerInfo/Guidebook/Medical/MedicalDoctor.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Medical/Medical Doctor.xml rename to Resources/ServerInfo/Guidebook/Medical/MedicalDoctor.xml diff --git a/Resources/ServerInfo/Guidebook/Bartender.xml b/Resources/ServerInfo/Guidebook/Service/Bartender.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Bartender.xml rename to Resources/ServerInfo/Guidebook/Service/Bartender.xml diff --git a/Resources/ServerInfo/Guidebook/Botany.xml b/Resources/ServerInfo/Guidebook/Service/Botany.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Botany.xml rename to Resources/ServerInfo/Guidebook/Service/Botany.xml diff --git a/Resources/ServerInfo/Guidebook/Chef.xml b/Resources/ServerInfo/Guidebook/Service/Chef.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Chef.xml rename to Resources/ServerInfo/Guidebook/Service/Chef.xml diff --git a/Resources/ServerInfo/Guidebook/Food Recipes.xml b/Resources/ServerInfo/Guidebook/Service/FoodRecipes.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Food Recipes.xml rename to Resources/ServerInfo/Guidebook/Service/FoodRecipes.xml diff --git a/Resources/ServerInfo/Guidebook/Janitorial.xml b/Resources/ServerInfo/Guidebook/Service/Janitorial.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Janitorial.xml rename to Resources/ServerInfo/Guidebook/Service/Janitorial.xml diff --git a/Resources/ServerInfo/Guidebook/Space Station 14.xml b/Resources/ServerInfo/Guidebook/SpaceStation14.xml similarity index 100% rename from Resources/ServerInfo/Guidebook/Space Station 14.xml rename to Resources/ServerInfo/Guidebook/SpaceStation14.xml