Commit Graph

23 Commits

Author SHA1 Message Date
Incoming
1bbff5abfe All modes now choose their antagonists before they choose jobs.
A new mind attached list, restricted_roles, will keep incompatible jobsout of rotation.

Players who would otherwise qualify to play as a protected role will spawn
as the most wanted not protected role they qualify for if they are an
onstation antagonist. If they don't qualify for any job in this way
depending on preferences they will either spawn as an assistant or a random
job (which also makes sure they don't end up in an incompatible job).

Note this doesn't impact late join antagonists or mulligan antagonists.
Roundstart only.
2015-05-13 06:14:00 -07:00
ZomgPonies
91e8b909c0 Squish Squash 2015-04-04 14:27:53 -04:00
Markolie
d002464f37 Autotraitor selection fix 2015-02-05 15:24:43 +01:00
Markolie
86dd7782d5 Add cyborg latejoining 2015-02-05 14:27:39 +01:00
Markolie
c1a1a88da6 AI/Cyborg can be traitor during autotraitor 2015-02-05 12:59:00 +01:00
Markolie
c4f11b6693 Extra jobban checks 2015-02-01 16:38:17 +01:00
Markolie
af9aeaaf84 Autotraitor fixes 2014-11-29 21:59:57 +01:00
alex-gh
c187ed88c7 Deduplicating code 2014-06-21 07:36:19 +02:00
Ccomp5950
1e5514e27e Code effeciency project: HUD items rewrite
Before: Every tick each HUD item would recalculate and redo images for every mob in view. For items like the secHUD where we're transversing implants and the various records this gets very expensive.

After: Mobs use their hud_list variable to store varius huditem images, when conditions change for those specific huditem images it updates the specific ones on demand. As a backup every 30 ticks or so the mob will update all of their hud_list.

Also: moved proc/RoundHealth() from 2 seperate locations into __HELPERS/mobs.dm

Conflicts:
	code/__HELPERS/mobs.dm
	code/game/objects/items/weapons/implants/implanter.dm
	code/modules/mob/dead/observer/observer.dm
	code/modules/mob/living/carbon/human/human_damage.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/mob/living/living.dm
	code/modules/mob/living/living_defines.dm
	code/modules/mob/living/silicon/silicon.dm
	code/modules/virus2/helpers.dm
	code/setup.dm
	icons/mob/hud.dmi
2014-03-10 08:07:29 -04:00
ZomgPonies
5702890b9b Whitelisting system, new karma job, new karma species 2013-09-29 02:13:40 -04:00
Kilakk
e634cd01f2 Fixes #3517 2013-08-23 14:21:08 -04:00
Mloc-Argent
941f36ddec Fix for autotraitor not working in secret probabilities. All modes default to 0 prob in secret now.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-08-07 16:56:41 +01:00
Spamcat
11e27c5999 Merge branch 'bleeding-edge-freeze' of github.com:Baystation12/Baystation12 into loops
Conflicts:
	code/game/gamemodes/objective.dm
2013-07-01 19:49:29 +04:00
Spamcat
10ee1fbcfe World loops 2: Electric Boogaloo. 2013-07-01 19:43:56 +04:00
Whitellama
d23b758006 WIP: Implementing space ninja gamemode 2013-06-15 16:09:23 -07:00
cib
48b78ea758 Re-added latespawn.
Used in autotraitor and RP-revolution.
2013-05-18 11:06:19 +02:00
Cael_Aislinn
990090326d compile fixes and cleanup
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-01-07 02:36:52 +10:00
cib
7fccadfc89 Ported AutoTraitor. 2012-10-16 18:44:53 +02:00
SkyMarshal
09546b7fe0 First commit towards the new objective system. 2012-03-24 21:50:17 -07:00
Miniature
18c0bf7e16 Added restricted job checking to autotraitor 2012-03-23 19:21:32 +10:30
SkyMarshal
39f170b4b3 Final updates:
Fingerprints done.
A mob's be_syndicate is a direct copy of their preferences.
2012-01-31 02:30:54 -07:00
SkyMarshal
d2eff85c17 Porting much of Aryn's stuff
-Sounds
-Detective Work
-Hallucinations
Tweaked server air alarm
Tweaked gibs
Working on de-derping surgery
Ported some BS12 stuff (stunned radio and adminwho)
Player's mind datum now holds their antagonist preferences.
2012-01-31 02:01:36 -07:00
SkyMarshal
f623c4848e Derp, missed files. 2012-01-28 01:54:05 -07:00