primitive centrifuge (#7973)

* primitive centrifuge

* suggestions
This commit is contained in:
jjpark-kb
2021-09-05 04:47:21 +01:00
committed by GitHub
parent 6fa536ad0c
commit f4d09856f5
5 changed files with 49 additions and 1 deletions
@@ -131,8 +131,11 @@ GLOBAL_LIST_INIT(metal_recipes, list ( \
new/datum/stack_recipe("hygienebot assembly", /obj/item/bot_assembly/hygienebot, 2, time = 5 SECONDS), \
new/datum/stack_recipe("shower frame", /obj/structure/showerframe, 2, time= 2 SECONDS), \
null, \
//SKYRAT EDIT START: REAGENT FORGING & PRIMITIVE CENTRIFUGE
new/datum/stack_recipe("anvil", /obj/structure/reagent_anvil, 10, time = 20, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("forge", /obj/structure/reagent_forge, 10, time = 20, one_per_turf = TRUE, on_floor = TRUE)
new/datum/stack_recipe("forge", /obj/structure/reagent_forge, 10, time = 20, one_per_turf = TRUE, on_floor = TRUE), \
new/datum/stack_recipe("primitive centrifuge", /obj/item/reagent_containers/glass/primitive_centrifuge, 10)
//SKYRAT EDIT STOP: REAGENT FORGING & PRIMITIVE CENTRIFUGE
))
//the wrestling turnbuckle recipe is a SKYRAT EDIT
@@ -0,0 +1,24 @@
/obj/item/reagent_containers/glass/primitive_centrifuge
name = "primitive centrifuge"
desc = "A small cup that allows a person to slowly spin out liquids they do not desire."
icon = 'modular_skyrat/modules/ash_chemical_centrifuge/icons/chemical.dmi'
icon_state = "primitive_centrifuge"
/obj/item/reagent_containers/glass/primitive_centrifuge/examine()
. = ..()
. += span_notice("Ctrl + Click to select chemicals to remove.")
/obj/item/reagent_containers/glass/primitive_centrifuge/CtrlClick(mob/user)
if(!length(reagents.reagent_list))
return
var/datum/user_input = tgui_input_list(user, "Select which chemical to remove.", "Removal Selection", reagents.reagent_list)
if(!user_input)
to_chat(user, span_warning("A selection was not made."))
return
if(!do_after(user, 5 SECONDS, target = src))
to_chat(user, span_warning("You stopped attempting to spin out the chemicals."))
return
reagents.del_reagent(user_input.type)
to_chat(user, span_notice("You remove a reagent from [src]."))
Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

@@ -0,0 +1,20 @@
## Title: Ash Farming
MODULE ID: ASH_FARM
### Description:
As a way to increase the agrarian life for ashwalkers, the ability to plant on lavaland is being introduced.
This will not be limited to ashies, but will be increased to non-ashies trying to plant
### TG Proc Changes:
### Defines:
### Master file additions
### Included files that are not contained in this module:
### Credits:
Jake Park
+1
View File
@@ -4073,6 +4073,7 @@
#include "modular_skyrat\modules\antagonists\eldritch_cult\knowledge\ash_lore_skyrat.dm"
#include "modular_skyrat\modules\antagonists\eldritch_cult\knowledge\flesh_lore_skyrat.dm"
#include "modular_skyrat\modules\apocolypse_of_scythes\code\scythes.dm"
#include "modular_skyrat\modules\ash_chemical_centrifuge\code\ash_centrifuge.dm"
#include "modular_skyrat\modules\ash_farming\code\ash_farming.dm"
#include "modular_skyrat\modules\ashwalker_change\code\ash_walker_den.dm"
#include "modular_skyrat\modules\ashwalkers\Ashwalker\Ashwalkers.dm"