mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
79 lines
3.1 KiB
Plaintext
79 lines
3.1 KiB
Plaintext
// These contain structures to make certain 'alien' (as in the ayyy ones, not xenomorphs) submaps more filled, and don't really do anything.
|
|
|
|
/obj/structure/prop/alien
|
|
name = "some alien thing"
|
|
desc = "My description is broken, bug a developer."
|
|
icon = 'icons/obj/abductor.dmi'
|
|
density = TRUE
|
|
anchored = TRUE
|
|
var/interaction_message = null
|
|
|
|
/obj/structure/prop/alien/attack_hand(mob/living/user) // Used to tell the player that this isn't useful for anything.
|
|
if(!istype(user))
|
|
return FALSE
|
|
if(!interaction_message)
|
|
return ..()
|
|
else
|
|
to_chat(user, interaction_message)
|
|
|
|
/obj/structure/prop/alien/computer
|
|
name = "alien console"
|
|
desc = "The console flashes what appear to be symbols you've never seen before."
|
|
icon_state = "console-c"
|
|
interaction_message = "<span class='warning'>The console flashes a series of unknown symbols as you press a button on what is presumably a keyboard. It probably some sort of \
|
|
authentication error. Since you're not an alien, you should probably leave it alone.</span>"
|
|
|
|
/obj/structure/prop/alien/computer/camera
|
|
desc = "This console is briefly flashing video feeds of various locations close by."
|
|
icon_state = "camera"
|
|
|
|
/obj/structure/prop/alien/computer/camera/flipped
|
|
icon_state = "camera_flipped"
|
|
|
|
/obj/structure/prop/alien/dispenser
|
|
name = "alien dispenser"
|
|
desc = "This looks like it dispenses... something?"
|
|
icon_state = "dispenser"
|
|
interaction_message = "<span class='warning'>You don't see any mechanism to operate this. Probably for the best.</span>"
|
|
|
|
/obj/structure/prop/alien/pod
|
|
name = "alien pod"
|
|
desc = "This seems to be a container for something."
|
|
icon_state = "experiment"
|
|
interaction_message = "<span class='warning'>You don't see any mechanism to open this thing. Probably for the best.</span>"
|
|
|
|
/obj/structure/prop/alien/pod/open
|
|
name = "opened alien pod"
|
|
desc = "At one point, this probably contained something interesting..."
|
|
icon_state = "experiment-open"
|
|
interaction_message = "<span class='warning'>You don't see any mechanism to close this thing.</span>"
|
|
|
|
/obj/structure/prop/alien/power
|
|
name = "void core"
|
|
icon_state = "core"
|
|
desc = "An alien machine that seems to be producing energy seemingly out of nowhere."
|
|
interaction_message = "<span class='warning'>Messing with something that makes energy out of nowhere seems very unwise.</span>"
|
|
|
|
/obj/item/prop/alien
|
|
name = "some alien item"
|
|
desc = "My description is broken, bug a developer."
|
|
icon = 'icons/obj/abductor.dmi'
|
|
|
|
// Mostly useless. Research might like it, however.
|
|
/obj/item/prop/alien/junk
|
|
name = "alien object"
|
|
desc = "You have no idea what this thing does."
|
|
icon_state = "health"
|
|
w_class = ITEMSIZE_SMALL
|
|
var/static/list/possible_states = list("health", "spider", "slime", "emp", "species", "egg", "vent", "mindshock", "viral", "gland")
|
|
var/static/list/possible_tech = list(TECH_MATERIAL, TECH_ENGINEERING, TECH_PHORON, TECH_POWER, TECH_BIO, TECH_COMBAT, TECH_MAGNET, TECH_DATA)
|
|
|
|
/obj/item/prop/alien/junk/initialize()
|
|
..()
|
|
icon_state = pick(possible_states)
|
|
var/list/techs = possible_tech.Copy()
|
|
origin_tech = list()
|
|
for(var/i = 1 to rand(1, 4))
|
|
var/new_tech = pick(techs)
|
|
techs -= new_tech
|
|
origin_tech[new_tech] = rand(5, 9) |