de-capitalises a few paths (#9618)

This commit is contained in:
Tom
2021-11-22 20:02:25 +00:00
committed by GitHub
parent 4ace8d3eb1
commit 6a4537fa4e
14 changed files with 172 additions and 172 deletions
+7 -7
View File
@@ -152,7 +152,7 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
QDEL_LIST(toggleable_inventory)
//SKYRAT EDIT ADDITION BEGIN - ERP_SLOT_SYSTEM
QDEL_LIST(ERP_toggleable_inventory) // Destroy ERP stuff
QDEL_LIST(erp_toggleable_inventory) // Destroy ERP stuff
//SKYRAT EDIT ADDITION END
QDEL_LIST(hotkeybuttons)
throw_icon = null
@@ -211,8 +211,8 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
if(toggleable_inventory.len && screenmob.hud_used && screenmob.hud_used.inventory_shown)
screenmob.client.screen += toggleable_inventory
//SKYRAT EDIT ADDITION BEGIN - ERP_SLOT_SYSTEM
if(ERP_toggleable_inventory.len && screenmob.hud_used && screenmob.hud_used.ERP_inventory_shown && screenmob.client?.prefs?.read_preference(/datum/preference/toggle/erp/sex_toy))
screenmob.client.screen += ERP_toggleable_inventory
if(erp_toggleable_inventory.len && screenmob.hud_used && screenmob.hud_used.ERP_inventory_shown && screenmob.client?.prefs?.read_preference(/datum/preference/toggle/erp/sex_toy))
screenmob.client.screen += erp_toggleable_inventory
//SKYRAT EDIT ADDITION END
if(hotkeybuttons.len && !hotkey_ui_hidden)
screenmob.client.screen += hotkeybuttons
@@ -231,8 +231,8 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
if(toggleable_inventory.len)
screenmob.client.screen -= toggleable_inventory
//SKYRAT EDIT ADDITION BEGIN - ERP_SLOT_SYSTEM
if(ERP_toggleable_inventory.len && screenmob.hud_used && screenmob.hud_used.ERP_inventory_shown && screenmob.client?.prefs?.read_preference(/datum/preference/toggle/erp/sex_toy))
screenmob.client.screen -= ERP_toggleable_inventory
if(erp_toggleable_inventory.len && screenmob.hud_used && screenmob.hud_used.ERP_inventory_shown && screenmob.client?.prefs?.read_preference(/datum/preference/toggle/erp/sex_toy))
screenmob.client.screen -= erp_toggleable_inventory
//SKYRAT EDIT ADDITION END
if(hotkeybuttons.len)
screenmob.client.screen -= hotkeybuttons
@@ -256,7 +256,7 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
screenmob.client.screen -= toggleable_inventory
//SKYRAT EDIT ADDITION BEGIN - ERP_SLOT_SYSTEM
if(toggleable_inventory.len && screenmob.hud_used && screenmob.hud_used.ERP_inventory_shown && screenmob.client?.prefs?.read_preference(/datum/preference/toggle/erp/sex_toy))
screenmob.client.screen -= ERP_toggleable_inventory
screenmob.client.screen -= erp_toggleable_inventory
//SKYRAT EDIT ADDITION END
if(hotkeybuttons.len)
screenmob.client.screen -= hotkeybuttons
@@ -327,7 +327,7 @@ GLOBAL_LIST_INIT(available_erp_ui_styles, list(
if (initial(erp_ui_style) || erp_ui_style == new_erp_ui_style)
return
for(var/atom/item in ERP_toggleable_inventory)
for(var/atom/item in erp_toggleable_inventory)
if (item.icon == erp_ui_style)
item.icon = new_erp_ui_style
+7 -7
View File
@@ -26,7 +26,7 @@
for (var/atom/movable/screen/human/using in targetmob.hud_used.static_inventory)
if(using.screen_loc == ui_erp_inventory)
using.screen_loc = ui_erp_inventory_up // Move up ERP inventory button
for (var/atom/movable/screen/inventory/inv in targetmob.hud_used.ERP_toggleable_inventory)
for (var/atom/movable/screen/inventory/inv in targetmob.hud_used.erp_toggleable_inventory)
// Move up ERP hud slots
if(inv.screen_loc == ui_vagina_down)
inv.screen_loc = ui_vagina
@@ -40,7 +40,7 @@
for (var/atom/movable/screen/human/using in targetmob.hud_used.static_inventory)
if(using.screen_loc == ui_erp_inventory_up)
using.screen_loc = ui_erp_inventory // Move down ERP inventory button
for (var/atom/movable/screen/inventory/inv in targetmob.hud_used.ERP_toggleable_inventory)
for (var/atom/movable/screen/inventory/inv in targetmob.hud_used.erp_toggleable_inventory)
// Move up ERP hud slots
if(inv.screen_loc == ui_vagina)
inv.screen_loc = ui_vagina_down
@@ -234,7 +234,7 @@
static_inventory += using
//SKYRAT EDIT ADDITION BEGIN - ERP_SLOT_SYSTEM
using = new /atom/movable/screen/human/ERP_toggle()
using = new /atom/movable/screen/human/erp_toggle()
using.icon = ui_style
using.screen_loc = ui_erp_inventory
using.hud = src
@@ -313,7 +313,7 @@
inv_box.screen_loc = ui_vagina_down
inv_box.slot_id = ITEM_SLOT_VAGINA
inv_box.hud = src
ERP_toggleable_inventory += inv_box
erp_toggleable_inventory += inv_box
inv_box = new /atom/movable/screen/inventory()
inv_box.name = "anus"
@@ -322,7 +322,7 @@
inv_box.screen_loc = ui_anus_down
inv_box.slot_id = ITEM_SLOT_ANUS
inv_box.hud = src
ERP_toggleable_inventory += inv_box
erp_toggleable_inventory += inv_box
inv_box = new /atom/movable/screen/inventory()
inv_box.name = "nipples"
@@ -331,7 +331,7 @@
inv_box.screen_loc = ui_nipples_down
inv_box.slot_id = ITEM_SLOT_NIPPLES
inv_box.hud = src
ERP_toggleable_inventory += inv_box
erp_toggleable_inventory += inv_box
inv_box = new /atom/movable/screen/inventory()
inv_box.name = "penis"
@@ -340,7 +340,7 @@
inv_box.screen_loc = ui_penis_down
inv_box.slot_id = ITEM_SLOT_PENIS
inv_box.hud = src
ERP_toggleable_inventory += inv_box
erp_toggleable_inventory += inv_box
//SKYRAT EDIT ADDITION END
throw_icon = new /atom/movable/screen/throw_catch()