mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
Notify me if any issues with them, or any simple_animal arise. Fixed a few issues with space bears. Slightly improved teleporter code, and did a few misc runtime fixes. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4258 316c924e-a436-60f5-8080-3fe189b3f50e
125 lines
4.3 KiB
Plaintext
125 lines
4.3 KiB
Plaintext
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
|
|
|
|
var/global/list/space_surprises = list( /obj/item/clothing/mask/facehugger/angry =4,
|
|
// /obj/item/weapon/pickaxe/hammer =4, //Waiting on a sprite
|
|
/obj/item/weapon/pickaxe/silver =4,
|
|
/obj/item/weapon/pickaxe/drill =4,
|
|
/obj/item/weapon/pickaxe/jackhammer =4,
|
|
/mob/living/simple_animal/carp =3,
|
|
/obj/item/weapon/pickaxe/diamond =3,
|
|
/obj/item/weapon/pickaxe/diamonddrill =3,
|
|
/obj/item/weapon/pickaxe/gold =3,
|
|
/obj/item/weapon/pickaxe/plasmacutter =2,
|
|
/obj/structure/closet/syndicate/resources =2,
|
|
/obj/item/weapon/melee/energy/sword/pirate =1,
|
|
/obj/mecha/working/ripley/mining =1
|
|
|
|
// /obj/creature =0,
|
|
// /obj/item/weapon/rcd =0,
|
|
// /obj/item/weapon/rcd_ammo =0,
|
|
// /obj/item/weapon/spacecash =0,
|
|
// /obj/item/weapon/cloaking_device =0,
|
|
// /obj/item/weapon/gun/energy/teleport_gun =0,
|
|
// /obj/item/weapon/rubber_chicken =0,
|
|
// /obj/machinery/wish_granter =0, // Okayyyy... Mayyyybe Kor is kinda sorta right. A little. Tiny bit. >.>
|
|
// /obj/item/clothing/glasses/thermal =0, // Could maybe be cool as its own rapid mode, sorta like wizard. Maybe.
|
|
// /obj/item/weapon/storage/box/stealth/ =0
|
|
// =11
|
|
)
|
|
|
|
var/global/list/spawned_surprises = list()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/obj/machinery/wish_granter
|
|
name = "Wish Granter"
|
|
desc = "You're not so sure about this, anymore..."
|
|
icon = 'icons/obj/device.dmi'
|
|
icon_state = "syndbeacon"
|
|
|
|
anchored = 1
|
|
density = 1
|
|
|
|
var/charges = 1
|
|
var/insisting = 0
|
|
|
|
/obj/machinery/wish_granter/attack_hand(var/mob/user as mob)
|
|
usr.machine = src
|
|
|
|
if(charges <= 0)
|
|
user << "The Wish Granter lies silent."
|
|
return
|
|
|
|
else if(!istype(user, /mob/living/carbon/human))
|
|
user << "You feel a dark stirring inside of the Wish Granter, something you want nothing of. Your instincts are better than any man's."
|
|
return
|
|
|
|
else if(is_special_character(user))
|
|
user << "Even to a heart as dark as yours, you know nothing good will come of this. Something instinctual makes you pull away."
|
|
|
|
else if (!insisting)
|
|
user << "Your first touch makes the Wish Granter stir, listening to you. Are you really sure you want to do this?"
|
|
insisting++
|
|
|
|
else
|
|
user << "You speak. [pick("I want the station to disappear","Humanity is corrupt, mankind must be destroyed","I want to be rich", "I want to rule the world","I want immortality.")]. The Wish Granter answers."
|
|
user << "Your head pounds for a moment, before your vision clears. You are the avatar of the Wish Granter, and your power is LIMITLESS! And it's all yours. You need to make sure no one can take it from you. No one can know, first."
|
|
|
|
charges--
|
|
insisting = 0
|
|
|
|
if (!(HULK in user.mutations))
|
|
user.mutations.Add(HULK)
|
|
|
|
if (!(LASER in user.mutations))
|
|
user.mutations.Add(LASER)
|
|
|
|
if (!(XRAY in user.mutations))
|
|
user.mutations.Add(XRAY)
|
|
user.sight |= (SEE_MOBS|SEE_OBJS|SEE_TURFS)
|
|
user.see_in_dark = 8
|
|
user.see_invisible = SEE_INVISIBLE_LEVEL_TWO
|
|
|
|
if (!(COLD_RESISTANCE in user.mutations))
|
|
user.mutations.Add(COLD_RESISTANCE)
|
|
|
|
if (!(TK in user.mutations))
|
|
user.mutations.Add(TK)
|
|
|
|
if(!(HEAL in user.mutations))
|
|
user.mutations.Add(HEAL)
|
|
|
|
ticker.mode.traitors += user.mind
|
|
user.mind.special_role = "Avatar of the Wish Granter"
|
|
|
|
var/datum/objective/silence/silence = new
|
|
silence.owner = user.mind
|
|
user.mind.objectives += silence
|
|
|
|
var/obj_count = 1
|
|
for(var/datum/objective/OBJ in user.mind.objectives)
|
|
user << "<B>Objective #[obj_count]</B>: [OBJ.explanation_text]"
|
|
obj_count++
|
|
|
|
user << "You have a very bad feeling about this."
|
|
|
|
return
|
|
|
|
/obj/item/weapon/storage/box/stealth/
|
|
name = "Infiltration Gear"
|
|
desc = "An old box full of old equipment. It doesn't look like it was ever opened."
|
|
|
|
|
|
/obj/item/weapon/storage/box/stealth/New()
|
|
..()
|
|
|
|
new /obj/item/clothing/under/chameleon(src)
|
|
new /obj/item/clothing/mask/gas/voice(src)
|
|
new /obj/item/weapon/card/id/syndicate(src)
|
|
new /obj/item/clothing/shoes/syndigaloshes(src)
|
|
return
|