Skip to content

Commit

Permalink
Update ability.dm (#5247)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wernerses authored Feb 2, 2025
1 parent bb3e3f0 commit 10c04da
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions monkestation/code/modules/botany/species/apid/hive/ability.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
button_icon = 'icons/obj/hydroponics/equipment.dmi'
button_icon_state = "beebox"

cooldown_time = 25 MINUTES
cooldown_time = 5 MINUTES
spell_requirements = NONE
//MONKESTATION EDIT : Reducing the cooldown from 25 to 10 minutes.
// The time was extremely long before, almost twice as the time to **make** a hive. This is healthier, equating to double of the time of the beehive.

var/obj/structure/beebox/hive/created_hive

Expand All @@ -19,7 +21,7 @@
. = ..()
if(is_species(user, /datum/species/apid))
var/datum/species/apid/apid = user.dna.species
if(apid.stored_honey < 150)
if(apid.stored_honey < 70)
to_chat(user, span_notice("Not enough stored honey"))
addtimer(CALLBACK(src, PROC_REF(reset_spell_cooldown)), 2 SECONDS)
return
Expand All @@ -30,14 +32,16 @@

if(is_species(user, /datum/species/apid))
var/datum/species/apid/apid = user.dna.species
if(apid.stored_honey < 150)
if(apid.stored_honey < 70)
addtimer(CALLBACK(src, PROC_REF(reset_spell_cooldown)), 2 SECONDS)
return

apid.adjust_honeycount(-150)
apid.adjust_honeycount(-70)
created_hive = new(get_turf(user), user.real_name)
apid.owned_hive = created_hive
created_hive.current_stat = apid.current_stat
//MONKESTATION EDIT : Changed the total requirement from 15 minutes to a reasonable 7.
//The amount of time investment this required only incentivized an isolated style of gameplay, this should be healthier and incentivize the use of beehives earlier for interactions with crewmembers.

RegisterSignals(created_hive, list(COMSIG_QDELETING, COMSIG_PREQDELETED), PROC_REF(remove_hive))

Expand Down

0 comments on commit 10c04da

Please sign in to comment.