diff --git a/_maps/map_files/cyberiad/cyberiad.dmm b/_maps/map_files/cyberiad/cyberiad.dmm index b56d79053d4..3b9a3eb0671 100644 --- a/_maps/map_files/cyberiad/cyberiad.dmm +++ b/_maps/map_files/cyberiad/cyberiad.dmm @@ -2469,7 +2469,7 @@ "aVy" = (/turf/simulated/floor,/area/hallway/primary/central/ne) "aVz" = (/obj/machinery/disposal,/obj/structure/disposalpipe/trunk{dir = 4},/turf/simulated/floor{icon_state = "grimy"},/area/crew_quarters/bar) "aVA" = (/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/structure/table/reinforced,/obj/item/stack/packageWrap,/obj/item/weapon/pen/blue{pixel_x = 0; pixel_y = 4},/obj/machinery/firealarm{dir = 2; pixel_y = 24},/obj/structure/disposalpipe/segment{dir = 4},/obj/item/weapon/book/manual/barman_recipes,/turf/simulated/floor{icon_state = "grimy"},/area/crew_quarters/bar) -"aVB" = (/obj/structure/disposalpipe/segment{dir = 4},/mob/living/carbon/human/monkey{tag = "icon-punpun1"; name = "Pun Pun"; icon_state = "punpun1"},/turf/simulated/floor{icon_state = "grimy"},/area/crew_quarters/bar) +"aVB" = (/obj/structure/disposalpipe/segment{dir = 4},/mob/living/carbon/human/monkey/punpun,/turf/simulated/floor{icon_state = "grimy"},/area/crew_quarters/bar) "aVC" = (/obj/structure/disposalpipe/segment{dir = 8; icon_state = "pipe-c"},/turf/simulated/floor{icon_state = "grimy"},/area/crew_quarters/bar) "aVD" = (/turf/simulated/floor{icon_state = "grimy"},/area/crew_quarters/bar) "aVE" = (/obj/structure/window/reinforced{dir = 4},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/structure/table/reinforced,/obj/item/clothing/head/that{pixel_x = 4; pixel_y = 6},/obj/item/weapon/lighter/zippo,/turf/simulated/floor{icon_state = "grimy"},/area/crew_quarters/bar) diff --git a/code/__HELPERS/global_lists.dm b/code/__HELPERS/global_lists.dm index 26380218d1e..f4e9ef1133d 100644 --- a/code/__HELPERS/global_lists.dm +++ b/code/__HELPERS/global_lists.dm @@ -3,7 +3,7 @@ /////Initial Building///// ////////////////////////// -/hook/startup/proc/makeDatumRefLists() +/proc/makeDatumRefLists() var/list/paths //Hair - Initialise all /datum/sprite_accessory/hair into an list indexed by hair-style name diff --git a/code/modules/mob/living/carbon/human/species/monkey.dm b/code/modules/mob/living/carbon/human/species/monkey.dm index 1d07c301086..e28183d6e6d 100644 --- a/code/modules/mob/living/carbon/human/species/monkey.dm +++ b/code/modules/mob/living/carbon/human/species/monkey.dm @@ -7,6 +7,7 @@ damage_overlays = 'icons/mob/human_races/masks/dam_monkey.dmi' damage_mask = 'icons/mob/human_races/masks/dam_mask_monkey.dmi' blood_mask = 'icons/mob/human_races/masks/blood_monkey.dmi' + path = /mob/living/carbon/human/monkey language = null default_language = "Chimpanzee" greater_form = "Human" @@ -37,6 +38,9 @@ if(prob(1)) H.emote(pick("scratch","jump","roll","tail")) +datum/species/monkey/get_random_name(var/gender) + return + /datum/species/monkey/handle_post_spawn(var/mob/living/carbon/human/H) H.real_name = "[lowertext(name)] ([rand(100,999)])" H.name = H.real_name diff --git a/code/world.dm b/code/world.dm index 132b18cf6a0..d216b314751 100644 --- a/code/world.dm +++ b/code/world.dm @@ -1,3 +1,15 @@ +var/global/datum/global_init/init = new () + +/* + Pre-map initialization stuff should go here. +*/ +/datum/global_init/New() + + makeDatumRefLists() + load_configuration() + + del(src) + /world mob = /mob/new_player turf = /turf/space @@ -61,11 +73,7 @@ map_name = "Unknown" #endif - spawn(3000) //so we aren't adding to the round-start lag - if(config.ToRban) - ToRban_autoupdate() - /*if(config.kick_inactive) HANDLED IN PROCESS SCHEDULER - KickInactiveClients()*/ + #undef RECOMMENDED_VERSION @@ -299,7 +307,7 @@ var/world_topic_spam_protect_time = world.timeofday join_motd = file2text("config/motd.txt") -/world/proc/load_configuration() +/proc/load_configuration() config = new /datum/configuration() config.load("config/config.txt") config.load("config/game_options.txt","game_options")