mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-12 07:32:33 +01:00
Cyborgs
Reduced amount of round-start cyborgs to 1. Removed cyborg latejoining. Added a 7 ds delay on cyborg laser guns. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1489 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -104,7 +104,7 @@ var
|
||||
cmoMax = 1
|
||||
mimeMax = 1
|
||||
sorterMax = 2
|
||||
borgMax = 2
|
||||
//borgMax = 1 < Isn't used anymore since borgs can't latejoin now. -- Urist
|
||||
|
||||
list/bombers = list( )
|
||||
list/admin_log = list ( )
|
||||
|
||||
@@ -704,6 +704,8 @@
|
||||
force = 7.0
|
||||
m_amt = 2000
|
||||
origin_tech = "combat=3;magnets=2"
|
||||
var/shot_delay = 0 //used for borg guns, adds that much in deciseconds delay between shots
|
||||
var/next_attack = 0 //used for the delay
|
||||
|
||||
/obj/item/weapon/gun/energy/laser_gun/captain
|
||||
icon_state = "caplaser"
|
||||
|
||||
@@ -14,7 +14,7 @@ var/list/occupations = list(
|
||||
"Research Director",
|
||||
"Chaplain",
|
||||
"Roboticist",
|
||||
"Cyborg","Cyborg",//"Cyborg","Cyborg","Cyborg",
|
||||
"Cyborg",//"Cyborg","Cyborg","Cyborg","Cyborg", < Fuck that. Seriously. -- Urist
|
||||
"AI",
|
||||
"Barman",
|
||||
"Chef",
|
||||
|
||||
@@ -446,7 +446,7 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/li
|
||||
return
|
||||
|
||||
var/detective = 0
|
||||
|
||||
|
||||
if (istype(user, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = user
|
||||
detective = (istype(H.w_uniform, /obj/item/clothing/under/det) && \
|
||||
@@ -457,7 +457,7 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/li
|
||||
user << "\red You don't have the dexterity to do this!"
|
||||
return
|
||||
detective = 1
|
||||
|
||||
|
||||
if(!detective)
|
||||
usr << "\red You just don't feel cool enough to use this gun looking like that."
|
||||
return
|
||||
@@ -497,7 +497,7 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/li
|
||||
|
||||
/obj/item/weapon/gun/detectiverevolver/attack(mob/M as mob, mob/living/user as mob)
|
||||
var/detective = 0
|
||||
|
||||
|
||||
if (istype(user, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = user
|
||||
detective = (istype(H.w_uniform, /obj/item/clothing/under/det) && \
|
||||
@@ -508,7 +508,7 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/li
|
||||
user << "\red You don't have the dexterity to do this!"
|
||||
return
|
||||
detective = 1
|
||||
|
||||
|
||||
if(!detective)
|
||||
user << "\red You just don't feel cool enough to use this gun looking like that."
|
||||
return
|
||||
@@ -603,12 +603,17 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/li
|
||||
user << "\red *click* *click*"
|
||||
return
|
||||
|
||||
if(next_attack > world.time)
|
||||
return
|
||||
|
||||
playsound(user, 'Laser.ogg', 50, 1)
|
||||
if(isrobot(user))
|
||||
var/mob/living/silicon/robot/R = user
|
||||
R.cell.charge -= 30
|
||||
else
|
||||
src.charges--
|
||||
if(shot_delay)
|
||||
next_attack = world.time + shot_delay
|
||||
update_icon()
|
||||
|
||||
var/turf/T = user.loc
|
||||
|
||||
@@ -137,6 +137,7 @@ obj/item/weapon/robot_module/syndicate
|
||||
src.modules += new /obj/item/weapon/handcuffs(src)
|
||||
src.modules += new /obj/item/weapon/gun/energy/taser_gun(src)
|
||||
src.emag = new /obj/item/weapon/gun/energy/laser_gun(src)
|
||||
src.emag:shot_delay = 7
|
||||
|
||||
|
||||
/obj/item/weapon/robot_module/janitor/New()
|
||||
|
||||
@@ -251,8 +251,8 @@ mob/new_player
|
||||
AttemptLateSpawn("Mime", mimeMax)
|
||||
if ("31")
|
||||
AttemptLateSpawn("Mail Sorter", sorterMax)
|
||||
if ("32")
|
||||
AttemptLateSpawn("Cyborg", borgMax)
|
||||
//if ("32") < Nope. Latejoining cyborgs can fuck a lot of shit up since it's sudden and nobody is near the robotics console etc. -- Urist
|
||||
//AttemptLateSpawn("Cyborg", borgMax)
|
||||
|
||||
if(!ready && href_list["preferences"])
|
||||
preferences.process_link(src, href_list)
|
||||
@@ -430,8 +430,8 @@ mob/new_player
|
||||
dat += "<a href='byond://?src=\ref[src];SelectedJob=29'>Shaft Miner</a><br>"
|
||||
if (IsJobAvailable("Mail Sorter",sorterMax))
|
||||
dat += "<a href='byond://?src=\ref[src];SelectedJob=31'>Mail Sorter</a> (BETA)<br>"
|
||||
if (IsJobAvailable("Cyborg",borgMax))
|
||||
dat += "<a href='byond://?src=\ref[src];SelectedJob=32'>Cyborg</a><br>"
|
||||
//if (IsJobAvailable("Cyborg",borgMax))
|
||||
//dat += "<a href='byond://?src=\ref[src];SelectedJob=32'>Cyborg</a><br>"
|
||||
if (!jobban_isbanned(src,"Assistant"))
|
||||
dat += "<a href='byond://?src=\ref[src];SelectedJob=18'>Assistant</a><br>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user