A bit of prep work for integegrating player-set backgrounds into gameplay.

This commit is contained in:
Zuhayr
2014-08-01 22:54:57 +09:30
parent 96fbc0c640
commit 9eefdf4db8
3 changed files with 16 additions and 1 deletions
+1
View File
@@ -297,6 +297,7 @@ var/global/datum/controller/gameticker/ticker
captainless=0
if(player.mind.assigned_role != "MODE")
job_master.EquipRank(player, player.mind.assigned_role, 0)
UpdateFactionList(player)
EquipCustomItems(player)
if(captainless)
for(var/mob/M in player_list)
+14 -1
View File
@@ -1,3 +1,17 @@
var/global/list/seen_citizenships = list()
var/global/list/seen_systems = list()
var/global/list/seen_factions = list()
var/global/list/seen_religions = list()
//Commenting this out for now until I work the lists it into the event generator/journalist/chaplain.
/proc/UpdateFactionList(mob/living/carbon/human/M)
/*if(M && M.client && M.client.prefs)
seen_citizenships |= M.client.prefs.citizenship
seen_systems |= M.client.prefs.home_system
seen_factions |= M.client.prefs.faction
seen_religions |= M.client.prefs.religion*/
return
var/global/list/citizenship_choices = list(
"Earth",
"Mars",
@@ -17,7 +31,6 @@ var/global/list/home_system_choices = list(
var/global/list/faction_choices = list(
"Sol Central",
"Vey Med",
"Aleph",
"Einstein Engines",
"Free Trade Union",
"NanoTrasen",
@@ -301,6 +301,7 @@
var/mob/living/carbon/human/character = create_character() //creates the human and transfers vars and mind
job_master.EquipRank(character, rank, 1) //equips the human
UpdateFactionList(character)
EquipCustomItems(character)
//Find our spawning point.