DAISY BOOKS BEPEENIS ON TOP

This commit is contained in:
NullFag
2024-05-30 20:26:35 +00:00
committed by NullDagaf
parent 6036017a70
commit 1be1f657d2
3 changed files with 51 additions and 3 deletions
@@ -253,10 +253,11 @@
return ..()
/datum/techweb_node/cyborg_upg_serv/New()
design_ids += list(
"borg_upgrade_artistic"
"borg_upgrade_artistic",
"borg_upgrade_botany"
)
return ..()
/datum/techweb_node/basic_mining/New()
@@ -381,6 +381,54 @@
if (module_item)
install.model.remove_module(module_item, TRUE)
/datum/design/borg_upgrade_botany
name = "Botanical Operator Module"
id = "borg_upgrade_botany"
build_type = MECHFAB
build_path = /obj/item/borg/upgrade/botany
materials = list(/datum/material/iron = SMALL_MATERIAL_AMOUNT * 2, /datum/material/glass = SMALL_MATERIAL_AMOUNT * 2)
construction_time = 10 SECONDS
category = list(
RND_CATEGORY_MECHFAB_CYBORG_MODULES + RND_SUBCATEGORY_MECHFAB_CYBORG_MODULES_SERVICE
)
/obj/item/borg/upgrade/botany
name = "botanical operator upgrade"
desc = "Provides an assortement of tools for dealing with plants."
icon_state = "cyborg_upgrade2"
require_model = TRUE
model_type = list(/obj/item/robot_model/service)
model_flags = BORG_MODEL_SERVICE
var/static/list/added_stuff = list(
/obj/item/secateurs,
/obj/item/cultivator,
/obj/item/shovel/spade,
/obj/item/plant_analyzer,
/obj/item/storage/bag/plants
)
/obj/item/borg/upgrade/botany/action(mob/living/silicon/robot/R)
. = ..()
if(!.)
return
for(var/type in added_stuff)
var/obj/item/added_item = new type(R.model)
R.model.basic_modules += added_item
R.model.add_module(added_item, FALSE, TRUE)
/obj/item/borg/upgrade/botany/deactivate(mob/living/silicon/robot/R)
. = ..()
if(!.)
return
for(var/obj/item/module as anything in R.model.modules)
if(!(module.type in added_stuff))
continue
R.model.remove_module(module, TRUE)
/*
* UNIVERSAL CYBORG UPGRADES
*/
-1
View File
@@ -6549,7 +6549,6 @@
#include "modular_skyrat\master_files\code\modules\clothing\under\jobs\security.dm"
#include "modular_skyrat\master_files\code\modules\clothing\under\jobs\civilian\civilian.dm"
#include "modular_skyrat\master_files\code\modules\clothing\under\jobs\civilian\suits.dm"
#include "modular_skyrat\master_files\code\modules\cyborg\robot_upgrades.dm"
#include "modular_skyrat\master_files\code\modules\events\_event.dm"
#include "modular_skyrat\master_files\code\modules\experisci\experiment.dm"
#include "modular_skyrat\master_files\code\modules\food_and_drinks\recipes\food_mixtures.dm"