Finishes UFO PoI

This commit is contained in:
Neerti
2017-11-26 15:05:20 -05:00
parent 5b0b639377
commit 01aaccf893
24 changed files with 195 additions and 91 deletions
+11
View File
@@ -109,6 +109,17 @@
min_cold_protection_temperature = SPACE_HELMET_MIN_COLD_PROTECTION_TEMPERATURE
siemens_coefficient = 0.5
/obj/item/clothing/head/helmet/alien
name = "alien helmet"
desc = "It's quite larger than your head, but it might still protect it."
icon_state = "alienhelmet"
siemens_coefficient = 0.4
armor = list(melee = 50, bullet = 50, laser = 50, energy = 50, bomb = 50, bio = 0, rad = 40)
/obj/item/clothing/head/helmet/alien/tank
name = "alien warhelm"
armor = list(melee = 70, bullet = 70, laser = 70, energy = 70, bomb = 70, bio = 0, rad = 40)
/obj/item/clothing/head/helmet/thunderdome
name = "\improper Thunderdome helmet"
desc = "<i>'Let the battle commence!'</i>"
+24 -4
View File
@@ -210,15 +210,35 @@
icon_state = "reactiveoff"
..()
// Alien armor has a chance to completely block attacks.
/obj/item/clothing/suit/armor/alien
name = "alien armor"
desc = "It's really resilient yet lightweight, so it's probably meant to be armor. Strangely enough it seems to have been designed for a humanoid shape."
icon_state = "alien"
name = "alien enhancement vest"
desc = "It's a strange piece of what appears to be armor. It looks very light and agile. Strangely enough it seems to have been designed for a humanoid shape."
description_info = "It has a 20% chance to completely nullify an incoming attack, and the wearer moves slightly faster."
icon_state = "alien_speed"
blood_overlay_type = "armor"
item_state_slots = list(slot_r_hand_str = "armor", slot_l_hand_str = "armor")
slowdown = -1
body_parts_covered = UPPER_TORSO|LOWER_TORSO
armor = list(melee = 50, bullet = 50, laser = 50, energy = 50, bomb = 50, bio = 0, rad = 40)
siemens_coefficient = 0.4
var/block_chance = 25
/obj/item/clothing/suit/armor/alien/tank
name = "alien protection suit"
desc = "It's really resilient yet lightweight, so it's probably meant to be armor. Strangely enough it seems to have been designed for a humanoid shape."
description_info = "It has a 40% chance to completely nullify an incoming attack."
icon_state = "alien_tank"
slowdown = 0
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
armor = list(melee = 65, bullet = 65, laser = 65, energy = 50, bomb = 50, bio = 0, rad = 40)
armor = list(melee = 70, bullet = 70, laser = 70, energy = 70, bomb = 70, bio = 0, rad = 40)
block_chance = 40
/obj/item/clothing/suit/armor/alien/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
if(prob(block_chance))
user.visible_message("<span class='danger'>\The [src] completely absorbs [attack_text]!</span>")
return TRUE
return FALSE
//Non-hardsuit ERT armor.
/obj/item/clothing/suit/armor/vest/ert
@@ -244,6 +244,14 @@
name = "medal of exceptional heroism"
desc = "An extremely rare golden medal awarded only by high ranking officials. To recieve such a medal is the highest honor and as such, very few exist. This medal is almost never awarded to anybody but distinguished veteran staff."
// Base type for 'medals' found in a "dungeon" submap, as a sort of trophy to celebrate the player's conquest.
/obj/item/clothing/accessory/medal/dungeon
/obj/item/clothing/accessory/medal/dungeon/alien_ufo
name = "alien captain's medal"
desc = "It vaguely like a star. It looks like something an alien captain might've worn. Probably."
icon_state = "alien_medal"
//Scarves
/obj/item/clothing/accessory/scarf
+4 -1
View File
@@ -44,4 +44,7 @@
icon_state = "cell"
charge_amount = 120 // 5%.
charge_delay = 50 // Every five seconds, bit faster than the default.
origin_tech = list(TECH_POWER = 8, TECH_ENGINEERING = 6)
origin_tech = list(TECH_POWER = 8, TECH_ENGINEERING = 6)
/obj/item/weapon/cell/device/weapon/recharge/alien/update_icon()
return // No overlays please.
@@ -56,6 +56,22 @@
icon_state = "retro"
cell_type = null
/obj/item/weapon/gun/energy/alien
name = "alien pistol"
desc = "A weapon that works very similarly to a traditional energy weapon. How this came to be will likely be a mystery for the ages."
icon_state = "alienpistol"
item_state = "alienpistol"
fire_sound = 'sound/weapons/eLuger.ogg'
fire_delay = 10 // Handguns should be inferior to two-handed weapons. Even alien ones I suppose.
charge_cost = 480 // Five shots.
projectile_type = /obj/item/projectile/beam/cyan
cell_type = /obj/item/weapon/cell/device/weapon/recharge/alien // Self charges.
origin_tech = list(TECH_COMBAT = 8, TECH_MAGNET = 7)
modifystate = "alienpistol"
/obj/item/weapon/gun/energy/captain
name = "antique laser gun"
icon_state = "caplaser"
@@ -70,6 +70,16 @@
tracer_type = /obj/effect/projectile/xray/tracer
impact_type = /obj/effect/projectile/xray/impact
/obj/item/projectile/beam/cyan
name = "cyan beam"
icon_state = "cyan"
damage = 40
light_color = "#00C6FF"
muzzle_type = /obj/effect/projectile/laser_omni/muzzle
tracer_type = /obj/effect/projectile/laser_omni/tracer
impact_type = /obj/effect/projectile/laser_omni/impact
/obj/item/projectile/beam/pulse
name = "pulse"
icon_state = "u_laser"