forked from vlggms/lobotomy-corp13
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'vlggms:master' into master
- Loading branch information
Showing
112 changed files
with
1,926 additions
and
769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Work console upgrades. | ||
*/ | ||
/obj/item/work_console_upgrade | ||
name = "chemical extraction cell upgrade" | ||
desc = "Attaches to the abnormality cell console of completely understood abnormalities and allows for the extraction of enkephalin-derived substances." | ||
icon = 'ModularTegustation/Teguicons/teguitems.dmi' | ||
icon_state = "abnochem_attachment" | ||
var/upgrade_slot = "" | ||
|
||
/obj/item/work_console_upgrade/attack_obj(obj/O, mob/living/user) | ||
if(istype(O, /obj/machinery/computer/abnormality)) | ||
var/obj/machinery/computer/abnormality/work_machine = O | ||
to_chat(user, span_notice("You start attaching \the [O] to \the [src]...")) | ||
if(!UpgradeReq(O, user)) | ||
return | ||
work_machine.InstallUpgrade(src,upgrade_slot) | ||
src.desc += "\n[src] installation successful." | ||
playsound(get_turf(O), 'sound/effects/servostep.ogg', 50, TRUE) | ||
return | ||
return ..() | ||
|
||
/obj/item/work_console_upgrade/proc/UpgradeReq(obj/machinery/computer/abnormality/A, mob/living/installer) | ||
if(!A) | ||
return FALSE | ||
if(A.mechanical_upgrades[upgrade_slot]) | ||
to_chat(installer, span_notice("Theres already a upgrade of this type installed.")) | ||
return FALSE | ||
return TRUE | ||
|
||
//Upgrade Subtypes | ||
|
||
/obj/item/work_console_upgrade/chemical_extraction_attachment | ||
name = "chemical extraction cell upgrade" | ||
desc = "Attaches to the abnormality cell console of completely understood abnormalities and allows for the extraction of enkephalin-derived substances." | ||
upgrade_slot = "abnochem" | ||
|
||
/obj/item/work_console_upgrade/chemical_extraction_attachment/UpgradeReq(obj/machinery/computer/abnormality/A, mob/living/installer) | ||
. = ..() | ||
//If the root code returns FALSE just return that. | ||
if(!.) | ||
return | ||
if(A.datum_reference.understanding < A.datum_reference.max_understanding) | ||
to_chat(installer, span_notice("Abnormality is not yet fully understood.")) | ||
return FALSE | ||
|
||
/obj/item/work_console_upgrade/work_prediction_attachment | ||
name = "predictive workrate formula upgrade" | ||
desc = "Using information collected from employee files and security footage this upgrade allows the user to see their success rate." | ||
upgrade_slot = "workrate" | ||
color = COLOR_SOFT_RED |
40 changes: 40 additions & 0 deletions
40
ModularTegustation/tegu_items/associations/head_trophies.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/obj/item/head_trophy | ||
name = "monster head" | ||
desc = "You should not be seening this!" | ||
icon = 'ModularTegustation/Teguicons/head_trophies.dmi' | ||
icon_state = "steel_head" | ||
w_class = WEIGHT_CLASS_TINY | ||
|
||
/obj/item/head_trophy/steel_head | ||
name = "g-corp manager head" | ||
desc = "A head of an old manager, now laid to rest. This could be sold for good cash." | ||
|
||
/obj/item/head_trophy/indigo_head | ||
name = "red commander sweeper head" | ||
desc = "The head of the commander sweeper Jacques. This could be sold for good cash." | ||
icon_state = "indigo_red_head" | ||
|
||
/obj/item/head_trophy/indigo_head/white | ||
name = "white commander sweeper head" | ||
desc = "The head of the commander sweeper Adelheide. This could be sold for good cash." | ||
icon_state = "indigo_white_head" | ||
|
||
/obj/item/head_trophy/indigo_head/black | ||
name = "black commander sweeper head" | ||
desc = "The head of the commander sweeper Maria. This could be sold for good cash." | ||
icon_state = "indigo_black_head" | ||
|
||
/obj/item/head_trophy/indigo_head/pale | ||
name = "pale commander sweeper head" | ||
desc = "The head of the commander sweeper Silvina. This could be sold for good cash." | ||
icon_state = "indigo_pale_head" | ||
|
||
/obj/item/head_trophy/green_datachip | ||
name = "factory datachip" | ||
desc = "A small datachip of the factory. This could be sold for good cash." | ||
icon_state = "green_datachip" | ||
|
||
/obj/item/head_trophy/flesh_head | ||
name = "long flesh head" | ||
desc = "A distorted head from a flesh abomination. This could be sold for good cash." | ||
icon_state = "flesh_head" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.