Jaqc complete.

This commit is contained in:
Fermi
2019-10-09 11:58:36 +01:00
parent 9071826e70
commit 1dce18962d
3 changed files with 102 additions and 33 deletions
+102 -33
View File
@@ -58,6 +58,17 @@
health = 20
poof()
/mob/living/jacq/attack_hand(mob/living/carbon/human/M)
if(M.a_intent == INTENT_HELP)
chit_chat(M)
else
..()
/mob/living/jacq/attack_paw(mob/living/carbon/monkey/M)
if(M.a_intent == INTENT_HELP)
chit_chat(M)
else
..()
/mob/living/jacq/proc/poof()
var/datum/reagents/R = new/datum/reagents(100)//Hey, just in case.
@@ -95,7 +106,7 @@
if(!progression["[C.real_name]"] || !(progression["[C.real_name]"] & JACQ_HELLO))
visible_message("<b>[src] smiles ominously at [L],</b> <span class='spooky'>\"Well hal there [gender]! Ahm Jacqueline, tae great Pumpqueen, great tae meet ye.\"</span>")
sleep(20)
visible_message("<span class='spooky'><b>[src] continues,</b> says, Ahm sure yae well stunned, but ahve got nae taem fer that. Ahm after the candies around this station. If yae get mae enoof o the wee buggers, Ah'll give ye a treat, or if yae feeling bold, Ah ken trick ye instead.</span> giving [L] a wide grin.")
visible_message("<span class='spooky'><b>[src] continues,</b> says, \"Ahm sure yae well stunned, but ahve got nae taem fer that. Ahm after the candies around this station. If yae get mae enoof o the wee buggers, Ah'll give ye a treat, or if yae feeling bold, Ah ken trick ye instead.</span>\" giving [L] a wide grin.")
if(!progression["[C.real_name]"])
progression["[C.real_name]"] += JACQ_HELLO //TO MAKE SURE THAT THE LIST ENTRY EXISTS.
else
@@ -122,19 +133,37 @@
visible_message("<b>[src] gives off a glowing smile,</b> <span class='spooky'>\"What ken Ah offer ye? I can magic in you an object, A potion or a plushie. \"</span>")
var/choices_reward = list("Object - 3 candies", "Potion - 2 candies", "Plushie - 1 candy", "Can I ask you a question instead?")
var/choice_reward = input(usr, "Trick or Treat?", "Trick or Treat?") in choices
//rewards
switch(choice_reward)
if("Object - 3 candies")
if(!take_candies(C, 3))
visible_message("<b>[src] raises an eyebrown,</b> <span class='spooky'>\"It's 3 candies per trinket [gender]! Thems the rules!\"</span>")
return
var/new_obj = pick(subtypesof(/obj))
//for(var/item in blacklist)
// if(new_obj == item)
// panic()
new new_obj(C.loc)
var/reward = new new_obj(C.loc)
C.put_in_hands(reward)
if("Potion - 2 candies")
new /obj/item/reagent_containers/potion_container(C.loc)
if("Plushie - 1 candy")
new /obj/item/toy/plush/random(C.loc)
if("Can I ask you a question instead?")
if(!take_candies(C, 2))
visible_message("<b>[src] raises an eyebrown,</b> <span class='spooky'>\"It's 2 candies per potion [gender]! Thems the rules!\"</span>")
return
var/reward = new /obj/item/reagent_containers/potion_container(C.loc)
C.put_in_hands(reward)
if("Plushie - 1 candy")
if(!take_candies(C, 1))
visible_message("<b>[src] raises an eyebrown,</b> <span class='spooky'>\"It's 1 candy per plushie [gender]! Thems the rules!\"</span>")
return
var/reward = new /obj/item/toy/plush/random(C.loc)
C.put_in_hands(reward)
//chitchats!
if("Can I ask you a question instead?")
var/choices = list()
//Figure out where the C is in the story
if(!progression["[C.real_name]"]) //I really don't want to get here withoot a hello, but just to be safe
@@ -172,11 +201,11 @@
//Talking
switch(choice)
if("Why do you want the candies?")
visible_message("<b>[src] says,</b> <span class='spooky'>\Ave ye tried them? Theyre full of all sorts of reagents. Ahm after them so ah ken magic em up an hopefully find rare stuff fer me brews. Honestly its a lot easier magicking up tatt fer ye lot than runnin aroond on me own like. I'd ask me familiars but most a my familiars are funny fellows 'n constantly bugger off on adventures when given simple objectives like; Go grab me a tea cake or watch over me cauldron. Ah mean, ye might run into Bartholomew my cat. Ees supposed tae be tending my cauldron, but Ive nae idea where ees got tae.\"</span>")
visible_message("<b>[src] says,</b> <span class='spooky'>\"Ave ye tried them? Theyre full of all sorts of reagents. Ahm after them so ah ken magic em up an hopefully find rare stuff fer me brews. Honestly its a lot easier magicking up tatt fer ye lot than runnin aroond on me own like. I'd ask me familiars but most a my familiars are funny fellows 'n constantly bugger off on adventures when given simple objectives like; Go grab me a tea cake or watch over me cauldron. Ah mean, ye might run into Bartholomew my cat. Ees supposed tae be tending my cauldron, but Ive nae idea where ees got tae.\"</span>")
progression["[C.real_name]"] = progression["[C.real_name]"] | JACQ_CANDIES
if("You really came all this way for candy?")
visible_message("<b>[src] looks tae the side sheepishly,</b> <span class='spooky'>\"Aye, well, tae be honest, Ahm here tae see me sis, but dunnae let her knew that. Shes an alchemist too like, but she dunnae use a caldron like mae, she buggered off like tae her posh ivory tower tae learn bloody chemistry instead! [src] scowls, “Shes tae black sheep o the family too, so we dunnae see eye tae eye sometimes on alchemy. Ah mean, she puts <i> moles </i> in her brews! Ye dunnae put moles in yer brews! Yae threw your brews at tae wee bastards an blew em up! [src] sighs But shes a heart o gold so.. Ah wanted tae see her an check up oon her, make sure shes okay.\"</span>")
visible_message("<b>[src] looks tae the side sheepishly,</b> <span class='spooky'>\"Aye, well, tae be honest, Ahm here tae see me sis, but dunnae let her knew that. Shes an alchemist too like, but she dunnae use a caldron like mae, she buggered off like tae her posh ivory tower tae learn bloody chemistry instead!" [src] scowls, “Shes tae black sheep o the family too, so we dunnae see eye tae eye sometimes on alchemy. Ah mean, she puts <i> moles </i> in her brews! Ye dunnae put moles in yer brews! Yae threw your brews at tae wee bastards an blew em up!" [src] sighs "But shes a heart o gold so.. Ah wanted tae see her an check up oon her, make sure shes okay.\"</span>")
progression["[C.real_name]"] = progression["[C.real_name]"] | JACQ_FAR
if("What is that on your head?")
@@ -184,11 +213,11 @@
progression["[C.real_name]"] = progression["[C.real_name]"] | JACQ_HEAD
if("Are you a witch?")
visible_message("<b>[src] grumbles,</b> <span class='spooky'>\"If ye must know, Ah got kicked oot of the witch academy fer being too much of a “loose cannon. A bloody loose cannon? Nae they were just pissed off Ah had the brass tae proclaim myself as the Pumpqueen…. And also maybe the time Ah went and blew up one of the towers by trying tae make a huge batch of astrogen mightve had something tae do with it. Ah mean it wouldve worked fine if the cauldrons werent so shite and were actually upgraded by the faculty. So technically no, Im not a witch.\"</span>")
visible_message("<b>[src] grumbles,</b> <span class='spooky'>\"If ye must know, Ah got kicked oot of the witch academy fer being too much of a “loose cannon". A bloody loose cannon? Nae they were just pissed off Ah had the brass tae proclaim myself as the Pumpqueen…. And also maybe the time Ah went and blew up one of the towers by trying tae make a huge batch of astrogen mightve had something tae do with it. Ah mean it wouldve worked fine if the cauldrons werent so shite and were actually upgraded by the faculty. So technically no, Im not a witch.\"</span>")
progression["[C.real_name]"] = progression["[C.real_name]"] | JACQ_WITCH
if("So you got ex-spell-ed?")
visible_message("<b>[src] Gives you a blank look at the pun, before continuing,</b> <span class='spooky'>\"Not quite, Ah know Ah ken get back into the academy, its only an explosion, they happen all the time, but, tae be fair its my fault that things came tae their explosive climax. You dont know what its like when youre after a witch doctorate, everyone else is doing well, everyones making new spells and the like, and Im just good at making explosions really, or fireworks. So, Ah did something Ah knew was dangerous, because Ah had tae do something tae stand oot, but Ah know this life aint fer me, Ah dont want tae be locked up in dusty towers, grinding reagent after reagent together, trying tae find new reactions, some of the wizards in there havent left fer years. Ah want tae live, Ah want tae fly around on a broom, turn people into cats fer a day and disappear cackling! Thats what got me into witchcraft! she throws her arms up in the arm, spinning the pumpkin upon her head slightly. She carefully spins it back to face you, giving oot a soft sigh, Ah know my mothers obsession with this dumb thing on my head is just her trying tae fill the void of me and my sis moving oot, and it really shouldnt be on my head. And Ah know that Im really here tae get help from my sis… Shes the sensible one, and she gives good hugs.\"</span>")
visible_message("<b>[src] Gives you a blank look at the pun, before continuing,</b> <span class='spooky'>\"Not quite, Ah know Ah ken get back into the academy, its only an explosion, they happen all the time, but, tae be fair its my fault that things came tae their explosive climax. You dont know what its like when youre after a witch doctorate, everyone else is doing well, everyones making new spells and the like, and Im just good at making explosions really, or fireworks. So, Ah did something Ah knew was dangerous, because Ah had tae do something tae stand oot, but Ah know this life aint fer me, Ah dont want tae be locked up in dusty towers, grinding reagent after reagent together, trying tae find new reactions, some of the wizards in there havent left fer years. Ah want tae live, Ah want tae fly around on a broom, turn people into cats fer a day and disappear cackling! Thats what got me into witchcraft!" she throws her arms up in the arm, spinning the pumpkin upon her head slightly. She carefully spins it back to face you, giving oot a soft sigh, "Ah know my mothers obsession with this dumb thing on my head is just her trying tae fill the void of me and my sis moving oot, and it really shouldnt be on my head. And Ah know that Im really here tae get help from my sis… Shes the sensible one, and she gives good hugs.\"</span>")
sleep(50)
visible_message("<b>[src] says,</b> <span class='spooky'>\"Thanks [C], Ah guess Ah didnt realise Ah needed someone tae talk tae but, Im glad ye spent all your candies talking tae me. Funny how things seem much worse in yer head.\"</span>")
progression["[C.real_name]"] = progression["[C.real_name]"] | JACQ_EXPELL
@@ -196,6 +225,7 @@
if("Can I take you out on a date?")
visible_message("<b>[src] blushes,</b> <span class='spooky'>\"...You want tae ask me oot on a date? Me? After all that nonsense Ah just said? It seems a waste of a candy honestly.\"</span>")
progression["[C.real_name]"] = progression["[C.real_name]"] | JACQ_DATE
visible_message("<b>[src] looks to the side, deep in thought.</span>")
dating_start(C, gender)
if("Nevermind")
@@ -203,53 +233,96 @@
/mob/living/jacq/proc/trick(mob/living/carbon/C, gender)
var/option = rand(1,6)
var/option = rand(1,7)
switch(option)
if(1)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"Hocus pocus, making friends is now your focus!\"</span>")
var/objective = pick("Make a tasty sandwich for", "Compose a poem for", "Aquire a nice outfit to give to", "Strike up a conversation about pumpkins with", "Write a letter and deliver it to", "Give a nice hat to")
var/datum/objective/brainwashing/objective = pick("Make a tasty sandwich for", "Compose a poem for", "Aquire a nice outfit to give to", "Strike up a conversation about pumpkins with", "Write a letter and deliver it to", "Give a nice hat to")
var/mob/living/L2 = pick(GLOB.player_list)
objective += " [L2.name]."
brainwash(H, objective)
if(2)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"Off comes your head, atleast you're not dead.\"</span>")
C.reagents.add_reagent("pumpkinmutationtoxin", 5)
if(3)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"If only you had a better upbringing, your ears are now full of my singing!\"</span>")
//playsound
var/spowoky = "https://www.youtube.com/watch?v=PFrPrIxluWk"
C.chatOutput.sendMusic(spowoky, pitch)//I hope this works!
if(4)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"A cute little bumpkin, In your hand is a pumpkin!\"</span>")
//Sticky latern
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"You're cute little bumpkin, In your hand is a pumpkin!\"</span>")
for(var/obj/item/I in C.held_items)
C.dropItemToGround(I, TRUE)
var/jaqc_latern = new /obj/item/clothing/head/hardhat/pumpkinhead/jaqc
put_in_hands(jaqc_latern)
if(5)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"In your arms a jokester, keep him close if you don't want to be a toaster!\"</span>")
//sans
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"In your body there's something amiss, you'll find it's a chem made by my sis!\"</span>")
C.reagents.add_reagent("eigenstate", 30)
if(6)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"A new familiar for me, and you'll see it's thee!\"</span>")
C.reagents.add_reagent("secretcatchem", 30)
if(7)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"While you may not be a ghost, for this sheet you'll always be it's host.\"</span>")
C.place_on_head(new /obj/item/clothing/suit/ghost_sheet/sticky(C))
if(C.wear_suit)
var/obj/item/W = C.wear_suit
C.dropItemToGround(W, TRUE)
var/ghost = new /obj/item/clothing/suit/ghost_sheet/sticky
M.equip_to_slot(ghost, SLOT_WEAR_SUIT, 1, 1)
poof()
/*Will you go on a date with me?
”…You want tae ask me oot on a date? Me? After all that nonsense Ah just said? It seems a waste of a candy honestly.”
[src] looks to the side.
”Look, Ah like ye but, Ah dont think Ah can right now. If ye cant tell, the stations covered in volatile candies, Ive a few other laddies and lassies running after me treats, and tae top it all off, Ive the gods breathing down me neck, watching every treat Ah make fer the lot of yous.” she sighs, ”But thats not a no, right? Thats.. just a not right now.”
[src] takes off the pumpkin on her head, a rich blush on her cheeks. She leans over planting a kiss upon your forehead quickly befere popping the pumpkin back on her head.
//Blame Fel
/mob/living/jacq/proc/dating_start(mob/living/carbon/C, gender)
candies = pollGhostCandidates("Do you want to go on a date with [C] as Jacqueline the great pumpqueen?")
//sleep(30) //If the poll doesn't autopause.
if(candies)
candies = shuffle(candies)//Shake those ghosts up!
for(var/mob/dead/observer/C2 in candies)
if(C2.key && C2)
key = C2.key
message_admins("[C2]/[C2.key] has agreed to go on a date with [C] as Jacqueline.")
log_game("HALLOWEEN: [C2]/[C2.key] has agreed to go on a date with [C] as Jacqueline")
return
else
candies =- C2
visible_message("<b>[src] looks to the side,</b> <span class='spooky'>\"Look, Ah like ye but, Ah dont think Ah can right now. If ye cant tell, the stations covered in volatile candies, Ive a few other laddies and lassies running after me treats, and tae top it all off, Ive the gods breathing down me neck, watching every treat Ah make fer the lot of yous.\" she sighs, \"But thats not a no, right? Thats.. just a nae right noo.\"</span>")
sleep(20)
visible_message("<b>[src] takes off the pumpkin on her head, a rich blush on her cheeks. She leans over planting a kiss upon your forehead quickly befere popping the pumpkin back on her head.</b>")
sleep(10)
visible_message("<b>[src] waves their arms around,</b> <span class='spooky'>\"There, that aught tae be worth a candy.\"</span>")
sleep(20)
poof()
” There, that aught tae be worth a candy.”
Ondeath:
visible_message("<span class='spooky'><b>[src] cackles,</b> "You'll nae get rid a me that easily!"</span>")
(the last message is if I can't get a ghost/a person in it)
*/
/obj/item/clothing/head/hardhat/pumpkinhead/jaqc
name = "Jacq o' latern"
desc = "A jacqueline o' lantern! You can't seem to get rid of it."
icon_state = "hardhat0_pumpkin_j"
item_state = "hardhat0_pumpkin_j"
item_color = "pumpkin_j"
item_flags = NODROP
brightness_on = 4
/obj/item/clothing/suit/ghost_sheet/sticky
item_flags = NODROP
/obj/item/clothing/suit/ghost_sheet/sticky/attack_hand(mob/user)
if(iscarbon(user))
to_chat(user, "<span class='spooky'><i>Boooooo~!</i></span>")
return
else
..()
/obj/item/clothing/suit/ghost_sheet/sticky/attack_hand(mob/user)
if(iscarbon(user))
to_chat(user, "<span class='spooky'><i>Boooooo~!</i></span>")
return
else
..()
var/datum/reagent/mutationtoxin/pumpkinhead
name = "Pumpkin head mutation toxin"
id = "pumpkinmutationtoxin"
race = /datum/species/dullahan/pumpkin
mutationtext = "<span class='spooky'>The pain subsides. You feel your head roll off your shoulders."
//I couldn't get the replace head sprite with a pumpkin to work so, it is what it is.
/mob/living/jacq/proc/check_candies(mob/living/carbon/C)
var/invs = C.get_contents()
@@ -273,10 +346,6 @@ var/datum/reagent/mutationtoxin/pumpkinhead
return TRUE
return FALSE
/mob/living/jacq/proc/trick(C)
//var/area/A = input(usr, "Pick an area.", "Pick an area") in GLOB.sortedAreas|null
//Potions
/obj/item/reagent_containers/potion_container
name = "potion"