porting sprites, giant pizza, removing valentines

should've chopped those commits but eh, essentially does what it says it does
This commit is contained in:
evilew
2024-02-16 16:44:30 +01:00
parent edb2f19600
commit c7d76c9941
16 changed files with 176 additions and 113 deletions
+43 -41
View File
@@ -4,56 +4,58 @@
// valentine / candy heart distribution //
/datum/round_event_control/valentines
name = "Valentines!"
holidayID = VALENTINES
typepath = /datum/round_event/valentines
weight = -1 //forces it to be called, regardless of weight
max_occurrences = 1
earliest_start = 0 MINUTES
// /datum/round_event_control/valentines
// name = "Valentines!"
// holidayID = VALENTINES
// typepath = /datum/round_event/valentines
// weight = -1 //forces it to be called, regardless of weight
// max_occurrences = 1
// earliest_start = 0 MINUTES
/datum/round_event/valentines/start()
..()
for(var/mob/living/carbon/human/H in GLOB.alive_mob_list)
H.put_in_hands(new /obj/item/valentine)
var/obj/item/storage/backpack/b = locate() in H.contents
new /obj/item/reagent_containers/food/snacks/candyheart(b)
new /obj/item/storage/fancy/heart_box(b)
// /datum/round_event/valentines/start()
// ..()
// for(var/mob/living/carbon/human/H in GLOB.alive_mob_list)
// H.put_in_hands(new /obj/item/valentine)
// var/obj/item/storage/backpack/b = locate() in H.contents
// new /obj/item/reagent_containers/food/snacks/candyheart(b)
// new /obj/item/storage/fancy/heart_box(b)
var/list/valentines = list()
for(var/mob/living/M in GLOB.player_list)
if(!M.stat && M.client && M.mind)
valentines |= M
// var/list/valentines = list()
// for(var/mob/living/M in GLOB.player_list)
// if(!M.stat && M.client && M.mind)
// valentines |= M
while(valentines.len)
var/mob/living/L = pick_n_take(valentines)
if(valentines.len)
var/mob/living/date = pick_n_take(valentines)
// while(valentines.len)
// var/mob/living/L = pick_n_take(valentines)
// if(valentines.len)
// var/mob/living/date = pick_n_take(valentines)
forge_valentines_objective(L, date)
forge_valentines_objective(date, L)
// forge_valentines_objective(L, date)
// forge_valentines_objective(date, L)
if(valentines.len && prob(4))
var/mob/living/notgoodenough = pick_n_take(valentines)
forge_valentines_objective(notgoodenough, date)
else
L.mind.add_antag_datum(/datum/antagonist/heartbreaker)
// if(valentines.len && prob(4))
// var/mob/living/notgoodenough = pick_n_take(valentines)
// forge_valentines_objective(notgoodenough, date)
// else
// L.mind.add_antag_datum(/datum/antagonist/heartbreaker)
/proc/forge_valentines_objective(mob/living/lover,mob/living/date,var/chemLove = FALSE)
lover.mind.special_role = "valentine"
if (chemLove == TRUE)
var/datum/antagonist/valentine/chem/V = new //Changes text and EOG check basically.
V.date = date.mind
lover.mind.add_antag_datum(V)
else
var/datum/antagonist/valentine/V = new
V.date = date.mind
lover.mind.add_antag_datum(V) //These really should be teams but i can't be assed to incorporate third wheels right now
// /proc/forge_valentines_objective(mob/living/lover,mob/living/date,var/chemLove = FALSE)
// lover.mind.special_role = "valentine"
// if (chemLove == TRUE)
// var/datum/antagonist/valentine/chem/V = new //Changes text and EOG check basically.
// V.date = date.mind
// lover.mind.add_antag_datum(V)
// else
// var/datum/antagonist/valentine/V = new
// V.date = date.mind
// lover.mind.add_antag_datum(V) //These really should be teams but i can't be assed to incorporate third wheels right now
/datum/round_event/valentines/announce(fake)
priority_announce("It's Valentine's Day! Give a valentine to that special someone!")
// /datum/round_event/valentines/announce(fake)
// priority_announce("It's Valentine's Day! Give a valentine to that special someone!")
//GS13 - commented out cuz it's kinda weird and too prefbreaky
/obj/item/valentine
name = "valentine"