diff --git a/cev_eris.dme b/cev_eris.dme index 06c429b6456..6b0a8020fe4 100644 --- a/cev_eris.dme +++ b/cev_eris.dme @@ -716,7 +716,6 @@ #include "code\game\gamemodes\events\rogue_drones.dm" #include "code\game\gamemodes\events\shipping_error.dm" #include "code\game\gamemodes\events\space_weather.dm" -#include "code\game\gamemodes\events\spacevine.dm" #include "code\game\gamemodes\events\spider_infestation.dm" #include "code\game\gamemodes\events\supply_pod.dm" #include "code\game\gamemodes\events\wallrot.dm" @@ -1902,7 +1901,6 @@ #include "code\modules\hydroponics\seed_storage.dm" #include "code\modules\hydroponics\beekeeping\beehive.dm" #include "code\modules\hydroponics\hydrochems\medicinalplants.dm" -#include "code\modules\hydroponics\spreading\spacevines.dm" #include "code\modules\hydroponics\spreading\spreading.dm" #include "code\modules\hydroponics\spreading\spreading_growth.dm" #include "code\modules\hydroponics\spreading\spreading_response.dm" diff --git a/code/__DEFINES/vv.dm b/code/__DEFINES/vv.dm index c05af3ac28e..9a6c690047c 100644 --- a/code/__DEFINES/vv.dm +++ b/code/__DEFINES/vv.dm @@ -149,9 +149,6 @@ #define VV_HK_MAKE_SLIME "makeslime" #define VV_HK_MODIFY_LANGUAGES "modifylanguages" -// misc -#define VV_HK_SPACEVINE_PURGE "spacevine_purge" - // paintings #define VV_HK_REMOVE_PAINTING "remove_painting" diff --git a/code/game/gamemodes/events/spacevine.dm b/code/game/gamemodes/events/spacevine.dm deleted file mode 100644 index 49d6ba58ec7..00000000000 --- a/code/game/gamemodes/events/spacevine.dm +++ /dev/null @@ -1,32 +0,0 @@ -/* - Spawns a rapidly expanding plant that can grow through doors. - The plant is vulnerable to fire and cutting weapons - - It's not really dangerous, it doesn't eat you like the blob, so it has a lower cost -*/ -/datum/storyevent/spacevine - id = "spacevine" - name = "rampant flora" - - - event_type = /datum/event/spacevine - event_pools = list(EVENT_LEVEL_MAJOR = POOL_THRESHOLD_MAJOR*0.6) - - tags = list(TAG_DESTRUCTIVE, TAG_NEGATIVE, TAG_COMBAT) - -var/global/spacevines_spawned = 0 - -/datum/event/spacevine - announceWhen = 120 - -/datum/event/spacevine/start() - - //This is located in hydroponics/spreading/spacevine.dm because it uses defines in _hydro_setup.dm which are later undefined - spacevine_infestation() - - spacevines_spawned = 1 - -/datum/event/spacevine/announce() - level_seven_announcement() - - diff --git a/code/modules/hydroponics/spreading/spacevines.dm b/code/modules/hydroponics/spreading/spacevines.dm deleted file mode 100644 index 448cf6e11f7..00000000000 --- a/code/modules/hydroponics/spreading/spacevines.dm +++ /dev/null @@ -1,61 +0,0 @@ -//This has to be here because it uses defines in _hydro_setup.dm which are later undefined -//It is used for the spacevine event - -/proc/spacevine_infestation(turf/T = null, potency_min=70, potency_max=100, maturation_min=5, maturation_max=15) - //Vines will spawn at a burrow - var/obj/structure/burrow/origin - var/list/burrows = GLOB.all_burrows.Copy() - while (burrows.len) - var/obj/structure/burrow/B = pick_n_take(burrows) - - //Needs to not already have plants - if (B.plant) - continue - - //We ideally want to spawn in crew areas, but we will accept a maintenance burrow as a fallback - origin = B - if (B.maintenance) - - //Keep searching for a better one - continue - - else - //Its in a crew area, this will do - break - - //We failed to find a spawning burrow :() - if (!origin) - return FALSE - - //Break the floor - origin.break_open() - - T = get_turf(origin) - var/datum/seed/seed = SSplants.create_random_seed(1) - seed.set_trait(TRAIT_SPREAD,3) // So it will function properly as vines. - seed.set_trait(TRAIT_POTENCY,rand(potency_min, potency_max)) // 70-100 potency will help guarantee a wide spread and powerful effects. - seed.set_trait(TRAIT_MATURATION,rand(maturation_min, maturation_max)) - seed.force_layer = LOW_OBJ_LAYER //Vines will grow in the background underneath and around objects - - - - //make vine zero start off fully matured - var/obj/effect/plant/vine = new(T,seed) - vine.health = vine.max_health - vine.mature_time = 0 - vine.layer = SPACEVINE_LAYER - vine.Process() - log_and_message_admins("Spacevines spawned at \the [jumplink(T)]", location = T) - - - //Force an immediate spread - SSmigration.handle_plant_spreading() - - for (var/a in origin.plantspread_burrows) - var/obj/structure/burrow/B = locate(a) - if (istype(B)) - spawn(RAND_DECIMAL(5, 30)) - B.break_open() //Break the floor at each of the burrows it spreads to - log_and_message_admins("Spacevines spread to burrow [jumplink(B)]") - -