mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Reduce more compiles
This commit is contained in:
@@ -75,12 +75,6 @@ datum/controller/game_controller/proc/setup_objects()
|
||||
sleep(-1)
|
||||
spawn_cargo_stock()
|
||||
|
||||
|
||||
// Create the mining ore distribution map.
|
||||
// These values determine the specific area that the map is applied to.
|
||||
// If you do not use the official Baycode asteroid map, you will need to change them.
|
||||
asteroid_ore_map = new /datum/random_map/ore(null,13,32,5,217,223)
|
||||
|
||||
// Set up antagonists.
|
||||
populate_antag_type_list()
|
||||
|
||||
|
||||
@@ -152,8 +152,6 @@ var/const/NO_EMAG_ACT = -50
|
||||
id_card.registered_name = real_name
|
||||
id_card.sex = capitalize(gender)
|
||||
id_card.set_id_photo(src)
|
||||
id_card.citizenship = citizenship
|
||||
id_card.religion = religion
|
||||
|
||||
if(dna)
|
||||
id_card.blood_type = dna.b_type
|
||||
@@ -164,6 +162,8 @@ var/const/NO_EMAG_ACT = -50
|
||||
/mob/living/carbon/human/set_id_info(var/obj/item/weapon/card/id/id_card)
|
||||
..()
|
||||
id_card.age = age
|
||||
id_card.citizenship = citizenship
|
||||
id_card.religion = religion
|
||||
|
||||
/obj/item/weapon/card/id/proc/dat()
|
||||
var/dat = ("<table><tr><td>")
|
||||
|
||||
@@ -62,9 +62,6 @@
|
||||
content_size += Ceiling(I.w_class/2)
|
||||
return content_size
|
||||
|
||||
/obj/structure/closet/alter_health()
|
||||
return get_turf(src)
|
||||
|
||||
/obj/structure/closet/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
|
||||
if(air_group || (height==0 || wall_mounted)) return 1
|
||||
return (!density)
|
||||
|
||||
@@ -747,7 +747,7 @@ proc/admin_notice(var/message, var/rights)
|
||||
world.visibility = !(world.visibility)
|
||||
var/long_message = " toggled hub visibility. The server is now [world.visibility ? "visible" : "invisible"] ([world.visibility])."
|
||||
|
||||
send2adminirc("[key_name(src)]" + long_message)
|
||||
discord_bot.send_to_admins("[key_name(src)]" + long_message)
|
||||
message_admins("[key_name_admin(usr)]" + long_message, 1)
|
||||
log_admin("[key_name(usr)] toggled hub visibility.")
|
||||
feedback_add_details("admin_verb","THUB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc
|
||||
|
||||
@@ -150,7 +150,6 @@ var/list/global/random_stock_uncommon = list(
|
||||
"crimekit" = 1,
|
||||
"carpet" = 2,
|
||||
"gift" = 4,
|
||||
"lightfloor" = 2,
|
||||
"linenbin" = 1,
|
||||
"coatrack" = 1,
|
||||
"riotshield" = 2,
|
||||
@@ -1172,8 +1171,6 @@ var/list/global/random_stock_large = list(
|
||||
new /obj/item/stack/tile/carpet(L, 50)
|
||||
if ("gift")
|
||||
new /obj/item/weapon/a_gift(L)
|
||||
if ("lightfloor")
|
||||
new /obj/item/stack/tile/light(L, 50)
|
||||
if ("linenbin")
|
||||
new /obj/structure/bedsheetbin(get_turf(L))
|
||||
if ("coatrack")
|
||||
@@ -1884,6 +1881,3 @@ var/list/global/random_stock_large = list(
|
||||
exosuit.pr_manage_warnings.process(exosuit)
|
||||
else
|
||||
log_debug("ERROR: Random cargo spawn failed for [stock]")
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -378,7 +378,7 @@
|
||||
src << browse(null, t1)
|
||||
|
||||
if(href_list["item"])
|
||||
if (handle_strip(href_list["item"],usr))
|
||||
handle_strip(href_list["item"],usr)
|
||||
|
||||
if(href_list["criminal"])
|
||||
if(hasHUD(usr,"security"))
|
||||
|
||||
@@ -1105,15 +1105,6 @@ var/list/wierd_mobs_inclusive = list( /mob/living/simple_animal/construct,
|
||||
else
|
||||
return "its"//Something went wrong
|
||||
|
||||
|
||||
/mob/proc/isHoldingShield()
|
||||
var/obj/item/test = l_hand
|
||||
if (istype(test, /obj/item) && test.IsShield())
|
||||
return 1
|
||||
test = r_hand
|
||||
if (istype(test, /obj/item) && test.IsShield())
|
||||
return 1
|
||||
return 0
|
||||
#undef SAFE_PERP
|
||||
|
||||
/mob/proc/get_multitool(var/obj/item/device/multitool/P)
|
||||
|
||||
Reference in New Issue
Block a user